64. Save and load the puzzle
Figure 40. Save Game Slot chooses a numeric slot and optional display name.
1. Reach a clear test state: key collected, door_open true and score 15.
2. Call Save Game Slot with a known test slot and name.
3. Change the puzzle state or begin a different test.
4. Call Load Game Slot for the saved slot.
5. Confirm the variables, inventory and supported room/object state match the saved point.
6. Test the same workflow through the actual save/load GUI used by the game.
A completed graph call can store its resulting game state. A save is not a promise that an arbitrary suspended visual call will resume halfway through its wire path with a live timer and local loop counter.
Use stable state flags so room-entry presentation can reconstruct a solved or unsolved puzzle when appropriate. Avoid saving while a delicate interaction has half-finished unless you have designed and tested that situation.
Save Project preserves authoring work. Save Game Slot preserves a running game’s supported state. They are separate controls and should be tested separately.
