Web games with LWJGL?

Started by devil0150, March 14, 2017, 14:45:00

Previous topic - Next topic

devil0150

Hello,

I'm looking for a library to develop web games, and I'm considering LWJGL. Can games built with LWJGL run on the web? All information I could find is pretty old, 2013 or earlier.

Thanks.

Kai

If by Web you mean in a web browser with HTML/WebGL (and not something like an Applet), then no it cannot. LWJGL is explicitly for Desktop (and as of very recently, Android) development.
But you might be interested in WebGL4J and GWT-AL which adapt part of LWJGL's bindings (OpenGL and OpenAL, specifically) to WebGL and Web Audio, respectively, using the Google Web Toolkit.

kappa

There is also the LibGDX library which has a LWJGL backend for the desktop and GWT one for web games.