RobLoach / raylib-duktape

zlib License
32 stars 0 forks source link

Raylib-JS contribution #7

Open NimbusFox opened 3 years ago

NimbusFox commented 3 years ago

As discussed on discord

RobLoach commented 3 years ago

Thanks for making the issue! Definitely have been considering switching it up a bit. This currently uses Duktape, which is a very stripped down version of JavaScript, and doesn't run in the browser.

Would like to move this over to Web Assembly with emscripten. What that would allow is running in the browser, and interacting with raylib directly from JavaScript. We could even have a desktop port using the wasm c ports too. Experimented with some of that over at node-raylib repo https://github.com/RobLoach/node-raylib/pull/14