Posted September 22, 2020 by ttluu
This is my third devlog for checkpoint 3 about the enemy and interaction.
Enemy:
In the snake game, there is no enemy that can seeking or hurt the player. However, we have a prey which we will hunt for it. And for my snake game project, I have a rabbit to play a role as the food and it will stay still to be collected.
Interaction:
The rabbit will spawn again in a random position after being collected by the snake and it provides the nutrition for the snake to grow its size which I am trying to work it out and will update this function in the future.