Skip to reading
Global & Project Settings

Separate project defaults from player choices

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
GLOBAL AND PROJECT SETTINGS                                                                     0.86.4.1  /  HOTFIX 1

EDITION UPDATE

The options in Chapter 22 establish a starting point. A custom Options GUI can now stage the player’s changes and commit them through the preference system.

Apply, Cancel and Defaults are button roles. Set them on the controls in the same GUI as the preference drafts.

01. Keep project-wide setup in Settings

Choose the game’s defaults and assign the Options GUI through the existing system interface assignment. Set GUI layout and navigation on each individual screen through the GUI Designer’s Layout toolbar button.

02. Edit a draft

Bind a slider’s Value to option.draft musicVolume (range 0–1) or a checkbox’s Checked to option.draft subtitles. Use two_way with no conversion. A label bound to option.current shows the last applied value.

03. Return to the project defaults

Set the Preferences button role on three buttons to defaults, cancel and apply respectively. Press Defaults, then Cancel, and reopen. The player’s previous choice should return. Press Defaults and Apply to commit the project defaults.

MENUS AND GAMEPLAY SAVES

In a standalone game, applying preferences uses the player-options service. Continue using adventure checkpoints for room, inventory and puzzle state.

PCA 3D ADVENTURE STUDIO                                                                Global and project settings   /   69
Page 69 of 70Permalink
Go to page