You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ And in the `Assets/` folder, you'll find the code and assets for the following t
19
19
20
20
## 01. Using behaviour trees for a RTS collector AI [<div />](#tutorial-01_bts-rts)
21
21
22
-
Discover how to use the behaviour tree AI design pattern to give some life to RTS collector units! These little trucks will chop down trees or mine ores to gather wood and minerals, auto-finding the closest targets and regularly delivering their resources to a nearby depot, until the entire map is empty...
22
+
Discover how to use the behaviour tree AI design pattern to give some life to RTS collector units! These little trucks will chop down
23
+
trees or mine ores to gather wood and minerals, auto-finding the closest targets and regularly delivering their resources to a nearby
24
+
depot, until the entire map is empty...
23
25
24
26
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=ySIzNaW0HUI), [in French 🇫🇷](https://www.youtube.com/watch?v=utbQapz6DoU)
25
27
- Read on [Medium](https://mina-pecheux.medium.com/using-behaviour-trees-for-a-rts-collector-ai-in-unity-c-dca24243ebce)
@@ -29,7 +31,7 @@ Discover how to use the behaviour tree AI design pattern to give some life to RT
29
31
30
32
## 02. Creating a day-and-night cycle system [<div />](#tutorial-02_day-and-night)
31
33
32
-
Discover how to use the behaviour tree AI design pattern to give some life to RTS collector units! These little trucks will chop down trees or mine ores to gather wood and minerals, auto-finding the closest targets and regularly delivering their resources to a nearby depot, until the entire map is empty...
34
+
Learn how to setup a basic day-and-night cycle in a 2D scene, by changing the global light and toggling some smaller spots.
33
35
34
36
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=O997NxQGQ6A), [in French 🇫🇷](https://www.youtube.com/watch?v=CHV9xLaFf8w)
35
37
- Read on [Medium](https://mina-pecheux.medium.com/creating-a-basic-day-and-night-cycle-in-unity-c-dff942c1690d)
@@ -39,9 +41,10 @@ Discover how to use the behaviour tree AI design pattern to give some life to RT
39
41
40
42
## 03. How to use Unity's new input system [<div />](#tutorial-03_new-input-system)
41
43
42
-
Want to learn more about Unity's new `InputSystem` package, and you can use it to create basic cross-platform player controller that supports both gamepads and keyboard+mouse layouts? Then check out this quick tutorial :)
44
+
Want to learn more about Unity's new InputSystem package, and how you can use it to create basic cross-platform player controller that supports
45
+
both gamepads and keyboard+mouse layouts? Then check out this quick tutorial :)
43
46
44
-
- Watch on YouTube: [in English 🇬🇧](https://youtu.be/SyA4PPiXorI)
47
+
- Watch on YouTube: [in English 🇬🇧](https://youtu.be/SyA4PPiXorI), [in French 🇫🇷](https://www.youtube.com/watch?v=m5ePVtQq-zo)
45
48
- Read on [Medium](https://medium.com/codex/why-you-should-use-unitys-new-input-system-268773863c4)
46
49
- See the files [in the repo](/Assets/03-NewInputSystem/)
47
50
@@ -51,9 +54,9 @@ Want to learn more about Unity's new `InputSystem` package, and you can use it t
51
54
52
55
## 04. How to use Unity's Scriptable Objects
53
56
54
-
Want to learn more about Unity's Scriptable Objects, and you can use it to store custom data types in an efficient way? Then check out this tutorial :)
57
+
Want to learn more about Unity's Scriptable Objects, and how you can use it to store custom data types in an efficient way? Then check out this tutorial :)
55
58
56
-
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=ZnHxxADBAQ0), [in French 🇫🇷](https://www.youtube.com/watch?v=m5ePVtQq-zo)
59
+
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=ZnHxxADBAQ0), [in French 🇫🇷](https://www.youtube.com/watch?v=q81A6cjdGcY)
57
60
- Read on [Medium](https://mina-pecheux.medium.com/discovering-the-power-of-unitys-scriptable-objects-53ae6e0acef4)
58
61
- See the files [in the repo](/Assets/04-ScriptableObjects/)
59
62
@@ -83,6 +86,7 @@ Wanna discover how to embed events in your Unity animation clips to precisely ti
83
86
If you want to learn how to make your own RTS-like "free placement" building system, then check out this video tutorial!
84
87
85
88
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=OaQQ67N9hWc), [in French 🇫🇷](https://www.youtube.com/watch?v=I6TRatXjRYI)
89
+
- Read on [Medium](https://medium.com/codex/implementing-a-basic-building-placement-system-in-unity-c-6b969d52f533)
86
90
- See the files [in the repo](/Assets/07-BuildingPlacement/)
@@ -91,7 +95,7 @@ If you want to learn how to make your own RTS-like "free placement" building sys
91
95
92
96
Wanna extend on our previous "free placement" building system and learn how to turn it into a snapping grid version? Check out this quick tutorial!
93
97
94
-
- Watch on YouTube: [in English 🇬🇧](https://youtu.be/jEYzUAhYXHI)
98
+
- Watch on YouTube: [in English 🇬🇧](https://youtu.be/jEYzUAhYXHI), [in French 🇫🇷](https://www.youtube.com/watch?v=qhwnJh0zDN8)
95
99
- Read on [Medium](https://mina-pecheux.medium.com/creating-a-building-grid-based-placement-system-in-unity-c-aca4b70f9273)
96
100
- See the files [in the repo](/Assets/08-BuildingGridPlacement/)
97
101
@@ -101,6 +105,8 @@ Wanna extend on our previous "free placement" building system and learn how to t
101
105
102
106
### Procedural Grid (URP)
103
107
108
+
Learn how to create a simple procedural grid with adaptive cell size, world-relative coordinates, and customisable colours/transparency.
109
+
104
110
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=T0CYpOyCVIU), [in French 🇫🇷](https://www.youtube.com/watch?v=0iq6ZO7owNM)
105
111
- Read on [Medium](https://mina-pecheux.medium.com/creating-a-procedural-grid-shader-in-unity-6d0b727bf52d)
106
112
- See the files [in the repo](/Assets/00-Shaders/ProceduralGrid/)
@@ -109,6 +115,8 @@ Wanna extend on our previous "free placement" building system and learn how to t
109
115
110
116
### Cross-platform Wireframe (URP)
111
117
118
+
Discover the specificities of wireframe shaders, why making them cross-platform is hard, and how to dodge this issue thanks to pre-computed barycentric coordinates.
119
+
112
120
- Watch on YouTube: [in English 🇬🇧](https://www.youtube.com/watch?v=xEmyl5_wYqk), [in French 🇫🇷](https://www.youtube.com/watch?v=y_E_WynwrAw)
113
121
- Read on [Medium](https://mina-pecheux.medium.com/creating-a-cross-platform-wireframe-shader-in-unity-64045828d4e2)
114
122
- See the files [in the repo](/Assets/00-Shaders/CrossPlatformWireframe/)
0 commit comments