Problem With 'Invaders' Tutorial

JeffreyDriver

  • Posts: 2262
Hi,

I've been trying to teach myself to use Stencyl by using the 'Invaders' tutorial. My problems occurs at step 37 when I try to test the game. I'm pretty sure that I've followed all the previous steps exactly and I've gone through them, but I'm still at a loss.

Any help very much appreciated. Please see the error logs below.

[LOG] Action: Test Game...
[LOG] Save in place.
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/game.xml to: /Users/jeffreydriver/stencylworks/games/Invaders/game.xml.bak
[LOG] Writing out local resources.
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/resources/data.xml to: /Users/jeffreydriver/stencylworks/games/Invaders/resources/data.xml.bak
[LOG] Mark actor's sprite as clean (disk).
[LOG] Mark actor's sprite as clean (disk).
[LOG] Mark background as clean (disk).
[ERR] java.lang.ArithmeticException: / by zero
[ERR] Can't write out resource. Unsupported type.
[LOG] Mark actor's sprite as clean (disk).
[LOG] Mark background as clean (disk).
[LOG] Skip writing out Background.
[LOG] Mark background as clean (disk).
[LOG] Writing out scenes.
[LOG] Copying over snippets.
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/list.xml to: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/list.xml.bak
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/ActorEvents_0.design to: /Users/jeffreydriver/stencylworks/preview/scripts/ActorEvents_0.design
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/ActorEvents_3.design to: /Users/jeffreydriver/stencylworks/preview/scripts/ActorEvents_3.design
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/ActorEvents_5.design to: /Users/jeffreydriver/stencylworks/preview/scripts/ActorEvents_5.design
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/snippets/SceneEvents_0.design to: /Users/jeffreydriver/stencylworks/preview/scripts/SceneEvents_0.design
[LOG] ActorEvents_0 is clean (on disk and already copied). Skip.
[LOG] ActorEvents_3 is clean (on disk and already copied). Skip.
[LOG] ActorEvents_5 is clean (on disk and already copied). Skip.
[LOG] SceneEvents_0 is clean (on disk and already copied). Skip.
[LOG] Saving block favorites.
[LOG] Write String out as file to: /Users/jeffreydriver/stencylworks/games/Invaders/favorites.xml
[LOG] Write String out as file to: /Users/jeffreydriver/stencylworks/prefs/favorites.xml
[LOG] Done writing game.
[LOG] No matching processes belonging to you were found
[LOG] [killall, neko]
[LOG] 1
[LOG] No matching processes belonging to you were found

[LOG] No matching processes belonging to you were found
[LOG] [killall, arm-linux-androideabi-g++]
[LOG] 1
[LOG] No matching processes belonging to you were found

[LOG] No matching processes belonging to you were found
[LOG] [killall, cc1plus]
[LOG] 1
[LOG] No matching processes belonging to you were found

[LOG] No matching processes belonging to you were found
[LOG] [killall, tail]
[LOG] 1
[LOG] No matching processes belonging to you were found

[LOG] No matching processes belonging to you were found
[LOG] [killall, ios-sim]
[LOG] 1
[LOG] No matching processes belonging to you were found

[LOG] Write String out as file to: /Users/jeffreydriver/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
[LOG] Closed tail.
[LOG] [/Users/jeffreydriver/Downloads/Stencyl-full/plaf/haxe/haxelib, setup, /Users/jeffreydriver/Downloads/Stencyl-full/plaf/haxe/lib]
[LOG]
[ERR] Could not delete file: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Assets/graphics
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
[LOG] dyld: Library not loaded: @executable_path/libneko.dylib
[LOG]   Referenced from: /Users/jeffreydriver/Downloads/Stencyl-full/plaf/haxe/haxelib
[LOG]   Reason: image not found
[ERR] Could not delete file: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Export/iPhone/build
[ERR] Could not delete file: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Export/cpp/mac/bin
[LOG] Copy file from: plaf/haxe/mochi.swf to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/mochi.swf
[LOG] Copy file from: plaf/haxe/newgrounds.swf to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/newgrounds.swf
[LOG] Copy file from: plaf/haxe/cpmstar.swf to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/cpmstar.swf
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/ios-icon-half.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/ios-icon.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon@2x.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/ipad-icon-half.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-72.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/ipad-icon.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-72@2x.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-48.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-48.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-76.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-76.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-96.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-96.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-120.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-120.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-128.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-128.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-152.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-152.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-256.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-256.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/Icon-512.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-512.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/master-icon.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Icon-1024.png
[LOG] Skipping... Ship
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/resources/1-0.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Assets/graphics/1x/sprite-1-0.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/resources/1-0@1.5x.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Assets/graphics/1.5x/sprite-1-0.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/resources/1-0@2x.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Assets/graphics/2x/sprite-1-0.png
[LOG] Copy file from: /Users/jeffreydriver/stencylworks/games/Invaders/resources/1-0@4x.png to: /Users/jeffreydriver/stencylworks/games-generated/Invaders/Assets/graphics/4x/sprite-1-0.png
[ERR] java.io.FileNotFoundException: /Users/jeffreydriver/stencylworks/games/Invaders/resources/2.png (No such file or directory)

JarOfCarrot

  • Posts: 7

[ERR] java.io.FileNotFoundException: /Users/jeffreydriver/stencylworks/games/Invaders/resources/2.png (No such file or directory)


just a guess but have you double checked the file 2.png is where its supposed to be?
if it is deffinetly present you could try stripping out any associated metadata that may be complicating things when you compile