post stuff!! also now every asset can be animated

This commit is contained in:
Yoshman29
2022-11-19 15:23:00 +01:00
parent 1fa0772c9e
commit a16608448d
22 changed files with 38 additions and 42 deletions
@@ -56,7 +56,7 @@ class KeybindSetting extends FlxTypedSpriteGroup<FlxSprite> {
if (sparrowIcon != null) {
icon = new FlxSprite();
icon.frames = Paths.getSparrowAtlas(sparrowIcon);
icon.frames = Paths.getFrames(sparrowIcon);
icon.antialiasing = true;
icon.animation.addByPrefix('icon', sparrowAnim, 24, true);
icon.animation.play('icon');