Static variables
Static methods
View on GitHub
staticframesExists(key:String, checkAtlas:Bool = false, checkMulti:Bool = true, assetsPath:Bool = false, ?library:String):Bool
Checks if the images needed for using getFrames() exist.
Parameters:
key | Path to the image |
---|---|
checkAtlas | Whenever to check for the Animation.json file (used in FlxAnimate) |
assetsPath | Whenever to use the raw path or to pass it through Paths.image() |
library | (Additional) library to load the frames from. |
Returns:
True if the images exist, false otherwise.
View on GitHub
staticgetFolderContent(key:String, addPath:Bool = false, source:AssetSource = BOTH, noExtension:Bool = false):Array<String>
View on GitHub
staticgetFolderDirectories(key:String, addPath:Bool = false, source:AssetSource = BOTH):Array<String>
View on GitHub
staticinlinegetFontName(font:String):String
Gets the name of a registered font.
Parameters:
font | The font's path (if it's already passed as a font name, the same name will be returned) |
---|
View on GitHub
staticgetFrames(key:String, assetsPath:Bool = false, ?library:String, ?ext:String):Null<FlxFramesCollection>
Gets frames at specified path.
Parameters:
key | Path to the frames |
---|---|
library | (Additional) library to load the frames from. |
View on GitHub
staticimage(key:String, ?library:String, checkForAtlas:Bool = false, ?ext:String):String
View on GitHub
staticinlineinst(song:String, ?difficulty:String, prefix:String = "", ?ext:String):String
View on GitHub