Khumeia

Hi ;D

This is my first release in Java/Lwjgl. It seem to work fine under Windows (xp). I have test it under Linux (no music :-. Is there a problem using JLayer and OpenAL at the same time ???). I didn’t test it under Mac.

There is still some work to do (it is lagy with a lot of objects).

So there it is : Khumeia

How to play :

  • Drag the balls to make a pack of 5 balls of the same color.
  • Do not care if there is a lot of ball next to the one you want to move, you can “force” it :P.
  • To remove a “boss” ball, you will need a bigger pack
  • if a ball fall down outside the “tube”, you lose

The aimed frame rate is 50 FPS (to easily lagy with 60 FPS :’() and the highscore are only so please leave your name :wink:

works as advertised - no problems with fps on default window size. (Windows XP, Q6000, Radeon x300, Java 6 ea)

Do the balls have to lie still before they “pop”?
I was expecting a move cartoony type of music ?

Played perfectly, with full audio, under Lepoard (10.5.1), 2GB MacBookPro. Great job!

[quote]works as advertised - no problems with fps on default window size. (Windows XP, Q6000, Radeon x300, Java 6 ea)
Do the balls have to lie still before they “pop”?
I was expecting a move cartoony type of music ?
[/quote]
They do not have to exactly lie still (if there is a chaine for one frame, it work). But sometimes it seems that they are in contact but that not really true.

[quote]Played perfectly, with full audio, under Lepoard (10.5.1), 2GB MacBookPro. Great job!
[/quote]
I’m happy to hear that ;D (I love java for that)

If some Linux user can say me if the music work for them, it would be great (or if anyone had the same problem)

No problem with the sound and the techno music :slight_smile: under Mandriva Linux 2007 ;D

Running on Ubuntu Linux 7.10 and sound just works fine :slight_smile:
By the way, nice “physics” ^^

[quote]No problem with the sound and the techno music Smiley under Mandriva Linux 2007 Grin
[/quote]

Thanks for the test (Why it doesn’t work for me ??? I’m under Ubuntu 7.10 too… a problem with a driver may be).
Physics was soooooo difficult to do… you take Phys2d and… finish :wink:

Runs fine and smooth. Time to use Phys2D for myself…

3500+, radeon200

^^

Works fine. Matching is a bit fiddly tho. Maybe you could add a very small pulling force between identical pieces if they are very close to each other… or something like that.

Oh and for highscores - always use a fixed-width font. A score with more digits should be always wider than one with less.

Hmmm it seems a good idea. I will take a look to do that.

I found it difficult to get a feel for whether or not the balls are forming clusters. Maybe you could add a bit of visual feedback, such as a glowing line that connects two balls when they’re touching?

Also, it seemed to take a little time for the game to get interesting at the start. It didn’t feel to me that there was much to do while the first ten or so balls appeared. Maybe the cluster size could start small (three balls initially, say) and increase back to five once the player has scored a few points? That might also make the gameplay easier to understand for people who don’t read instructions! :wink:

Good game, no technical issues, keep up the good work!
Simon

Update :

  • split the big jar in several ones (next update will be lighter :P)
  • set a fixed width for numbers in highscore (i should have use another font but it is not bad)
  • easier ball grouping. The force is with you ! (Two ball of the same color attract themself)

At the end of a game, i also add a resume (in the console) to know where time is spend (65% in world.step() as suspected)

Works fine with these settings (with music and sounds) :

AMD64 dual-core :
• WindowsXP Pro
• Ubuntu 7.10 64 bits

Intel P4 multi-threaded :
• WindowsXP Pro
• Ubuntu 7.10 32 bits

Note: when lots of display resolutions are available (“options” screen) -> there are many red boxes for “screen size” (I get 20 boxes with the 2nd computer) -> they go out from the rectangle on the right side.

Anyway, great work! An application like yours proves power of LWJGL and Java :slight_smile:
BTW is your souce code available somewhere? I would be interested in several points (eg: toggling screen res)

Keep going on with your good work :wink:

Thanks.

The code is not available right now. There is still some work to do.

For screen resolution, i should filter for those that have the correct aspect ratio. But i didn’t do it for people with wild screen (though there is a mouse problem with wild screen). May be i should do it.

For resolution toggling, there is not much to do with LWJGL :


   // Change the resolution

   Display.setDisplayMode(displayMode);
        
   width = displayMode.getWidth();
   height = displayMode.getHeight();
   activeDisplay = displayMode;

   // Update the opengl configuration

  GL11.glViewport(0,0,width,height);
  GL11.glMatrixMode(GL11.GL_PROJECTION);
  GL11.glLoadIdentity();
  GLU.gluOrtho2D(0.0f, 800, 0.0f, 600); 
  GL11.glMatrixMode(GL11.GL_MODELVIEW);
  GL11.glLoadIdentity();