class FlxAnimateFrames
package flxanimate.frames
extends FlxAtlasFrames › FlxFramesCollection
Static methods
staticfromCocos2D(Path:String, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
Cocos2D spritesheet format parser, which basically has 2 versions, One is basically Starling (2v) and the other one which is a more fucky and weird (3v)
Parameters:
Path | the Path of the plist |
---|---|
Image | (Optional) the image |
Returns:
Recently made Frames for your dispose ;)
staticfromEaselJS(Path:String, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
EaselJS spritesheet format parser, pretty weird stuff.
Parameters:
Path | The Path of the jsFile |
---|---|
Image | (optional) the Path of the image |
Returns:
New frames made for you to use ;)
staticinlinefromEdgeAnimate(Path:String, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
Edge Animate
Parameters:
Path | the Path of the .eas |
---|---|
Image | (Optional) the Image |
Returns:
Cute little Frames to use ;)
staticfromJson(Path:FlxJson, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
- @param Path the Json in specific, can be the path of it or the actual json
Parameters:
Image | the image which the file is referencing WARNING: if you set the path as a json, it's obligatory to set the image! |
---|
Returns:
A new instance of FlxAtlasFrames
staticfromSparrow(Path:FlxSparrow, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
Sparrow spritesheet format parser with support of both of the versions and making the image completely optional to you.
Parameters:
Path | The direction of the Xml you want to parse. |
---|---|
Image | (Optional) the image of the Xml. |
Returns:
A new instance of FlxAtlasFrames
staticfromStarling(Path:FlxPropertyList, ?Image:Null<FlxGraphicAsset>):FlxAtlasFrames
Starling spritesheet format parser which uses a preference list from Mac computer shit
Parameters:
Path | the dir of the preference list |
---|---|
Image | (Optional) the Image |
Returns:
Some recently cooked Frames for you ;)
staticfromTextureAtlas(Path:String):FlxAtlasFrames
Parses the spritemaps into small sprites to use in the animation.
Parameters:
Path | Where the Sprites are, normally you use it once when calling FlxAnimate already |
---|
Returns:
new sliced limbs for you to use ;)