Funkin/source/animate/AnimTestStage.hx

28 lines
460 B
Haxe
Raw Normal View History

2021-06-14 19:36:56 -04:00
package animate;
2021-06-15 17:43:46 -04:00
import flixel.FlxSprite;
2021-06-14 19:36:56 -04:00
import flixel.FlxState;
2021-06-15 17:43:46 -04:00
import flixel.addons.display.FlxGridOverlay;
2021-06-14 19:36:56 -04:00
class AnimTestStage extends FlxState
{
override function create()
{
2021-06-15 17:43:46 -04:00
var bg:FlxSprite = FlxGridOverlay.create(32, 32);
add(bg);
var swag:FlxAnimate = new FlxAnimate(0, 0);
add(swag);
2021-06-14 19:36:56 -04:00
super.create();
}
2021-06-15 17:43:46 -04:00
override function update(elapsed:Float)
{
CoolUtil.mouseWheelZoom();
CoolUtil.mouseCamDrag();
super.update(elapsed);
}
2021-06-14 19:36:56 -04:00
}