ANIMATION (a child element of STEP) is used to create an animation sequence.
ANIMATION supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
In this example, ANIMATION is used to create an animation sequence which increases the width of the map image by 10 pixels every frame (at a rate of 10 frames per second) and lasts for 2 seconds.
- <STEP>
- ......
- <ANIMATION>
- <ACTION>
- <OBJECT>
- <NAME>Map</NAME>
- <WIDTH>
- <ADD_ITSELF>10</ADD_ITSELF>
- </WIDTH>
- </OBJECT>
- </ACTION>
- <DURATION>2</DURATION>
- <FPS>10</FPS>
- </ANIMATION>
- ......
- </STEP>