SAMPLE PROJECT WALKTHROUGH
The Jammed Observatory
Download the editable project, then choose Open Existing in the App. Save your current work before opening another project.
Download editable projectPlay Example (new tab)All Sample Projects
First Game Tutorial
Quick start: play and inspect The Jammed Observatory
Visit Sample Projects on the TAGMaker website, find The Jammed Observatory and download its editable .tagm project. Save any current work, then use Open Existing on Welcome or Open Project in the App to open the downloaded file. The sample is an ordinary editable TAGMaker project. Its Puzzle Board connects the design to the same real objects, recipe, state, ending and Test Lab route you can inspect in their editors. New projects and App Libraries do not preload this sample or other premades.
| Where to look | What the starter uses |
|---|---|
| Plan → Game Brief | Optional brief notes for the player, goal and success. Editing these does not create logic. |
| Plan → Puzzle board | Follow the maintenance clue, key gate, retained crank, repair, restoration fact, rescue ending and checked route. Planning links describe intent; native bindings inspect the actual implementation and offer its native editor. |
| World → Rooms / Map | Observatory Atrium starts the game; Keeper's Workshop is north; Glass Observatory is east behind a door. |
| World → Objects | Brass key, brass crank, maintenance note, observatory door and signal mechanism. The door uses native locked-container contents and its real open state gates the east exit. |
| Gameplay → Story & rules | A repair recipe retains the crank, sets signal_restored and awards 100 points once. An ending requires restoration and a return to the atrium. Progressive hints and Smart Prose respond to that state. |
| Test → Test Lab | Select Restore the signal and reach rescue (100 points), then Replay selected route. Its ten commands include real expected results. The sample supplies the definition without a manufactured PASS receipt; run it and inspect the current saved evidence. Record additional failures and repeated actions. |
| Publish | Choose Check current project, fix named blockers, then Export Playable / Project Copy. On the default Export & Publish tab, use Web Player → Download playable HTML or Source Project (.tagm) → Download editable project. Save Project also writes the editable master. |
A complete route is:
north
read maintenance note
take brass key
take brass crank
south
unlock observatory door with brass key
open observatory door
east
use brass crank with signal mechanism
west
The ending is Signal sent, with 100 points and the crank still carried. Merely entering the observatory does not win. Before the last west command, repeat the repair and confirm the score stays 100. On a fresh run, try the door without its key, drop the key before unlocking, try the key on the mechanism, and drop the crank before repairing. Failed attempts should not repair the signal or award points. HINT gives up to three progressively stronger hints in each room.
Save Project preserves the starter as your editable master. Open Project reopens that .tagm; choose Web Player in Export Playable for the HTML to share with players. Use Project recovery for local checkpoints as described in Getting Started; it does not replace downloaded backups.
Inspect the connected puzzle before changing it
Open Plan → Puzzle board. The goal card describes bringing the rescue boat to the landing. Follow the locked-door obstacle to the brass key, and the maintenance clue to the key and crank. Inspect the repair card's native recipe: it targets signal_mechanism, requires the observatory and retains brass_crank. The fact card opens signal_restored; the consequence opens the signal_sent ending, which also requires returning to the atrium. The clue is information, not a required “note read” flag.
Select the board's test card, choose Open test route, then Open native editor in the inspection dialog. In Test Lab, choose Replay selected route. The recipe step expects restoration and 100 points while the game is still running; the final west step expects the atrium and Signal sent. Reading this diagram, reviewing a native definition or opening a saved route does not execute the game. The saved actual run appears separately in Route test history; source or expectation changes make it stale until replayed. See Project Puzzle Board for the full exercise and limitations.
Try one safe change
Create a dated checkpoint from Project recovery in the bottom Project status bar. In World → Rooms, select the atrium and open Edit Smart Prose beside its description. Change an ordinary sentence, choose Apply Smart Prose, then choose the room's Save. Choose Test → Test Lab → Start fresh test and type look to confirm the change. Save Project, export a new Web Player and check the same sentence there. To return to the checkpoint, use Review restore and Back up current & restore; restored work is unsaved. This teaches the difference between applying fields, writing the master file, local recovery and making a player build.
See why taken objects disappear from LOOK
In World → Rooms, select Keeper's Workshop and open Edit Smart Prose beside Room Description. With both portable objects present, the description reads:
Warm oil and cedar scent the tiny workshop. A maintenance note lies on the workbench. A brass key is here. A brass crank is here. The atrium is south.
The atmosphere, maintenance note and south exit are ordinary text. The key and crank each have their own conditional passage. Choose a linked passage in the preview to inspect these fields:
| Matching passage | Show when | Linked object | Exact room or cell | Otherwise |
|---|---|---|---|---|
A brass key is here. | Object is visible in this exact room/cell | brass key | Keeper's Workshop | Leave empty |
A brass crank is here. | Object is visible in this exact room/cell | brass crank | Keeper's Workshop | Leave empty |
Keep one leading space in each matching passage. Taking either object removes only its sentence; taking both leaves the note and room directions. Dropping an object back in the Workshop brings its sentence back. Dropping it in the Atrium does not make it reappear in the Workshop. The wording says here because the condition checks a room location, not placement on a workbench. The maintenance note stays on the workbench and cannot be taken; use read note for its clue.
To create the same link in your own room, select the complete object sentence in an Ordinary text field, choose the object under Object to link, then choose Make selection conditional. Review the fields above and create a separate passage for each portable object.
The Observatory Atrium description follows the existing door state. Its two passages use Show when → Puzzle flag equals a value, Value type → True / false and Required value → true:
| Puzzle flag name | Matching passage | Otherwise |
|---|---|---|
observatory_door_open | The observatory door stands open to the east. | The closed observatory door blocks the east passage. |
observatory_door_locked | It is locked. | Leave empty |
Keep the leading space before It is locked. Unlocking, opening, closing and relocking the door update its existing flags and these sentences. The Observatory and signal mechanism use signal_restored for the before/after repair text.
Use Preview states — simulation only to inspect a branch, then choose Apply Smart Prose, the room's Save, and Save Project to write your editable file. A preview does not move objects. Start a fresh test and try north, take key, look, take crank, look, drop key, look. Also carry an object to the Atrium, drop it there and return north: its Workshop sentence should stay absent. Check the latest LOOK output; earlier transcript paragraphs record what the player saw at the time.
To learn the repair rather than only play it, open Gameplay → Story & rules → Advanced creator features → Object interactions & crafting and inspect the starter recipe. Its brass crank is retained, not consumed; successful repair sets signal_restored and awards the score once. Inspect Quest stages & endings for the return-to-atrium condition and Progressive hints for the three-level help. Change only one part, then replay the success and repeated-use checks before making the next change.
Build a different game from a blank project
The remaining tutorial is the original hands-on build and remains available alongside the starter. Find its room/object/NPC editors under World, scripts and logic under Gameplay, and Test Lab under Test. Its shed_key_found flag remembers taking the key; it is not a native lock that requires the key to remain carried. Inspect the Jammed Observatory door when you need that distinction.
This tutorial builds a small connected practice game: three rooms, one object, one NPC, a locked exit that opens once you find a key, a room event, an object event, and a script you create yourself in the Scripts panel. By the end you'll Play Test it and export a working Web Player file.
The goal in this second exercise is to reach the Shed and see its arrival text. It does not add a separate native Ending entry; the Jammed Observatory example above demonstrates a complete ending. Work through each Play Test checkpoint before continuing.
What we're building
| Place | Route and purpose |
|---|---|
| Cabin | Starting room; east leads to Clearing. |
| Clearing | West returns to Cabin; east leads to Shed after the key flag is set. Contains the key and Old Hermit. |
| Shed | The arrival goal; connect west back to Clearing if you want a return route. |
- Cabin — the start room.
- Clearing — has a Brass Key you can take, and an Old Hermit NPC you can talk to.
- Shed — locked until you take the key; has a script that fires when you arrive.
Step 1 — Create the project
From the startup screen, New Game → name it anything (e.g. "Tutorial Game"). You land in the editor with an empty project.
Step 2 — Build the three rooms
Open Room Setup (or use World Builder — either creates the same data).
Room 1 — Cabin
- Display Name:
Cabin - Description:
A one-room cabin with a single door facing east. - Mark Cabin as the start room: World → Rooms → 1. Room Information → ▶ Start Room. The alternative is World → Map, select Cabin and choose Set as Start Room.
- Both controls keep the starting-room setting and the ordinary startup move together. Play Test and new exports also honor the selected room in older projects with a stale single startup move. Advanced startup scripts with conditional, dynamic or multiple moves keep their authored behavior. After changing the start room, export again and replace any previously published HTML.
Room 2 — Clearing
- Display Name:
Clearing - Description:
A sunlit clearing in the woods. A worn path leads east. - Exit:
west→ Cabin - Back in Cabin, add Exit:
east→ Clearing (exits are one-directional in TAML; set up both sides so the player can go back and forth).
Room 3 — Shed
- Display Name:
Shed - Description:
A small wooden shed, dim and dusty inside.
Choose Save to apply Room Setup changes, then Save Project to write the file. Now go back to Clearing and add Exit: east → Shed. Leave it enabled for now — we'll make it conditional in Step 4.
Play Test checkpoint: run Play Test now and walk Cabin → Clearing → Shed → back. Confirm all three rooms and both directions work before adding anything else.
Step 3 — Add the Brass Key
Open Object Setup → New Object.
- Display Name:
Brass Key - Object ID: use
brass_keyfor this exercise. Check the actual Script ID shown by your editor; if you use another ID, use it consistently in any references. - Starting Location:
Clearing - Flags: check Takeable
This is the object event part of the tutorial — add an event:
- On Take:
set shed_key_found = true print "You feel braver with the key in hand." - On Examine:
print "A small tarnished brass key."
Only type the body shown above into the event field. The editor adds the
on take:/endwrapper around it automatically — see the TAML Reference for why this matters.
shed_key_found is a flag — a variable you're inventing right now, simply by setting it. You don't need to declare it anywhere first.
Step 4 — Make the Shed exit conditional (the locked interaction)
Go back to Clearing's exit list and find the east → Shed exit. Set its When condition to shed_key_found. Now that exit only works once shed_key_found is true — which only happens after the player takes the key in Step 3.
This is the same mechanism TAGMaker's Locked Door mechanic uses under the hood, just built by hand. The underlying TAML looks like:
exit east: shed when: shed_key_found
Play Test checkpoint: before taking the key, try going east from Clearing — it should be blocked (no such exit appears, or it's simply not listed). Take the key, then try again — it should now work.
Step 5 — Add the Old Hermit NPC
Open NPC Setup → New NPC.
- Display Name:
Old Hermit - Starting Location:
Clearing - Description:
An old man in patched robes, watching you with quiet amusement.
Add an event:
- On Talk:
print "The hermit smiles. 'East of here lies a shed,' he says. 'You'll need a key.'"
Play Test checkpoint: in Clearing, type
talk hermitand confirm the line prints.
Step 6 — Create a script and assign it as a room event
This is the room event plus simple script part of the tutorial, done together — which is how it normally works in TAGMaker.
Open the Scripts panel. Create a new script (not a global script — a regular one you'll attach to a room):
- Name:
shed_arrival - Body:
print "Dust motes drift in a shaft of light from a crack in the roof." print "You've made it."
Now go to the Shed room's events, and under After Entering, select the shed_arrival script from the dropdown. TAGMaker inlines its body into the Shed's room file as an on after_enter: block automatically — you don't write that wrapper yourself.
Play Test checkpoint: take the key, go to Clearing, go east into the Shed, and confirm both lines print right after the room's own description.
Step 7 — Full Play Test
Run Play Test from the start and play the whole thing:
look
go east
talk hermit
examine key
take key
go east
The first east command moves Cabin → Clearing; the last moves Clearing → Shed. Type only the commands, not these route annotations.
You should see the room descriptions, the hermit's line, the key's examine and take text, and finally the Shed's arrival script.
Step 8 — Run Diagnostics
Open Gameplay → Scripts · advanced and use the Diagnostics tools before exporting. For a project this small it should be completely clean — no broken references, no missing start room. If anything shows up, see Diagnostics & Troubleshooting.
Step 9 — Export the Web Player
Choose Publish → Readiness & export → Check current project and review its results. Use Export Playable → Export & Publish → Web Player → Download playable HTML. Open the exported file in a compatible browser and play through the exact same command sequence from Step 7. It should behave identically to Play Test — see Export & Web Player if anything differs.
What you just learned
- Rooms, exits, and the
when:condition for locking an exit behind a flag. - Object events (
on take:,on examine:) and that you only type the event body, not the wrapper. - Flags — you invent them by setting them; no declaration needed.
- NPC events (
on talk:). - The Scripts panel, and assigning a script to a room event via dropdown rather than hand-writing the room's TAML.
- The Play Test → Diagnostics → Export workflow.
From here, the Creator Manual covers every editor panel in depth, and the TAML Reference documents every scripting command available to you.
Download editable projectPlay Example (new tab)All Sample Projects