IAnimationChainAnimatable
Introduction
Setting AnimationChains
If the Sprite and .achx are created in Glue
SpriteInstance.AnimationChains = AnimationChainFile;
SpriteInstance.Animate = true;
SpriteInstance.CurrentChainName = "WalkUp";If the Sprite is already created (usually the case when using Glue), and you have an AnimationChain variable
// This code assumes that animationChain is a valid AnimationChain and
// sprite is a valid Sprite.
sprite.SetAnimationChain(chainToSet);
sprite.Animate = true; // still have to set animate to trueIf creating the Sprite in Code
If the Sprite has already had its AnimationChains property set (usually done through Glue)
Manually Setting Frames
Detecting When an AnimationFrame Changes

Internal AnimationChainList and Common Usage
Adding AnimationChains to an IAnimationChainAnimatable
Additional Information
IAnimationChainAnimatable Members
Last updated
Was this helpful?
