Advantages of having a second, WebGL backend

Hello Monkeys,

Maybe something to chat about. - I’ve done a bit of research lately on how it would be possible to expand our platform support via java. Sadly many devices besides mobile and desktop don’t have JVM support.
The only way to solve platform support issues is to likely have more language support.
C# is most similar to java, and would allow us to have Xbox support, but then no in-the-box support for anything non-Microsoft. Any other C like language will have similar cross-platform compatibility issues.

So I thought of something different if we should have a non-java backend, I believe the best solution is to use a WebGL/HTML5 backend. I’ll list some advantages.

  • Can Serve as a replacement to Applet, allowing web games, and HTML games can even be played on Xbox https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/development-lanes-html. Essentially, desktop/mobile support via Java, and Web/Xbox support via HTML/JS

  • This follows from the first point, support for web/console might give us an edge over some smaller competing engines

  • As far as know, a WebGL backend won’t be as hard to add support for and maintain as another C like language backend.

  • HTML5/Javascript are very popular languages right now, it shouldn’t be hard to get some web developers on board to help out.

For now, let’s leave this as an idea for discussion.
Any comments?

THe libgdx html5 backend uses GWT, if you want to check it out and see what you can do:

1 Like