Skip to reading
Visual Scripting in Depth

14. Save authoring work and reset test state

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 PDF page

There are two kinds of state to keep straight: the project you are editing, and the running game. Saving the project preserves the graph and its defaults. A game save preserves supported runtime state such as inventory and variables.

Source table from 14. Save authoring work and reset test state, page 18
ActionExpected result
Save ProjectPreserves the authored graph, assignments and default values.
Run a graph again in the same previewCan see values already changed by its earlier run.
Restart the previewStarts a fresh run from the authored starting configuration.
Load a game saveRestores the supported runtime state stored in that save.
Change a variable’s default in the editorChanges the next fresh run; it is not a command to rewrite every existing save.

1. Save after changing a record or graph.

2. Restart before a clean first-time test.

3. Run the interaction twice to test repeat behavior.

4. Leave and re-enter the room to test persistence.

5. Make a game save, change the puzzle, then load the save and check the result.

A puzzle that works once can still give duplicate items or points on the second click. Repeated-use tests are part of building the puzzle, not an optional finishing touch.

Page 18 of 93Permalink
Go to page