Skip to reading
Images, Carousels & Choice Controls

Add, remove and clear gallery entries

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

For an Add key Button, choose Carousel: Add Image, then use GUI gallery_lab, Image Carousel reference_carousel and Image Asset brass_key_art. The added entry goes after the existing entries.

Figure 21. The normal gallery now includes a Brass Key entry added during play.

Runtime additions can repeat an asset ID. Pressing Add key twice can create two matching added entries. This differs from the de-duplicated startup ID list. Use a story variable to guard a one-time discovery.

Remove Image removes one matching occurrence, looking in runtime additions before the original authored list. Clear Images empties both normal-gallery lists. Give a cleared gallery a useful Empty Text caption and a way to close it.

These edits belong to the running widget. They do not rewrite the project’s Initial Image Assets field. A later rebuild of the carousel can restore authored entries and lose temporary additions.

Page 24 of 52Permalink
Go to page