Where high scores are kept

High scores stay on this computer, filed under your game's name, and not inside the .nuthouse file.

NutHouse
The Properties panel of a High scores object, with How many names and the text style
A High scores object. Its settings say “kept on this computer”.

Where they live

A High scores object shows a table of names and scores. The table is not stored in your game. It is stored on the computer the game is played on, under the game's name.

In NutHouse on a MacIn the app's own storage. Every time you play, the same table is there.
On a shared web pageIn that browser's storage on that device. Each player has their own table.
In the .nuthouse fileNever. Copy the file to another Mac and the table starts empty.

Why the game's name matters

Scores are filed under the game's name. Two games with the same name share one table. Rename a game and its old scores look as if they have vanished. They are still filed under the old name.

In-game saves from Save the game work the same way. See Saving inside a game.

How to wipe the table

There is no button in the editor. Use a rule with the action Wipe the table, play it once, then remove the rule.

  1. On the Events tab click + New event.
  2. Choose Upon pressing a key and press X.
  3. In the High scores object's cell add Wipe the table.
  4. Play the level, press X, stop, and delete the rule.
WhenUpon pressing X
DoWipe High scores

Adding a score

WhenNumber of lives is 0The score is good enough for High scores
DoAdd the score to High scores as “Player”

Use a Text box and Text("Name box") as the name to let the player type their own. See A high score table.

Still stuck?

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