Score

Shows the player's score. There is one score per player, and it carries on from level to level.

Chocobreak โ€” NutHouse
The Score object settings: Label in front, Size, Colour and Line up
The Score in Chocobreak, with โ€œScore:โ€ as its label.

What the score object is

The score is a number the game keeps for the whole game. A Score object shows that number on the screen. If you never add one, the score still counts up. The player cannot see it.

Score appears in every mode. In a two-player game you can add two and point one at each player.

How to add one

  1. Click + Add object, then New, then Score.
  2. Drag it to the top-left corner.
  3. Type Score: in Label in front if you want a label.
  4. Add a rule that uses Add to score. Nothing happens to the number until a rule changes it.

What the settings mean

Label in frontWords before the number, like Score: or Points.
ShowsPlayer 1 or Player 2. Only in a two-player game.
Size and ColourHow big the writing is, and what colour.
Line upLeft, Centre or Right.

The score object itself has no Starts at. The game always starts at 0. Use Set score at the start of a level if you want something else.

Rules for the score

These live in the โ˜บ Player 1 column, not under the Score object:

Add to score Subtract from score Set score Compare the score

WhenBall collides with Brick
DoDestroy BrickAdd 10 to score

For player 2 use the โ˜ป Player 2 column. In a formula the score is Score, and player 2's is Score2. See Player 1.

Still stuck?

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