LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: codifies on October 26, 2015, 19:25:33

Title: [howto] Access LWJGL from JavaScript
Post by: codifies on October 26, 2015, 19:25:33
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!