Breakout like game made with Rust and Macroquad. Developed as a way to start learning Rust.
Made using the crate macroquad
- Run with
cargo runthis will build an app and the wasm files.
-
Run
cargo build --target wasm32-unknown-unknownto build the.wasm.If you want you can run
cargo build --target wasm32-unknown-unknown --releaseto 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.htmlfile on.The
index.htmllinks to the wasm file, check macroquad wasm instructions for more details.