Breakout like game made with Rust and Macroquad. Developed as a way to start learning Rust.
Made using the crate macroquad
- Run with
cargo run
this will build an app and the wasm files.
-
Run
cargo build --target wasm32-unknown-unknown
to build the.wasm
.If you want you can run
cargo build --target wasm32-unknown-unknown --release
to create a release build. -
If you want to run it on the web run
basic-http-server ./build/
the second argument is the path to the dir with theindex.html
file on.The
index.html
links to the wasm file, check macroquad wasm instructions for more details.