Skip to reading
GUI Styling, Shaders & Effects

15. Give the window an entrance and exit

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 35. Open and disappear transitions are authored separately for each GUI.

1. Choose the GUI, then click Transitions in its toolbar.

2. Set When GUI Opens to Fade. Try 0.25–0.4 seconds for an ordinary menu.

3. Set When GUI Disappears to Slide, or keep it equally restrained with Fade.

4. Review Direction, Origin and Intensity where the chosen effect uses them.

5. Click Apply Transitions. In Play, hide and show the GUI to test the full cycle.

A transition changes the window’s temporary presentation. An element shader describes how a control looks while it is present. They can be used together, but they are different systems.

The screenshots use longer 1.2-second transitions so a middle frame can be captured. Most everyday menus should open much more quickly.

Page 48 of 70Permalink
Go to page