Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 3 [4]
  ignore  |  Print  
  Doodle Jump for PC  (Read 62461 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel


Medals: 341
Projects: 2
Exp: 5 years


I'm the King!


« Reply #90 - Posted 2011-12-13 21: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
« Reply #91 - Posted 2011-12-13 21: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)

Offline ra4king

JGO Kernel


Medals: 341
Projects: 2
Exp: 5 years


I'm the King!


« Reply #92 - Posted 2011-12-13 23: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #93 - Posted 2011-12-13 23: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
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #94 - Posted 2011-12-13 23: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
Offline BoBear2681

JGO Coder


Medals: 18



« Reply #95 - Posted 2011-12-13 23: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


Medals: 341
Projects: 2
Exp: 5 years


I'm the King!


« Reply #96 - Posted 2011-12-14 00: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 Kernel


Medals: 202



« Reply #97 - Posted 2011-12-14 00:32:54 »

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

JGO Kernel


Medals: 341
Projects: 2
Exp: 5 years


I'm the King!


« Reply #98 - Posted 2011-12-14 00:36:33 »

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

Offline philfrei
« Reply #99 - Posted 2011-12-14 00: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.

"Greetings my friends! We are all interested in the future, for that is where you and I are going to spend the rest of our lives!" -- The Amazing Criswell
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 341
Projects: 2
Exp: 5 years


I'm the King!


« Reply #100 - Posted 2011-12-14 01: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
« Reply #101 - Posted 2011-12-14 01:51:24 »

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

Pages: 1 2 3 [4]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (16 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!