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:
parent
8a2d8a9941
commit
82eea221d8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue