Skip to reading
Images, Carousels & Choice Controls

18. Add independent Check Boxes

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

Use check boxes when several options can be on together. Show subtitles and Show hints are independent choices; enabling one should not turn the other off.

1. Add a Check Box with ID subtitles_check.

2. In Text & Content, enter Show subtitles. Set a readable font size and left-centered text.

3. In Type Settings, turn Checked on.

4. Add another Check Box with ID hints_check and the caption Show hints. Leave Checked off.

5. Run Preview and click each box separately. Try all four on/off combinations.

Figure 28. A Check Box’s Text & Content supplies its caption and font style.

A Boolean is a yes/no value: true means on, false means off. Checked is the authored starting state of this control. It does not automatically find a game variable whose name resembles the caption.

Do not use a Radio Group to make these independent choices. Radio Group is for Radio Buttons that should exclude one another.

Page 34 of 52Permalink
Go to page