Skip to reading
The GUI Designer

Use Preview for appearance and Play for events

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 Use Preview for appearance and Play for events, page 24
TestDesigner PreviewGameplay preview
Hover and held-click artworkTry the visual states.Check the same states over the real game.
Buttons' gameplay actionsThey are not executed here.Click to test scripts, variables, show/hide and action lists.
Text entry and simple controlsTry the local control behavior.Check parser submission, shared values and game integration.
Linked tab GUIsThe preview can show an Embedded GUI hint.Check the actual linked page content.
Inventory/save dataMay use editor sample content.Uses the running game's items and saves.
Model viewer inputCan be tried when enabled.Check the intended runtime behavior.

A simple two-stage test#

1. Turn Preview on. Check normal, hover, held and released appearance.

2. Turn Preview off before selecting, dragging or editing controls.

3. Save the project and use Play / Restart, or Test Scene where appropriate.

4. Click the control in the game. Check the actual result as well as the artwork.

The example state button has a score-changing event. Clicking it in Designer Preview did not change the game's starting score; the fresh gameplay test still began at zero. The gameplay Add a point button did update the live score.

A button that looks responsive in Designer Preview can still have a wrong event target. A button that does not open a menu there is not proof of a broken event. Use the appropriate test for each job.

Page 24 of 57Permalink
Go to page