funny calculator

This commit is contained in:
Kade M
2021-07-06 20:41:10 -07:00
parent 1ead9ea63b
commit 9ab17d4776
4 changed files with 279 additions and 53 deletions

View File

@ -145,7 +145,7 @@ class Paths
inline static public function getPackerAtlas(key:String, ?library:String, ?isCharacter:Bool = false)
{
if (isCharacter)
return FlxAtlasFrames.fromSpriteSheetPacker(imageCached(key), file('images/$key.txt', library));
return FlxAtlasFrames.fromSpriteSheetPacker(imageCached(key), file('images/characters/$key.txt', library));
return FlxAtlasFrames.fromSpriteSheetPacker(image(key, library), file('images/$key.txt', library));
}
}