mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-11 20:57:20 +00:00
WIP
This commit is contained in:
commit
a598d88152
10
hmm.json
10
hmm.json
|
@ -11,14 +11,14 @@
|
|||
"name": "flixel",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "ec5d0f2",
|
||||
"ref": "d6100cc8",
|
||||
"url": "https://github.com/EliteMasterEric/flixel"
|
||||
},
|
||||
{
|
||||
"name": "flixel-addons",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "752c3d7",
|
||||
"ref": "f107166",
|
||||
"url": "https://github.com/EliteMasterEric/flixel-addons"
|
||||
},
|
||||
{
|
||||
|
@ -30,7 +30,7 @@
|
|||
"name": "flxanimate",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "master",
|
||||
"ref": "18b2060",
|
||||
"url": "https://github.com/Dot-Stuff/flxanimate"
|
||||
},
|
||||
{
|
||||
|
@ -81,14 +81,14 @@
|
|||
},
|
||||
{
|
||||
"name": "lime",
|
||||
"type": "haxelib",
|
||||
"type": "git",
|
||||
"version": null
|
||||
},
|
||||
{
|
||||
"name": "openfl",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "3fd5763c1",
|
||||
"ref": "b2c18513",
|
||||
"url": "https://github.com/EliteMasterEric/openfl"
|
||||
},
|
||||
{
|
||||
|
|
28
source/funkin/graphics/adobeanimate/FlxAtlasSprite.hx
Normal file
28
source/funkin/graphics/adobeanimate/FlxAtlasSprite.hx
Normal file
|
@ -0,0 +1,28 @@
|
|||
package funkin.graphics.adobeanimate;
|
||||
|
||||
import flxanimate.FlxAnimate;
|
||||
|
||||
/**
|
||||
* A sprite which provides convenience functions for rendering a texture atlas.
|
||||
*/
|
||||
class FlxAtlasSprite extends FlxAnimate
|
||||
{
|
||||
/**
|
||||
* The animations this sprite has available.
|
||||
* Keys are animation names, values are the animation data.
|
||||
*/
|
||||
var animations:Map<String, FlxAnimateAnimation>;
|
||||
|
||||
public function new(?X:Float = 0, ?Y:Float = 0)
|
||||
{
|
||||
super(X, Y);
|
||||
}
|
||||
}
|
||||
|
||||
typedef FlxAnimateAnimation =
|
||||
{
|
||||
name:String;
|
||||
startFrame:Int;
|
||||
endFrame:Int;
|
||||
loop:Bool;
|
||||
}
|
Loading…
Reference in a new issue