Skip to lesson
LESSON 25 / 44 · Beginner

Scoring and score-based goals

Award points and use score as a condition for success.

Open editor in a new tab ↗

Before you begin

Use a game with working collectible contacts.

Build it step by step

  1. Inspect the collection rule and find GAME → Change score. Set the amount to the reward you want, such as 5 per coin.

  2. Run a short test and note the starting score and the result after one collection. Do not add a second reward for the same contact.

  3. Create a rule with a Score condition and a threshold such as at least 15. Add GAME → Win the game for a simple score challenge.

  4. For a finish-flag challenge, put the score test inside a nested IF / ELSE action under a player-touches-flag rule. Win only when the score requirement is met.

  5. Restart and confirm that the starting score returns. If adventure carry settings are enabled, test their intended effect across levels separately.

TRY THIS IDEA

Practical example

Three five-point coins meet a 15-point goal. Reaching a flag early can show a message instead of winning.

Test your work

The displayed score matches collected rewards and the goal activates at the intended threshold.

If it does not work

A WHILE reward can add points every simulation tick. Prefer contact entry plus removal for collectibles.

MAKE IT YOUR OWN

Student challenge

Add a bonus enemy worth more than one coin and rebalance the winning score.

Show the result to a partner. Explain what you changed and how you tested it.

Keep exploring