-
Notifications
You must be signed in to change notification settings - Fork 2
SpriteAnimation
Manno edited this page May 24, 2016
·
1 revision
This example explains the possible use of a sprite sheet and the openfl.display.Tilesheet class.
The example uses a sprite sheet that contains an animation that is best played at a frame rate much lower than the application's frame rate. The class that plays the animation keeps track of time and if the time that a single frame is to be displayed has passed, the next frame of the sprite sheet is displayed.