Skip to reading
Save Games & Inventory

Animated icons without surprises

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 PDF page

An animated icon needs an image asset or authored frame list that supplies several frames. Turning on animation cannot create extra frames from one ordinary picture.

1. Import the frames using the Asset Importer’s appropriate image or animation workflow.

2. Assign the normal and optional state images to the item.

3. Enable the item’s animated-icon setting, choose its frames per second and decide whether it loops.

4. Use the GUI widget’s Animate Icons and icon FPS settings as defaults where the item does not supply its own override.

5. Run the game. Check the normal icon, hover, press and release, not just the designer’s still picture.

Source table from Animated icons without surprises, page 11
SituationBehavior to expect
The item explicitly disables icon animationThat item remains still even when the widget allows animation.
The item supplies its own icon FPSIts rate takes precedence over the widget’s default.
Animation is offThe first frame of each state is used.
The player drags the itemThe drag preview uses a first-frame image rather than a full animated preview.

Use animation sparingly in an inventory. A softly moving potion is easy to read. Twenty flashing item icons make it harder to find the key the player actually wants.

If all items animate except one, inspect that item’s explicit animation setting before changing the entire GUI.

Page 11 of 96Permalink
Go to page