Login / Register

Share:


Author:

Kevin

cats


Login to rate this game!

Avg Rating:

(0.0 avg / 0 votes)

May's theme: Android!

Lwjgl Test

Play this game as:

Applet Web Start Source

(Which version do I want?)

Click a tab to play this game!

This is an example of a game that uses LWJGL. Support for LWJGL has been in the pipeline for a while, and this is me testing it out.

I don't know anything about LWJGL, so I got the source code for the webstart from here and the applet from here.

All I did was include those Java files in a Jar, upload it, and then check the LWJGL checkbox under the Language tab of the Static Void Games uploader.

It seems to work for me!

Comments (newest first)

09:03:15 PM - Friday, August 24, 2012

Awesome, it works perfectly for me now!

Ah, the Java cache. I don't do any versioning, doing something better with that has been on my todo list forever.

For now a workaround is to rename the jar or clear out your Java cache. Not the best solution, but it should do the trick.

08:56:18 PM - Friday, August 24, 2012

Wait, I used the wrong JAR file..   My bad.  However, it is still looking for the old JAR and other old settings.  Did you remember to configure it to either not use a cache OR to update the version number with every new upload?

08:31:17 PM - Friday, August 24, 2012

Thanks for testing things out.

It looks like the problem is that you specified the applet class as kontrol.main.Driver, but looking at the contents of the jar, I can see a kontrol.worldgen.Driver, but no kontrol.main.Driver. Maybe just a typo?

08:23:13 PM - Friday, August 24, 2012

Well, I put up something to test uploading the code myself, and it didn't work.  The place where it is posted is here:  http://staticvoidgames.com/play/?game=KontrolsTerrainTest

The error it gave me is that it could not find the main class, which means it might be an issue with whatever is loading it.  It does work fine on my site however over here: http://www.kontrolindustries.net/?page_id=78

08:08:25 PM - Friday, August 24, 2012

Awesome, thanks! I'm more curious about whether other people  can upload their own LWJGL games. I want to make sure I didn't miss anything that people need!

08:00:46 PM - Friday, August 24, 2012

It works for mel.  I do some LWJGL coding as well so if you need help then feel free to contact me on Twitter @KontrolKeal

Login to leave a comment!

Advertisement