Next Level

obj: nextLevel

First add a nextLevel object. 

obj: character

Go into your player object and add a Collision with nextLevel.

  • play a sound and pause a bit so it's not too quick and lets the player know they've finished the room
  • check if there is another room
  • if yes, it goes to it
  • otherwise it restarts the game first giving the player a chance to add their name to the highscore table if they did well

Room

Add the nextLevel object on the right side of your room. For now, if you get to it, the highscore table should pop up and you'll restart the room.