I edited the theme of my blog from white/burgundy to purple.
Various devices illustration from Freepik . This week I completed the final set of tutorials to create a simple animal feeding game. I learned how to make animals spawn on their own rather than having to click "S" to do so. This involved creating a custom function and moving the if-statement under "void Update" to this new function. I also learned how to make the animals spawn after a certain timeframe. I learned how to add box colliders to the animals and how to edit the size of these box colliders. Moreover, I was taught how to make the animals and pizza disappear when they came in contact with each other. I added an else-if-statement that triggers a "Game Over" message when an animal surpasses the player without being fed. Following this, I completed a challenge in which I had to correct a game similar to the one in the previous tutorials. The final product should allow the player to spawn dogs to catch falling coloured balls. The dogs were initially a...
Comments
Post a Comment