1. Think in windows and elements
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.
| Part | Example in this guide | Its job |
|---|---|---|
| GUI record | Adventure HUD(adventure_hud) | The whole gameplay interface. |
| GUI window | 1280 by 720, transparent | The HUD canvas and its runtime position. |
| Element | Menu Button(menu_button) | One control inside that GUI. |
| Another GUI | Workshop Menu(workshop_menu) | A separate window that can be shown and hidden. |
| Element event | Menu button: Click | The 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.
