Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 3 [4]
  Print  
  Doodle Jump for PC  (Read 44393 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel
*****

Posts: 3153
Medals: 196


I'm the King!


« Reply #90 on: 2011-12-13 15:19:59 »

18 minutes?! Shocked It's only a 4MB jar file and I have an upload speed of 1-4Mbps :/
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 Smiley

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

Thanks!!

Offline gouessej

JGO Kernel
*****

Posts: 3558
Medals: 30


TUER


« Reply #91 on: 2011-12-13 15:55:28 »

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)

Julien Gouesse
Offline ra4king

JGO Kernel
*****

Posts: 3153
Medals: 196


I'm the King!


« Reply #92 on: 2011-12-13 17:13:21 »

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 Smiley

Games published by our own members! Go get 'em!
Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3573
Medals: 44


Game Engineer


« Reply #93 on: 2011-12-13 17:13:55 »

18 minutes?! Shocked It's only a 4MB jar file and I have an upload speed of 1-4Mbps :/
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 Smiley

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

Thanks!!
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.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3573
Medals: 44


Game Engineer


« Reply #94 on: 2011-12-13 17:15:24 »

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.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Offline BoBear2681

Full Member
**

Posts: 238
Medals: 8



« Reply #95 on: 2011-12-13 17:59:16 »

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).
Offline ra4king

JGO Kernel
*****

Posts: 3153
Medals: 196


I'm the King!


« Reply #96 on: 2011-12-13 18:14:11 »

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

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

Offline sproingie

JGO Strike Force
***

Posts: 894
Medals: 55



« Reply #97 on: 2011-12-13 18:32:54 »

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

JGO Kernel
*****

Posts: 3153
Medals: 196


I'm the King!


« Reply #98 on: 2011-12-13 18:36:33 »

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

Offline philfrei

Sr. Member
**

Posts: 493
Medals: 24



« Reply #99 on: 2011-12-13 18:53:29 »

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

http://www.java-gaming.org/topics/ogg-vorbis-is-a-red-herring/25105/msg/215412/view.html#msg215412

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.

"Life is short, art long, opportunity fleeting, experience treacherous, judgment difficult." Smiley
Games published by our own members! Go get 'em!
Offline ra4king

JGO Kernel
*****

Posts: 3153
Medals: 196


I'm the King!


« Reply #100 on: 2011-12-13 19:19:25 »

Thanks for the link, I already have that page bookmarked for future references Tongue
However, those sound files are the closest to the actual Doodle Jump sounds. Using PNGCRUSH and lazy loading, Default theme + OGG files are now 1.2MB instead of the previous total 5MB!! Thanks a ton guys!

Offline ReBirth

JGO Wizard
****

Posts: 1272
Medals: 19



« Reply #101 on: 2011-12-13 19:51:24 »

Now for last, write the code in four kay style Tongue

Pages: 1 2 3 [4]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.134 seconds with 20 queries.