[howto] Access LWJGL from JavaScript

Started by codifies, October 26, 2015, 19:25:33

Previous topic - Next topic

codifies

More madness I hear you cry!  :o

Scripting can be invaluable for adding flexibility to a game / engine, but I was surprised just how easy it is to access LWJGL from JavaScript, while you probably wouldn't want to do everything from JavaScript you can!

a simple example here http://bedroomcoders.co.uk/lwjgl-everywhere-even-from-javascript/

a bit more complex with a textured shader here http://bedroomcoders.co.uk/lwjgl-and-javascript-taking-it-further/

Enjoy!