Skip to reading
Action Lists & Events

18. Preview appearance; test behavior

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

GUI Designer Preview is for trying an element's appearance and built-in preview interaction. It intentionally does not run gameplay events. Hover/pressed images, slider movement and model-viewer manipulation can be previewed there without giving items, loading saves or changing rooms.

Source table from 18. Preview appearance; test behavior, page 22
CheckDesigner PreviewTest Scene / Play
Hover/pressed visual treatmentYes, when configured on the element.Yes, under runtime input.
A list that gives an itemNo.Yes.
A button calling a scriptNo gameplay execution.Yes.
A dialogue or room transitionNo.Yes.
Bound text/variablesMay show placeholder/design content.Uses the live game state.

Figure 16. The running event has set Power to true and displayed its confirmation.

For a clean test, put the GUI on screen, click once, and check the state and the response. Pressed imagery should release back to the appropriate normal/hover state. That appearance is separate from whether a click action has run.

If a designer click merely selects the element, that does not prove its event is broken. Selection is the editor's normal job outside preview mode.

Page 22 of 189Permalink
Go to page