Timer and Score


Today I began the coding for my timer and my score functions. For my timer I made it so the player can see the time at the top centre of the screen so they know how much time they have left, I also made it so that when the timer reaches zero, the game over screen is then shown prompting the player to start again. 

For the score I made it so that when the player touches each of the gems on Level 2 it adds to the players score on the top left of the screen. I also made it so that when the player reaches the end of the game they can see what score they got on the "Win Screen". 

Leave a comment

Log in with itch.io to leave a comment.