1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-23 21:56:46 +00:00

Can't seem to understand AtlasSprite

This commit is contained in:
CheemsAndFriends 2024-08-19 14:41:20 +02:00
parent 8a2d8a9941
commit 82eea221d8

View file

@ -23,9 +23,10 @@ class FlxAnimateTest extends MusicBeatState
super.create();
sprite = new FlxAtlasSprite(0, 0, 'assets/images/freeplay/freeplay-boyfriend'); // I suppose a specific atlas to test should go in here
// Doesn't input anything, How does AtlasSprite work??? -Cheems
add(sprite);
sprite.anim.play("Boyfriend DJ");
camera.follow(sprite);
sprite.playAnimation(null);
}
public override function update(elapsed:Float):Void