Unity Tutorial 04

Reading Week Unity Tutorials 

 

Hey there,

In this blog I will be talking about what I did over the course of the reading week. Firstly, I looked at the Unity tutorial 2.4. In this lesson we made it so that the animal in the game spawn randomly in different locations this making it, so the player has a challenge whilst playing the game. I also learned how to add collider so when the food hits the animal’s collider, they both disappear. I also learned how to make it so if an animal were to pass the player and make it to the end of the screen it would pop up as game over. There was not anything that I found too difficult whist completing this tutorial, the only thing I found a little bit annoying to do was trying to get the box collider to fit around the animal or food, it was quite hard to get it exactly the way I wanted it, but in the end I got the hang of things.

 


For the challenge video I found this to be quite tricky at the start. Trying to get the ball to spawn randomly was just not working for me and I had to even look through the code to see if there was anything wrong, in the end I had to delete the files and re-download them to get it all to work. It was just a pain. But the challenge was fun, it was a good recap of what we learned in the tutorials and putting this into action but overall, the challenge was easy enough.

Comments