diff --git a/source/Character.hx b/source/Character.hx index da801e1..3093191 100644 --- a/source/Character.hx +++ b/source/Character.hx @@ -348,7 +348,7 @@ class Character extends FlxSprite antialiasing = false; case 'spirit': - frames = Paths.getPackerAtlas('spirit','shared',false); + frames = Paths.getPackerAtlas('spirit','shared'); animation.addByPrefix('idle', "idle spirit_", 24, false); animation.addByPrefix('singUP', "up_", 24, false); animation.addByPrefix('singRIGHT', "right_", 24, false); diff --git a/source/Paths.hx b/source/Paths.hx index 8c8f184..8de63a8 100644 --- a/source/Paths.hx +++ b/source/Paths.hx @@ -170,6 +170,6 @@ class Paths #end else return FlxAtlasFrames.fromSpriteSheetPacker(image('characters/$key'), file('images/characters/$key.txt', library)); - return FlxAtlasFrames.fromSpriteSheetPacker(image(key, library), file('images/$key.txt', library)); + return FlxAtlasFrames.fromSpriteSheetPacker(image(key, library), file('images/characters/$key.txt', library)); } }