The SpriteSheetMovieClipBehaviour caches MovieClip animations into a Mesh array for fast playback. Ideally each frame should have a similar number of sprites and must only use one texture page.
| |
Frame update handler, advances sprite sheet frame. | |
Gets default draw scale | |
Set framerate ( use this instead of fps property ) | |
Clear sprite sheet cache. |
Default global draw scale to initialise the drawScale . | |
Sprite sheet cache. | |
Enabled depreciated non-time drift frame timing. | |
Set the swf asset name. | |
Set the exported symbol name to loaded from the swf asset file. | |
Set the current frame to the specified label ( editor only update ). | |
Target framerate to render the MovieClip timeline. | |
Cache the compiled Mesh data to the spriteSheetCache. | |
Custom cache key to use. | |
Generate mesh on load. | |
Set animation play state. | |
Set animation to loop. | |
Active spriteSheet instance. | |
Draw scale sets the stage scale. | |
| |
Flip the Y coordinates, usefull for handling coordinate between flash and uniSWF. | |
Use Time.smoothDelta for frame timings. |