This site requires JavaScript, please enable it in your browser!
Greenfoot back
JohnDoeWasTaken
JohnDoeWasTaken wrote ...

2019/4/15

Media files not embedded correctly

JohnDoeWasTaken JohnDoeWasTaken

2019/4/15

#
Sample exported project here When I export a project which uses more image / sound files, they are all correctly included in the resulting .jar. However, when I run the java program, it fails to load more media files at certain point. I haven't been able to locate any debug log inside the .jar. I have been able to avoid this issue by including the image / sounds folder in the same folder with .jar (see the sample exported project), but this basically doubles the size of the build and seems very redundant. To reproduce this issue, just remove the images and sounds folders from the sample project attached above, and see that the game freezes after you get past the game title. Could anyone help me figure out the cause behind this issue and possibly a solution?
You need to login to post a reply.