JME Running In Web Browsers

Perhaps see: JSME - Monkey engine with JSweet and WebGL - User Code & Projects - jMonkeyEngine Hub

Or just search GWT on the forums. Many topics on it.

There are several major issues with it:

  1. GWT has poor performance on anything of relative shader complexity.
  2. My understanding is that this only addresses the issue handling the front end from java to javascript. Things like the assetloader, or any reflective access will not work. Using Unsafe probably will not work (which is used heavily in jme for off heap buffers last I checked.)
  3. Loading external DLLs for opengl is hardcoded into jme, there would have to be modifications to the engine to stop the process of unpacking and loading the native libraries.

I’m sure there are other majors roadblocks as well, but these are three off the top of my head.

Perhaps others have dove into this deeper and have a better understanding of the limitations and road blocks.

2 Likes