Score-Based Win Ending
Collect three gems for one-time points. Reaching the target score does not end the game until the player uses the exit door.
Try the sample
Play the sample game · Download the editable game
This recipe includes its own ending. Follow the walkthrough to reach it. Restart the sample to try again.
Set it up in your game
In TAGMaker, open Guide → Creator Cookbook → Score-Based Win Ending, then choose Start this recipe. This opens the guided setup in Rooms.
- Under Choose the rooms and items, choose Create a new item or select an existing item by name. Give new items clear names and descriptions.
- If a direction already has a connection, explicitly choose Use existing connection. Its destination must match this recipe. Existing locks, access requirements and linked pairs are checked before saving.
- Read Messages and choices and change the text to fit your game.
- Review what will be added, reused, changed and kept. Resolve any message beside the choices.
- Choose Save recipe, then Save Project at the top to save your editable project file. Use Play Test to try the result.
- Gem Gallery: Collect the three gems, then use the exit door. Dropping and taking gems cannot repeat their points.
- exit door: Use this door when your score reaches the target.
- ruby gem: A gem with a one-time collection reward.
- emerald gem: A gem with a one-time collection reward.
- sapphire gem: A gem with a one-time collection reward.
The total points are divided between the sample treasures. Each treasure rewards its first collection only.
Choices you can change
- Total points required: Starts at 300.
- Victory message: Write the message your player will see.
- Not enough points: Write the message your player will see.
Walkthrough
These commands use the sample’s original names. Use your own names if you rename its items. Start a fresh game for each separate walkthrough.
Score rewards cannot repeat and the final action is still required
- USE EXIT DOOR — Look for “remaining gems”.
- TAKE RUBY GEM
- DROP RUBY GEM
- TAKE RUBY GEM
- USE EXIT DOOR
- TAKE EMERALD GEM
- TAKE SAPPHIRE GEM
- USE EXIT DOOR
The final action ends the sample. Restart it to explore a different attempt.
Saving, returning and correcting a choice
Save recipe puts the complete setup into the current game. Save Project saves the project file. Reopen this guide and choose Start this recipe → Edit saved recipe to change the saved messages without creating duplicates. A saved setup keeps its original items and connections; create another recipe for a different setup.
Keep for later stores unfinished choices. Leaving for the guide also keeps the draft. Discard draft removes only those unfinished changes. Creator Undo reverses the entire recipe save in one step.
Existing rooms keep their other connections. Items with custom events, changing text, other contents or existing behavior may need review in their own editor. When a choice is incompatible, the builder explains the conflict and leaves the game unchanged. If you edit a recipe-owned item directly in another tool, continue editing it there; the recipe will protect those changes.
Check your version
Try the task before its requirements are met, complete it, and repeat the important action. Use the player’s Save and Load controls to check that progress is remembered. Save your editable project, reopen it and inspect the saved recipe before continuing.