What “The End” means
A game ends after the last level's “Next level”, or when a rule says “End the game”, and you decide where that is.
When a game ends
There are two ways for a game to end.
| After the last level | The action Next level goes to the next level. After the last level there is no next one, so the game ends. |
|---|---|
| A rule says so | The action End the game ends the game straight away, from any level. It is in the 🎬 Game column in Advanced mode. |
In the Play panel, “The End” appears over the game with a Play again button. On the shared web page players see “The End — tap to play again”.
Winning
Most games end by winning. Put Next level on the rule that means “you did it”. In a one-level game, that ends the game at once.
Losing
Losing usually does not end the game. It restarts it, so the player can try again.
If you would rather show a Game Over screen, make a last level with the words on it and jump to it instead.
How to add a “You win” screen
- On the Game tab click + Add level. Name it You win.
- Add a Text object saying You win! and a High scores object if you like.
- Add a rule in that level: Upon pressing any key → Restart the game.
- Drag the level to the bottom of the list so it is last.
Now the last real level's Next level shows the win screen, and the win screen restarts the game. Nobody ever sees “The End” unless you want them to.