Skip to content

PingPong

Reverses the animation's direction each time it reaches either end of its frames.

Specification
Applies to
AnimType
File
art.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

On reaching either end of its range the animation flips its step and walks back the way it came, instead of snapping to the start or finishing. Which pair of frames it turns on depends on LoopCount: an animation left on a single pass turns at the stage count in End and at its first stage, while one given more than one pass turns at LoopEnd and at the stage matching Start.

The stage that triggered a turn is held for one frame before the animation steps back, so the frame at the top of the range is displayed. With the range left at the shape’s own frame count that frame is one past the last frame in the shape and draws nothing, which shows as a blink at every turn. Setting the range one frame shorter removes it.

See alsoLoopCount, LoopEnd, End, Reverse, Start