Doodle Jump for PC

Looks like your system doesn’t support Little-ending wav files :confused:

Pretty vanilla Ubuntu. Maybe something to consider.

What do you mean? It has nothing to do with the OS, the same problem can happen on Windows, it only means that there is no appropriate mixer supporting this kind of line.

It works for me whereas I use only Linux. I’ll test again at home.

What jvm (jdk) are you using?

I use Oracle Java 1.6 update 25 & 26. With OpenJDK 1.6, I have often no sound as many Java applications try to get Java Software Audio Mixer which is only in Oracle Java. Maybe OpenALSoft would be a better solution than plain JavaSound.

Great game! Have not seen the original version, so enjoying it very much. Works smoothly on my thinkpad x200 with Win7.

Is it possible to start playing with keyboard only, i.e. to press somehow “Play Again!”?

I was thinking of doing that. I’ll make “ENTER” automatically start a new game.

Thanks for playing!

Can a mod/Duke rate my game please? :slight_smile:

:o Now I can’t get it to start, just a black screen. I’ll try in Chrome.

Installation: +0 - I took off a point because it won’t run in Safari and took literally 18 minutes to download all of its assets and start
Stability: +0.5 points - The game didn’t crash, but after I went to the high score menu then back to the main menu and started a game, it was frozen and wouldn’t continue
Presentation: +0 - The presentation feels kind of lackluster, honestly. Could use a little bit of sprucing up.
Graphics: +1 point if the game has “good” graphics that suit the game - although I’d make your own graphics instead of lifting the Doodle Jump ones directly
Sound: +1 point if the game has “good” sound that suit the game
Style: +1 point if the game’s overall style is “good”
Innovation: +0 - A clone of Doodle Jump, so nothing new
Fun Factor: +1 point if your judge enjoyed playing the game
Completeness: +1 point if the game is complete enough that doesn’t feel anything is missing
Freebie: +1 point if you don’t whine and you demand nothing of the mods (simply saying “can you rate my game please” is fine)
6.5/10

Not featured, yet. It is what it is (a clone of Doodle Jump), but you can still be featured for sure if you fix some things. #1 most important and easiest win is to make the game start up faster than 18 minutes. That’s pretty crazy, no player is going to stick around for that. Especially because the game isn’t exactly graphically intensive. Maybe you need a faster server? The Safari problem might not even be your issue, I wouldn’t worry too much about it yet. I’d try to repro my bug that I knocked off 0.5 for stability (play the game, die, go to high scores, navigate around in them, go back to the main menu, start the game, notice it never unpause).

If you fix both of those, you’re up to an 8 which is easily featured (you only need a 7). But I’d also look to improving your presentation, generally just making the game more responsive and feel better to interact with. Right now it feels finicky and kind of… applet-y (sorry to say).

Does all that seem fair, and does it make sense?

18 minutes?! :o It’s only a 4MB jar file and I have an upload speed of 1-4Mbps :confused:
On the slow internet at my school, it downloads in ~2-3 minutes. I’ll try to shrink the jar, maybe it’s my usage of WAV sound files…
I have received a lot of complaints about sounds not working in Linux, so I’ll end up using OGG over WAV and that might reduce the size of the jar A LOT.

The freezing is unexplainable. It has worked for me on Windows and all the Macs that I have tried at the Apple Store. Maybe you get an exception?

For presentation, I agree. My choice of font/color might not be best so I’ll try to improve those :slight_smile:

The game is mainly for people who want an almost exact experience of Doodle Jump but on their computers, plus I suck at art :stuck_out_tongue:

Thanks!!

Maybe try using Paul Lamb Sound Library with one of its OpenAL plugin or the simple line mixer to work around your sound problems on Linux.

I get this:
java.io.IOException: Error loading clip: jar:http://ra4king.is-a-geek.net/games/JDoodleJump/JDoodleJump.jar!/res/sounds/jump.wav: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
at a.v.b(Sound.java:26)
at a.v.a(Sound.java:1)
at a.b.a(Assets.java:25)
at a.c.run(Assets.java:126)
at java.lang.Thread.run(Thread.java:662)

Yep that’s the error a lot of people get. I don’t want to sign my jar files so I’ll use an OGG plugin for JavaSound.

By the way, I looked and my images are 2MB and sound files are 3MB! Converting the WAV files to OGG shrinked them all to 1MB. Yay :slight_smile:

Yeah that is a very long time. If another judge has a better experience I don’t mind them changing that 0 to a 1 and bumping you to featured.

Hm every time I try again it stays paused permanently on Mac OS X with Chrome (no clicking or button presses will fix it), I must reload.

4MB sounds really large for a game of this size. It looks like by far, most of your jar is images and sounds. For sounds, switching to ogg will help a lot, and/or load the sounds off the server will reduce the initial jar’s size. You could also shrink your sound quality, as 44Khz stereo audio is probably overkill for this game. For the images, do they really need to be 32-bit color?

You could also lazy load the themes when the user presses ‘S’ to shrink the game jar.

All that said, the game itself looks great, just slow to load (about 2 minutes of spinning Java logo here).

Lazy loading of themes is genius!! Thanks a ton for that idea! :slight_smile:

EDIT: Default theme + OGG sound files = 1.3MB :smiley:

Have you compressed the images with pngcrush, or some kind of online service like smush.it?

No I have never heard of those, thanks for the link.

Just a reminder, as an alternative to storing sound files, you can generate the music on the fly.

FM has tremendous possibilities, imho. The above is one of the most compact implementations I’ve ever seen. Sound effects like the “ray guns” in my WarOfWorlds audio mixer sound demo are very lightweight, and low latency.