rust-sdl2-emscripten

Full Rust + SDL2 cross-platform WebAssembly demo

Active Updated 2mo ago

A comprehensive demo project exploring Rust with SDL2 and Emscripten for cross-platform development. Features cross-platform build scripts with GitHub Actions for Windows, Linux, and WebAssembly, all SDL2 extensions enabled (Image, Mixer, TTF, GFX), Emscripten Asyncify for the game loop, and JavaScript interop including LocalStorage. Includes special Windows packaging for DLLs.

§01

Gallery

Built with
Emscripten Game Rust SDL2 WebAssembly