don't make spirit cached cuz like it'll be bad

This commit is contained in:
KadeDeveloper 2021-07-22 16:23:04 -07:00
parent 5edc81fd20
commit f6022e0a3f
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
<!--Switch Export with Unique ApplicationID and Icon--> <!--Switch Export with Unique ApplicationID and Icon-->
<set name="APP_ID" value="0x0100f6c013bbc000" /> <set name="APP_ID" value="0x0100f6c013bbc000" />
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB"/>
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file <!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"--> or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<!-- <app preloader="Preloader" resizable="true" /> --> <!-- <app preloader="Preloader" resizable="true" /> -->

View File

@ -348,7 +348,7 @@ class Character extends FlxSprite
antialiasing = false; antialiasing = false;
case 'spirit': case 'spirit':
frames = Paths.getPackerAtlas('spirit','shared',true); frames = Paths.getPackerAtlas('spirit','shared',false);
animation.addByPrefix('idle', "idle spirit_", 24, false); animation.addByPrefix('idle', "idle spirit_", 24, false);
animation.addByPrefix('singUP', "up_", 24, false); animation.addByPrefix('singUP', "up_", 24, false);
animation.addByPrefix('singRIGHT', "right_", 24, false); animation.addByPrefix('singRIGHT', "right_", 24, false);