Before you begin
Use a game with working collectible contacts.
Build it step by step
Inspect the collection rule and find GAME → Change score. Set the amount to the reward you want, such as 5 per coin.
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.
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.
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.
Restart and confirm that the starting score returns. If adventure carry settings are enabled, test their intended effect across levels separately.
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.
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.
