mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-29 10:13:32 +00:00
WIP
This commit is contained in:
commit
a598d88152
10
hmm.json
10
hmm.json
|
@ -11,14 +11,14 @@
|
||||||
"name": "flixel",
|
"name": "flixel",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "ec5d0f2",
|
"ref": "d6100cc8",
|
||||||
"url": "https://github.com/EliteMasterEric/flixel"
|
"url": "https://github.com/EliteMasterEric/flixel"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "flixel-addons",
|
"name": "flixel-addons",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "752c3d7",
|
"ref": "f107166",
|
||||||
"url": "https://github.com/EliteMasterEric/flixel-addons"
|
"url": "https://github.com/EliteMasterEric/flixel-addons"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"name": "flxanimate",
|
"name": "flxanimate",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "master",
|
"ref": "18b2060",
|
||||||
"url": "https://github.com/Dot-Stuff/flxanimate"
|
"url": "https://github.com/Dot-Stuff/flxanimate"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -81,14 +81,14 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "lime",
|
"name": "lime",
|
||||||
"type": "haxelib",
|
"type": "git",
|
||||||
"version": null
|
"version": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "openfl",
|
"name": "openfl",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "3fd5763c1",
|
"ref": "b2c18513",
|
||||||
"url": "https://github.com/EliteMasterEric/openfl"
|
"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