Skip to reading
Visual Scripting in Depth

64. Save and load the puzzle

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

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.

Page 68 of 93Permalink
Go to page