Skip to reading
The GUI Designer

1. Think in windows and elements

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

GUI means graphical user interface: the parts of your game the player reads, clicks or types into. The HUD, a pause menu, dialogue choices and a clue notebook can each be a separate GUI.

Each GUI has a window or canvas, then elements inside it. The window establishes the available space. A label supplies text; a button supplies a clickable control; a panel can supply a background; an image displays an imported picture.

Source table from 1. Think in windows and elements, page 4
PartExample in this guideIts job
GUI recordAdventure HUD(adventure_hud)The whole gameplay interface.
GUI window1280 by 720, transparentThe HUD canvas and its runtime position.
ElementMenu Button(menu_button)One control inside that GUI.
Another GUIWorkshop Menu(workshop_menu)A separate window that can be shown and hidden.
Element eventMenu button: ClickThe instruction that opens the menu.

Separate interfaces by purpose#

Keep a small gameplay HUD separate from a large menu. You can then hide the menu without hiding the verbs and score. A dialogue interface can have its own fonts and placement without crowding the HUD with every possible control.

A GUI does not need a visible frame. A full-screen transparent canvas is a useful home for a HUD. A smaller canvas with a colored background, title bar and close button suits a movable window.

The editor theme and UI Size settings change the studio you work in. GUI Designer changes the interface inside your game. Use the game preview to judge its final readability.

Page 4 of 57Permalink
Go to page