Example of LVLG in Rust compiled to WASM.
include | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
Web.toml |
Setup
Install Emscripten https://puddleofcode.com/story/definitive-guide-to-rust-sdl2-and-emscriptem
$ embuilder.py build sdl2
$ export EMMAKEN_CFLAGS="-s USE_SDL=2"