Unity Tutorial 03
This week we furthered our progress with creating a game on unity. I enjoyed this tutorial for once as I found it made my game look a lot more advanced with just a few steps. We added a health bar to our character and managed to get it to decrease when in contact with a damaging object or an enemy. The first part I found a little hard as I do still struggle with wrapping my head around coding. I managed to code the five lives and for it to decrease when losing lives. I found this interesting as I remember playing games like this when I was younger. I found the second part a little easier, I struggled with the coding again but I was so interested by the process that I didn't give up. We created a danger zone for our character and learned how to create a moving enemy to decrease the health bar when it came in contact with our character. I am starting to get excited to see where these skills will stand to me in the future! My HealthCollectible Script