Its a snake wannabe clone, but please test it out. Thanks! Note: there are still a few issues.
Difficult to play… esp. when eating windows apples…
But good, nice variation of the snake theme!
Yeah, very nice! Easy controls to get the hang of, nice clean graphics.
On the higher difficulty settings the snake increases in length so much faster that you rapidly run out of space - maybe you should tone that down, or even just cap it at some fixed maximum increment?
Two collision detection issues:
[]Four times I’ve collected an apple and had the next one spawn right on top of me. Unfortunately you then promptly crash into it. ;D
[]On very slow speeds (e.g. velocity 1) the game isn’t playable, as the worm self-collides. But you probably know about that!And one graphical issue:
[*]Start on velocity 10, just hold down an arrow key. The worm manages to almost disappear, as the end of the grey trail erases the worm just behind the head.Playing on velocity 15 is a bit mental, but great fun! You can’t really eat more than four apples before running out of space, but it’s a challenge just getting to that point.
Sorry, got a NullPointerException at start up.
My System:
- Win2000
- jdk1.3.0_01
java.lang.NullPointerException
at Wormy$Apple.(Wormy.java:288)
at Wormy.init(Wormy.java:142)
at sun.applet.AppletPanel.run(AppletPanel.java:341)
at java.lang.Thread.run(Thread.java:536)
ciao
Yea, I used ImageIO, which I reckon had problems with the older JDKs…
All I got was this:
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: Wormy
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Under Windows XP, Internet Explorer 6, with Sun JRE 1.4.2
Huh? Under Mozilla 1.4 it works (the same JRE!)! Maybe the JavaScript?
Anyway, I would consider absolute instead of relative controls (e.g. the number key field for eight possible directions).
[quote]All I got was this:
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: Wormy
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
[…]
[/quote]
See that “com/ms/vm/”?
You use a stoneage MSVM. Start->Configuration(or so)->System Configuration(or so)->Java Plugin
There you can setup wich browsers should use that plugin. Apparently you haven’t checked “Internet Explorer” there.