Restart and stop

Restart puts the level back to its start, Stop takes you back to the editor, and neither of them can change your game.

Chocobreak โ€” NutHouse
The play bar with the Restart and Stop buttons at the right
Restart and โ–  Stop live at the right of the play bar.

Playing never changes your game

When you press play, NutHouse makes a copy of your game and plays that. Everything that happens while playing happens to the copy. When you stop, the copy is thrown away. Your level, your sprites and your rules are exactly as you left them.

That means you can play without fear. Destroy every brick, lose every life, walk the hero off the edge. Press Esc and it is all back.

Restart

Click Restart on the play bar. The level you are playing starts again from the beginning, with every sprite back in place. If you are playing the whole game, Restart restarts the level you are on, not level 1.

Stop

Click โ–  Stop or press Esc. The Play panel closes and you are back on the tab you came from. Stop is also in the Play menu, and it is the one menu item that works while a game is playing.

Restarting from a rule

Players need a way to try again too. These actions are in the ๐ŸŽฌ Game column.

Restart this levelStarts this level again. Score and lives stay the same.
Restart the gameStarts the whole game again from level 1, with the score and lives reset.
WhenNumber of lives is 0
DoRestart the whole game

How to add a Play Again button

  1. Add a Button object with the words Play again. Untick Visible when the level starts.
  2. Add a rule that shows the button when the player loses.
  3. Add a rule: Button is clicked โ†’ Restart this level.
WhenPlay again is clicked
DoRestart this level

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.