Skip to reading
GUI Styling, Shaders & Effects

9. Finish the special controls

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

Figure 20. The progress fill has its own color, opacity, gradient and padding controls.

A progress element has a background frame and a separate filled portion. Fill Color, Gradient End Color and Fill Opacity belong to the moving fill. Inner Fill Padding protects the edge. Change the source value separately; styling does not make the bar count time or puzzle steps.

A Slider has a track and a draggable handle. In Images, choose Slider Thumb Image and Slider Thumb Hover Image. Keep the handle large enough to see and grab without covering its neighboring controls.

For List Boxes, inventory, saves, hints and journals, use their type-specific row, entry, slot and navigation controls as well as the outer surface. One global background color is rarely enough to explain all their nested parts.

A handle image can look larger than its useful drag area. Test the actual interaction, especially on touch hardware, instead of measuring only the painted pixels.

Page 27 of 70Permalink
Go to page