View Single Post
Resetting a game
Junior Member
Status: Offline
Posts: 3
Join Date: Dec 2013
Post Resetting a game - 01-01-2014, 08:27 PM

In my fighter game, I have made characters that have lives(by creating a whole number property) and when a character's lives reaches zero, the game ends. I know how to add a text object and a mouse click listener, but what I do not know is how to make it start again as soon as you click on the restart button after the game has ended. For example, if I click on the text object, it should be redirected to the start of the game, so 'thisEventRunning'=true, and 'thisGameOver'=false.
Reply With Quote