Let's Learn Unity

Опубликовано: 19 Март 2026
на канале: NC Learn wit Me
7
0

Hello guys, so today we covered: 295, 296, and started 297.

(Lecture 295) Fantastic Mr. Fox:
This part is basically us creating a new attacker, but with a unique ability that makes them pass through the Gravestones. I covered this yesterday and finished my implementation, but for today I watched Rick's implementation. I did mine using the tag while he gave the Gravestone obj a gravestone script component which he checks for when we want to set the jump animation. He mentioned that it wasn't good practice to do it his way if we weren't going to write any code in the script.

(Lecture 296) Array for Spawning Attackers:
This part makes us implement a way to randomly spawn different attackers in the same line. This is done by creating an array of attackers, and then generating a random number which will be used as our index value when accessing our array.

(Lecture 297) How to be a Loser:
I just started this part, but basically we were challenged to implement a losing system to our game. So far I've just made the collider that detects enemies touching our base and the Health points text.