chtulhu 2012-04-24 21:26
You should have built a JAR file :/ Some people just don't have Eclipse installed or don't know what to do with your sources.
Foon → Ludum Dare Explorer → LD23 → Tiny World
| Category | Rank | Score | Count | |
|---|---|---|---|---|
| Coolness | 1178 |
You should have built a JAR file :/ Some people just don't have Eclipse installed or don't know what to do with your sources.
Do you need some help? I can create a jar and upload it for you.
Some hints on java: Don't use raw types like ArrayList, use the generic types and the interface. For example: Don't do something like "ArrayList house = new ArrayList();" but "List house = new ArrayList<Actor>(); instead.
Also I can't run your programm, I get a NPE on the spawnChests (World.java on Line 339).
Also I think the path of the resources are wrong for a jar (new Scanner(new File("resources/levels/" + file)); --> you won't find that in the jar, you need to get the class loader and load as resource) Don't catch exceptions and return null, it prevents you from debugging your code, as you won't find the real place to debug ("Fail early, fail often")
So, I changed some things to get it running as jar and tried it out :) Good work so far, I get the idea. There are even animations, the hero looks really cute when running :D
Canard: could you pls upload the jar somewhere for us lazy?
Sorry would have played it but can't compile java, drop a comment on my games page and i'll come back and have a look once you've sorted out a jar file.
I can upload the jar, but I thought it would be impolite without the permission from the author. Also I'm not sure if this is ok with the rules, as I needed to change the way his game loads the the resources, to bundle the game as a single jar.
@Guns_Are_Toys: Leave a comment if you want me to delete the files. Here it is:
JAR: http://ld23.waschnick.de/TinyWorld-by-Guns_Are_Toys.jar
SRC: http://ld23.waschnick.de/TinyWorld-by-Guns_Are_Toys-src.zip (build with maven)
I can“t play the game :(