Skip to reading
GUI Styling, Shaders & Effects

2. Build a clean starting window

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

1. Add a GUI named The Cartographer’s Case with ID style_lab. Keep a copy of an existing GUI before experimenting.

2. Select GUI Window. Use a window size of 1120 × 660 for this example. Place its content inside a comfortable 32-pixel margin.

3. Enable its background color and border. Start with background #102637, border #7199AA, border width 2 and border radius 20.

4. Add two Panels: X 32, Y 120, Width 520, Height 470; and X 580, Y 120, Width 508, Height 470.

5. Give the panels background #173347 and radius 18. Keep their text and controls inside those edges.

Figure 4. The starting layout separates illustration, input and primary choices.

The dimensions are design coordinates, not a required monitor resolution. The example leaves space for a title bar and footer. Check the game’s actual presentation size before choosing your final font and button sizes.

Page 7 of 70Permalink
Go to page