diff --git a/examples/export/runtimes.sh b/examples/export/runtimes.sh index 065aee085..7596d495f 100755 --- a/examples/export/runtimes.sh +++ b/examples/export/runtimes.sh @@ -631,9 +631,9 @@ cp -f ../cloud-pot/export/cloud-pot.png "$ROOT/spine-haxe/example/assets/" cp -f ../7-anticipation/export/sack-pro.json "$ROOT/spine-haxe/example/assets/" cp -f ../7-anticipation/export/sack-pro.skel "$ROOT/spine-haxe/example/assets/" -cp -f ../7-anticipation/export/7-anticipation.atlas "$ROOT/spine-haxe/example/assets/sack-pma.atlas" -$sed -i 's/7-anticipation-pma.png/sack-pma.png/g' "$ROOT/spine-haxe/example/assets/sack-pma.atlas" -cp -f ../7-anticipation/export/7-anticipation.png "$ROOT/spine-haxe/example/assets/sack-pma.png" +cp -f ../7-anticipation/export/7-anticipation.atlas "$ROOT/spine-haxe/example/assets/sack.atlas" +$sed -i 's/7-anticipation.png/sack.png/g' "$ROOT/spine-haxe/example/assets/sack.atlas" +cp -f ../7-anticipation/export/7-anticipation.png "$ROOT/spine-haxe/example/assets/sack.png" cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-haxe/example/assets/" cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-haxe/example/assets/" diff --git a/spine-haxe/example/assets/sack-pma.atlas b/spine-haxe/example/assets/sack.atlas similarity index 89% rename from spine-haxe/example/assets/sack-pma.atlas rename to spine-haxe/example/assets/sack.atlas index 8c87f0dc1..bcda0b0f4 100644 --- a/spine-haxe/example/assets/sack-pma.atlas +++ b/spine-haxe/example/assets/sack.atlas @@ -1,4 +1,4 @@ -7-anticipation.png +sack.png size: 512, 512 filter: Linear, Linear scale: 0.5 diff --git a/spine-haxe/example/assets/sack-pma.png b/spine-haxe/example/assets/sack.png similarity index 100% rename from spine-haxe/example/assets/sack-pma.png rename to spine-haxe/example/assets/sack.png diff --git a/spine-haxe/example/src/flixelExamples/SackExample.hx b/spine-haxe/example/src/flixelExamples/SackExample.hx index 19bb8eb8d..f0fccbe2c 100644 --- a/spine-haxe/example/src/flixelExamples/SackExample.hx +++ b/spine-haxe/example/src/flixelExamples/SackExample.hx @@ -51,7 +51,7 @@ class SackExample extends FlxState { button.setPosition(FlxG.width * .75, FlxG.height / 10); add(button); - var atlas = new TextureAtlas(Assets.getText("assets/7-anticipation.atlas"), new FlixelTextureLoader("assets/7-anticipation.atlas")); + var atlas = new TextureAtlas(Assets.getText("assets/sack.atlas"), new FlixelTextureLoader("assets/sack.atlas")); var data = SkeletonData.from(loadBinary ? Assets.getBytes("assets/sack-pro.skel") : Assets.getText("assets/sack-pro.json"), atlas, .25); var animationStateData = new AnimationStateData(data); animationStateData.defaultMix = 0.25; diff --git a/spine-haxe/example/src/starlingExamples/SackExample.hx b/spine-haxe/example/src/starlingExamples/SackExample.hx index 288b7532b..d14909260 100644 --- a/spine-haxe/example/src/starlingExamples/SackExample.hx +++ b/spine-haxe/example/src/starlingExamples/SackExample.hx @@ -47,7 +47,7 @@ class SackExample extends Scene { public function load():Void { background.color = 0x333333; - var atlas = new TextureAtlas(Assets.getText("assets/7-anticipation.atlas"), new StarlingTextureLoader("assets/7-anticipation.atlas")); + var atlas = new TextureAtlas(Assets.getText("assets/sack.atlas"), new StarlingTextureLoader("assets/sack.atlas")); var skeletondata = SkeletonData.from(Assets.getText("assets/sack-pro.json"), atlas); var animationStateData = new AnimationStateData(skeletondata);