Hello Guest

Web games with LWJGL?

  • 2 Replies
  • 6630 Views
Web games with LWJGL?
« on: March 14, 2017, 14:45:00 »
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

Re: Web games with LWJGL?
« Reply #1 on: March 14, 2017, 15:40:26 »
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.

*

Offline kappa

  • *****
  • 1319
Re: Web games with LWJGL?
« Reply #2 on: March 14, 2017, 17:22:24 »
There is also the LibGDX library which has a LWJGL backend for the desktop and GWT one for web games.