Successfully converting Java2D <-> LWJGL <-> JOGL

Hooray!! At last I have finished porting my game engine, GTGE, graphics engine to LWJGL.
There’s not much difference with Java2D right now as I haven’t optimize it (I start making this conversion only on these 3-4 days lately), but still it have a little fps increment. :slight_smile:
The amazing one is, using alpha blending (translucent), the fps not drops but still fast as before!! :smiley:

The link (almost forgot this one) :
http://goldenstudios.or.id/products/games/bin/robosick.jnlp

Hope I have setup the DLL just right… And the linux and mac osx, never use these two OS, I just add libwjgl.so for linux and libwjgl.jnilib for mac osx
Anyway there is issue that my Java2D fullscreen mode not working in Java 1.5, please anyone test it in everymode (Java2D windowed/fullscreen bufferstrategy/not, OpenGL with LWJGL windowed/fullscreen vsync/not), and tell me which one not working, thanks a lot!

Now it’s credits time :slight_smile:
Thanks to kevglass for the wonderful spaceinvaders tutorial, Inquisitor for helping me with simply working code, and of course LWJGL team for making this wonderful LWJGL library :wink:

Okay, next JOGL, here I come ;D
I have made a working with JOGL, but really terrible, since they use listener stuff, does anyone here know how I can override and do the rendering manual? Not using that confusing listener? Oh okay, I better ask this in JOGL forum :slight_smile:

EDIT: I have successfully port it into JOGL now :smiley:

LWJGL one works flawlessly (natch). Java2D one throws a wierd exception about failing to set the screen mode or something, pops up a dialog box that can’t be clicked on (have to hit space to activate the OK button - don’t worry, not your fault, it’s a Swing bug).

Cas :slight_smile:

I had some serious movement issues where I all of a sudden coulcn’t move - the j2d version seemed to work fine though…

Gross, then my fullscreen mode is definitely not working in 1.5!! :frowning:
What’s the exception? I can’t figure if there’s no exception :frowning: cos everything is working just well in here.
Guess the 1.5 is not so compatible backward with 1.4…
Is the windowed mode working perfectly in both mode?

Don’t too worry about it Matzon :slight_smile:
When playing in very fast fps, sometimes the movement is not right, the rounding of x, y position makes the robo stuck inside a block.

Okay thanks for trying, the Java2D fullscreen mode bugs makes irritating, since I don’t know the exception, what is wrong, cos everything is just fine here with my 1.4…

PS: How about the fps? Try to type ‘hyperspeed’ to release the fps cap.
But still in vsync or bufferstrategy in fullscreen mode, the fps still capped to screen vsync.

My site is down a few days lately :frowning: But now it’s up again! :slight_smile:
I got a feedback from my friends, the game has 700 fps increment using LWJGL OpenGL!!
With Java2D he got 400 fps, with LWJGL he got 1100 fps, but JOGL is not working, don’t know why :frowning:
PS: he use Radeon 9600 pro

JOGL never works for me either. Intel Graphics blah :slight_smile: LWJGL has never given me anything but beauty.

Yup, now there are 2 tester said it, the game screen in JOGL version is messed! >:(
Don’t know what the problem, it working and no exception, just the screen is messy.
Can’t debug it since everything is fine in my lovely pc :slight_smile:

Works fine in Java2D and LWJGL (ATI Radeon X800XT, latest drivers, Java 1.5) and doesn’t render anything in JOGL. The game runs, but the window is black.
Framerate in Java2D and LWJGL is 50fps regardless of transparency.

Edit: Typing “hyperspeed”, transparency is 10 times faster with LWJGL (around 1300 fps) than it is with Java2D (130fps).

Wow 130 to 1300, that’s quite amazing, the performance increment is quite variety.
For the JOGL, the JOGL team has told me that ATI gfx card has this trouble, got to add they said.

Thanks for testing it :slight_smile:

Christ on a bike.

How long are people going to have to struggle with this kind of insanity?

-Dwork_properly=true

Cas :slight_smile: