Example of LVLG in Rust compiled to WASM.
Find a file
2020-09-21 20:07:36 +02:00
include Example compiles to emscripten 2020-09-21 20:07:36 +02:00
src Example compiles to emscripten 2020-09-21 20:07:36 +02:00
.gitignore Example compiles to emscripten 2020-09-21 20:07:36 +02:00
Cargo.lock Example compiles to emscripten 2020-09-21 20:07:36 +02:00
Cargo.toml Example compiles to emscripten 2020-09-21 20:07:36 +02:00
LICENSE Initial commit 2020-09-21 20:06:42 +02:00
README.md Example compiles to emscripten 2020-09-21 20:07:36 +02:00
Web.toml Example compiles to emscripten 2020-09-21 20:07:36 +02:00

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"