Game not compiling so I can't test it

ahaanc

  • Posts: 12
Whenever I test the game or the scene it compiles for a while and then says "Encountered Errors While Building Your Game"

Jon

  • *
  • Posts: 17524
Looks like one of the resources is missing. If you go to that directory (/Users/home/stencylworks/games/Coreys World/resources/) and stick in a blank image for 7.png, the game will build (and you can tell pretty quickly what image is missing).

Code: [Select]
2015-10-15 16:23:09,371 ERROR [pool-1-thread-4] stencyl.sw.io.write.resource.HXWriter: Source '/Users/home/stencylworks/games/Coreys World/resources/7.png' does not exist
java.io.FileNotFoundException: Source '/Users/home/stencylworks/games/Coreys World/resources/7.png' does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)
at stencyl.sw.io.write.resource.HXWriter.writeGraphicsAndSounds(HXWriter.java:1044)

@devs - Aren't we already catching cases like this and substituting in a dummy image?

captaincomic

  • *
  • Posts: 6108
@devs - Aren't we already catching cases like this and substituting in a dummy image?
Yes, in a more recent version, it should replace the missing image with a blank and show a warning dialog.