Create a new object controller, no sprite. First thing we'll do is make sure that whenever we start the game, we have 5 lives and reset the score to 0.
When the player runs out of lives, we need to let them put their name in the high score table and restart the game.
If we want to skip levels when testing our room designs, we want to be able to use the "N" key. Start by adding event for letter N
We need to check there is a next room first. If there is, go to the next room. If there are no more rooms, restart the game.
If we get stuck, we can hit the "R" key to restart the room (but with a penalty of 1 life).
Now we will add the Draw event to have our score and lives showing at the bottom of our rooms...
On the last action panel, add the following actions:
Now go to the action panel for Score & Lives...
Your Draw event should look like this...
Go into your testing room and change the height to "512".
Then place the controller object at the left of the new row at the bottom...
Test it out - you should have something like this when playing your game...
Make sure everything works. If it does, you can get it checked off.