Bugs by misson20000
This game should be easy to figure out (Especially if you read the help screen!) except on spider mode where you press space to remove tiles, place spiderwebs, and harvest flies from spiderwebs.
To run the jarfile, open up whatever command interpreter you have on your system, cd to where the jarfile is, and run "java -jar bugs.jar".
If you get a "Failed to load Main-Class manifest attribute from ...", redownload it. I got lazy and used the same jarfile for the program and the applet. I exported the applet without any manifest to save some space, which causes errors when trying to run as an application. I uploaded a new version containing the manifest, so it should work now
When posting errors, please post in the following format:
Applet or jarfile?
Copy-paste entire output (The command you run would be helpful too)
To run the jarfile, open up whatever command interpreter you have on your system, cd to where the jarfile is, and run "java -jar bugs.jar".
If you get a "Failed to load Main-Class manifest attribute from ...", redownload it. I got lazy and used the same jarfile for the program and the applet. I exported the applet without any manifest to save some space, which causes errors when trying to run as an application. I uploaded a new version containing the manifest, so it should work now
When posting errors, please post in the following format:
Applet or jarfile?
Copy-paste entire output (The command you run would be helpful too)
applet.jar Also applet.jar is not a help full name.
Also, whenevere there would have been a sound effect(I guess), I get this when run from CLI:
java.lang.NullPointerException
at java.applet.Applet.getAppletContext(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at java.applet.Applet.play(Unknown Source)
at misson20000.ld.ld24.Evolution.playSound(Evolution.java:114)
at misson20000.ld.ld24.Evolution.tick(Evolution.java:190)
at misson20000.ld.ld24.RunnableTick.run(RunnableTick.java:26)
at java.lang.Thread.run(Unknown Source)
While the jar is running, I do continuously get this exception, although it doesn't seem to effect anything:
java.lang.NullPointerException
at java.applet.Applet.getAppletContext(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at java.applet.Applet.play(Unknown Source)
at misson20000.ld.ld24.Evolution.playSound(Evolution.java:114)
at misson20000.ld.ld24.Evolution.tick(Evolution.java:190)
at misson20000.ld.ld24.RunnableTick.run(RunnableTick.java:26)
at java.lang.Thread.run(Unknown Source)
As an ant, I managed to get out of the underground area (nice work on the springs!), but then I couldn't get back in to the rest of the food and had to restart. But then I replayed it and collect both foods before going to the surface, but it then says I only have 50/100 food and I can't get passed that screen- tried collecting both of the things on the surface as well.
Overall you have a nice start to a platformer- collision detection and jumping work, and you even have cool springs working. It needs some tweaking (like when you're only half under a block but can't jump), and the game needs to be a little easier, but this is good work for 48 hours.
As for deploying as both an applet and a jar, you might check out the free indie Java gaming site I have at StaticVoidGames.com - it lets you deploy your game as an applet, jar, and webstart. Might be worth checking out instead of using dropbox.