1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +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(); super.create();
sprite = new FlxAtlasSprite(0, 0, 'assets/images/freeplay/freeplay-boyfriend'); // I suppose a specific atlas to test should go in here 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); add(sprite);
sprite.anim.play("Boyfriend DJ"); camera.follow(sprite);
sprite.playAnimation(null);
} }
public override function update(elapsed:Float):Void public override function update(elapsed:Float):Void