AnimateSelf
Last updated
Was this helpful?
Last updated
Was this helpful?
The AnimateSelf function updates advances a Sprite through its animation (if it is animated) and updates the Sprite's Texture and texture coordinates according to its current animation. Sprites which are updated automatically (default) will automatically have this function called by the SpriteManager. Typically you only need to manually call this if a Sprite has been converted to manually updated, but it should still be animated.
Typicalily the AnimateSelf function takes the value. The following code would animate a Sprite: