Skip to reading
Images, Carousels & Choice Controls

9. Build an Image Carousel

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

A carousel displays one current picture, with optional neighboring cards and navigation. Use it for reference art, illustrations, collected photos or a selection preview.

1. Create a Reference Gallery GUI with ID gallery_lab.

2. Add an Image Carousel with ID reference_carousel. Set X 32, Y 92, Width 1056 and Height 372.

3. Open Type Settings. Enter lab_view, map_view, moon_dial in Initial Image Assets (IDs).

4. Leave Images Visible at 1. Enable Show Arrow Buttons and Show Image / Item Name.

5. Run Preview and use the arrows to browse.

Figure 12. Initial Image Assets sets the picture order. The picker offers imported image assets.

The caption uses each asset’s assigned name. Choose readable asset names before filling a large gallery, so the player sees Moonlit Workshop rather than a technical filename.

Page 16 of 52Permalink
Go to page