Static variables
Constructor
Variables
Methods
addAnimation(tiles:Array<Int>, frameRate:Float = 30, ?framesData:Array<AnimParams>):Void
Add an animation to this special tile
Parameters:
tiles | An array with the tilesetID of each frame |
---|---|
frameRate | The speed of the animation in frames per second (Default: 30) |
framesData | An optional array of animation parameters for each frame |
fromSpriteAnimation(anim:FlxAnimation):Void
Creates tile animation and copies data from specified sprite animation (name, frame ids, framerate and looping);
Parameters:
anim | Animation to copy data from |
---|