3 ms·
The original SDL support was a JavaScript implementation of just enough of 1.x to get things compiling. SDL2 cross-compiles to JavaScript properly and should b
by vitovito 10y ago
The original SDL support was a JavaScript implementation of just enough of 1.x to get things compiling.
SDL2 cross-compiles to JavaScript properly and should be used by most things now.
- scrame 10y agoso emscripten provides the sdl binding? I was assuming it'd cover libc, but does that mean it's part of the ecosystem or the compiler? I feel like I'm just asking dumb toolchain questions because I'm missing something fundamental about targeting an executable build to the browser.
- corysama 10y agoI think this is what you are missing. https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html https://kripken.github.io/emscripten-site/docs/porting/conne...