This week I went online to find tutorials on how to do the following things to add to my game: a timer, collectables and a health regeneration system. the first thing i decided to add to the game was the collectables. so i went a head and found a tutorial on how to do this. the tutorial i found was from unity them self's.
after being able to get the collectables to work within my game i went a head and added a timer function onto the game to be able to track on how long you have been playing and try and compete between your friends on a better time.
the following video allowed and explained on how to implement a timer into the game.
after watching this i went a head and had a go at doing it within my game.
after being able to get the timer and collectables to work i thought i would try and find a tutorial on how to do health regeneration and i found the following video.
so while i was watching this video i gave it a go and i couldn't figure it out on how to do so so i went a head and looked around more but couldn't get the heart object to add health but the Debug.Log was running and stating adding health when run over the heart and it disappears for so long which really annoyed me because i couldn't figure it out so i messaged my mate again and he managed to see where i went wrong and helped me fix it so the heart adds health.
No comments:
Post a Comment