Brian Fermin: Devlog 4
In this week I focus on the night time mechanic where the zombie touching the light slows down and speed up when they're in the dark. My team decided that the best way to tackle this issue is to make the base background of the game black while having a circle that represent the light shrink down slowing as the game progress. This would make it appear that the darkness is approaching when in reality is that the light is just shrinking. The other code I work on is to make the zombies slow down when touching the circle. I was able to do this with the help of Edwin for guiding me to use Collider2D where the gameobject get in contact with the circle allowing me adjust their speed real time.
Leave a comment
Log in with your itch.io account to leave a comment.