Skip to reading
The GUI Designer

Other controls: the basics

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 illustrations

These controls use the same General, Text & Content, Visual Style and Images tabs as the simpler elements. Type Settings supplies their basic behavior. This is an introduction, rather than a full widget setup.

Source table from Other controls: the basics, page 39
ElementStart with
Check BoxA readable caption and Checked on/off. Use it for an independent yes/no choice.
Radio ButtonA caption, Checked state and a shared Radio Group for mutually exclusive options.
SliderMinimum, Maximum, Value and Step. A 0-100 range with a step of 5 is easy to test.
ProgressMaximum, Preview Value, fill direction and fill appearance. It displays an amount rather than letting the player drag a value.

Figure 32. The controls example in gameplay. The slider and progress display are deliberately connected to the same example value.

A slider's draggable handle has separate image choices in Images > Slider Handle: Slider Thumb Image and Slider Thumb Hover Image. Visual Style provides thumb size and the fallback color/glow controls.

A slider captioned Volume does not automatically change the game's audio volume. The control, its data and the setting it should change still need a deliberate connection. Detailed bindings, progress events and control-specific behavior are left for later tutorials.

Page 39 of 57Permalink
Go to page