Snake Game

Hey, guys, who have some free time, look please on my Java 2 v. 1.4 project:

http://stridmann.narod.ru/java/snake3/

Any comments are welcomed!

P.S. All graphics were made by my girl-friend (except two ones...), but sound effects were stolen from the Artsoft's Rocks'n'diamonds... I'll change them in future, of course... Excuse me. :)

P.P.S. Some people has installed Java 2 v. 1.4 on their comps, but they CAN NOT see my game as applet in browser!!! Why? Who knows?

[501 byte] By [stridmann] at [2007-9-27 20:36:00]
# 1

> Hey, guys, who have some free time, look please on my

> Java 2 v. 1.4 project:

> http://stridmann.narod.ru/java/snake3/

> Any comments are welcomed!

Isn't the snake supposed to die if he runs against something ? You should speed the snake up to from the start. A 2 player mode and game options (start level, nickname, speed, ...) would be nice too.

jpw

jpw35 at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 2
I like the graphics, and the game seems to play pretty well, but I agree, it isn't a proper Snake game if it doesn't die when it hits the wall.Regards,Tim
TimRyanNZ at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 3

Cool game. The graphics are very nice too. I like your variations on the concept (like getting drunk!). And I don't really agree with the others that the snake must die if it hit a wall, since bumping in a cactus or water in the later levels does that. Maybe you could get the snake stunned (of confused) for a few seconds when hitting a wall as a compromise? I also think that an option for controlling speed as well as multiplayer would be great.

I noticed however that the game take a lot of time before starting. I never could make it work in my browser (Internet Explorer), although maybe I wasn't patient enough. After that, I tried with Web Start. It downloaded fine, but when I started it nothing seemed to happen. Then after a long time (5 minutes at least), enough that I simply though the game didn't worked, it suddenly appeared. It shouldn't be that long, not without feedback of any kind at least. Am I the only one who had that problem? Btw, I'm using JVM 1.4.0 in case you wondered.

Dantre at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 4

Thank you very much, guys! :)

Anyway, i do not understand the problem with the long delay before start... I got the remarks about it early, but I thought it's from the bad quality connections... :( I'll make some tests, ok?

Of course, snake doesn't must die if it hit a wall because there will be cactus and water in the next levels... :)

Thank you all a lot for you comments and suggestions!!!

With best wishes,

Tim

stridmann at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 5

Hi again, guys!

It seems, I know where is the source of that damned delay.

I load the sounds with

Applet.newAudioClip(URL url)

You can ask me, why I don't use

Applet.getAudioClip(URL url)

but you know, my Snake Game can be used as Java application also...

Can you advise me something?

Thanks.

Tim

P.S. Do you know, how can I make high-score table via internet? I don't have any access for CGI/Perl, etc., I use only free hosting servers...

stridmann at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 6
I was asked to download the 1.4 pluggin, after it was done i can't run any applet any more, the broswer aborts without any notice.Any ideas ?Noah
noah.w at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 7
Noah- can you run applets that use the <object> tag?Try: http://smigs.co.uk/skittles/Breakout/And see if that runs (it uses <object> rather than <applet>).
Woogley at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 8
I deleted 1.4 and reinstaled 1.3, it's ok know.Thank's Noah
noah.w at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 9
Dear Professional Game Programmers!Tell me please, if I'll re-write my Snake Game from Java 2 SDK 1.4 to JDK 1.1.8 - is it a GOOD idea?
stridmann at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 10

I think you should get a faster server. It's pretty slow even for a free server.

One problem i noticed about the game is the key input. if you push two keys to fast it does nothing. I made a snake game and had the same problem. You could solve this with a keybuffer.

Heres an example of my game:

http://www.myegoodies.com/4kgames

egoodies at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 11
Hey people!I just re-wrote my Snake Game (compiled it as JDK 1.1.8 version).Check it please: http://stridmann.narod.ru/java/snake3/And who has some free time, look at my unfinished project: http://stridmann.narod.ru/java/lsquad/
stridmann at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...
# 12

This time, it load MUCH faster. In fact, the start immediatly, as it should be. The snake move a bit faster, this is nice too. A question however : does the + and - keys really control the speed? They don't seem to do anything. And also a little suggestion : make the level finish when the snake have eaten enough to reach its maximum size, not when its have grown to that size. As it is now, the game tend to change level when the player don't expect it, and start the next one before he even realize it (not fun when you bump in a cactus because of this). Or maybe having to start the game with a specific key would be okay too (space would be appropriate).

Dantre at 2007-7-7 1:43:22 > top of Java-index,Other Topics,Java Game Development...