Skip to reading
Save Games & Inventory

23. Save state, change it, then restore it

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 49. Loading the earlier save restores the clock spring that was removed later in the test.

1. Start a fresh game with a clock spring in the inventory and chapter set to 1.

2. Save to a known manual slot with a descriptive name such as Before the repair.

3. Remove the spring, change chapter to 2 and move the character.

4. Load the earlier slot.

5. Check the inventory, chapter value, scene and character position. Do not judge success only by the save row’s thumbnail.

The save payload contains much more than an image: variables, carried inventories and order, character states, scene information, quest state and other supported runtime state. A screenshot is only the menu’s visual reminder.

Arbitrary custom Nodes, a temporary open dialog, or every detail of GUI selection are not automatically a general serialization system. Store important story state in supported variables and runtime systems, then test it after a fresh launch.

Page 69 of 96Permalink
Go to page