Programming => Lightweight Java Gaming Library => Topic started by: devil0150 on March 14, 2017, 14:45:00
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.
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 (https://github.com/sriharshachilakapati/WebGL4J) and GWT-AL (https://github.com/sriharshachilakapati/GWT-AL) which adapt part of LWJGL's bindings (OpenGL and OpenAL, specifically) to WebGL and Web Audio, respectively, using the Google Web Toolkit.
There is also the LibGDX (https://libgdx.badlogicgames.com/) library which has a LWJGL backend for the desktop and GWT one for web games.