LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Web games with LWJGL?  (Read 398 times)

devil0150

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
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.
Logged

Kai

  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 899
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.
Logged

kappa

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1305
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.
Logged