OpenGL Web Games With LWJGL

A few days ago, I resumed development on the Smiley Puzzle Project. I am using LWJGL (Lightweight Java Game Library) for this game, an OpenGL and OpenAL binding for Java.

I was excited to learn that in the mean time, beta 3 of version 1.0 of LWJGL has been released, featuring some cool improvements:

  • The DevIL library works again on MacOS X, making it possible to use it for my cross-platform projects. DevIL is an image library, that allows to load and convert images to OpenGL format natively. I changed my texture loading code to make use of DevIL, which made it 5 to 8 times faster! This code used to take about 26 seconds on my 4 year old PowerBook, and now it executes in about 4 seconds! :D
  • But perhaps the coolest feature of all, is that LWJGL can now be used in a Java Applet! It can temporarily install the necessary native libraries in the users temp dir, giving you the power of OpenGL, OpenAL and DevIL in your applet! Converting an existing game to a webgame can thus be done with minimal effort, as you can see in the LWJGL tutorial.

After finding out about these, I’m confident I made the right choice by using Java and LWJGL for my game development. Maybe I’ll make a free online version of Bubblomania with this API. It could be a nice project to get up to speed with LWJGL, and start off my life as an independent game producer next week! :)

Related Articles:

Text Link Ads

2 Responses to “OpenGL Web Games With LWJGL”

  1. First Day As An Indie » Dark Moon Blog Says:

    […] The new mini project I started is called Bubblomania Online. As the name suggests, it will be an online version of a part of Bubblomania X, my MacOS X arcade game. The reason I start with this project, is to get up to speed with the LWJGL API, and create some reusable components in the process. […]

  2. To Flash Or Not To Flash? » Dark Moon Blog Says:

    […] Bubblomania is written in Java, using the LWJGL library. I’ve written previously why I like these technologies. But the feedback on the game made me doubt my decision. I still think Java and LWJGL are great tools to make downloadable games that need the performance. But they’re probably the wrong tools to make webgames… […]

Leave a Reply