Skip to reading
Replace the Built-in Screens

Add a third character without rebuilding the game

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 PDF page
Source table from Add a third character without rebuilding the game, page 23
Add or checkExample for a character with ID ivo
Character recordPlayable and switch-enabled; placed in the appropriate scene.
Personal screensivo_hud, ivo_inventory, ivo_journal, ivo_dialogue.
Starting possessionsItem IDs in that character’s Starting Inventory.
Private notes variableAn array named journal_ivo.
Journal List BoxArray source journal_ivo; use the same journal_choice selection variable.
Journal reader IDivo_journal_body, a multiline Text Box.
Journal helperAdd ivo to the owner list in render(), so its reader becomes read-only too.
Switch controlsAdd a Button or a next-character route that reaches ivo.

Keep the project-wide HUD and ordinary menus available as fallbacks. A character who needs only a different bag can share the same HUD and dialogue screen with everyone else.

Personalization is useful when it communicates character: a mechanic’s tool roll, an investigator’s casebook, a student’s scribbled notebook. Consistent action placement still helps the player move between them.

Avoid changing the meaning of the same Button position from character to character without a clear visual cue. Different artwork need not mean relearning the controls.

Page 23 of 88Permalink
Go to page