-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
Description
wasm32-unknown-emscripten
is a great target for compiling and running games using WebAssembly, particularly because it can produce web pages that run on most browser platforms instead of having to maintain and ship binaries for Windows, Linux, etc. separately.
There is a port of SDL2 officially maintained by the emscripten project. I have been using it off and on for about a year, bundling and statically linking it with this crate behind pistoncore-sdl_window
You can see the progress I've made on my rust-sdl2
fork, though it is hacked together and breaks other targets in its current state, that can theoretically be fixed. I'd love to eventually get it cleaned up and merged upstream.
jdm204, Zireael07, hikari-no-yume, leocavalcante, Newbytee and 6 more