Give the game one thing to remember
04 / THE CLOCK
Should the clock strike every time Pip uses the key? We want it to strike once in each playthrough. After that, the player can listen for the knocks again. One yes-or-no value is enough to remember the difference.
1. Add the value. Under Adventure Database, choose Add › Variable and open the new record. A variable is a named place where the game keeps a value that can change while you play.
2. Start with the clock unwound. Enter the settings below. A Boolean is the editor’s word for true or false. With both boxes clear, this one starts as false.
| Field | What to enter |
|---|---|
| Variable ID | game_completed |
| Name | Game completed |
| Value Type | Boolean |
| Leave Blank At Start | Unchecked |
| Initial Boolean Value | Unchecked (false) |
[1] Give the flag this exact ID. [2] Select Boolean. [3] Keep both boxes clear.
3. Apply and save. Click Apply Changes, then Save Project. When Pip winds the clock, the next page’s script changes the value to true. Saving during play stores that value in the player’s save slot.
The game can now have two histories. A save made before the chime remembers an unwound clock. A save made afterward remembers a wound one. You’ll try both on page 8.
