Simple space shooter game, to learn some rust & demo the macroquad library. Step-by-step instructions here: https://mq.agical.se/SUMMARY.html
Find a file
2025-12-14 12:17:02 -07:00
src add (hopefully) better error handling 2025-12-14 12:09:32 -07:00
Cargo.lock add sound effects & music 2025-12-09 22:48:51 -07:00
Cargo.toml add sound effects & music 2025-12-09 22:48:51 -07:00
Dockerfile add simple dockerfile 2025-12-14 11:10:18 -07:00
index.html add index/js, README 2025-12-14 12:17:02 -07:00
mq_js_bundle.js add index/js, README 2025-12-14 12:17:02 -07:00
README.md add index/js, README 2025-12-14 12:17:02 -07:00

Macroquad test game

Code & guide here

Assets

Missing from the repo is the assets dir, which can be downloaded here.

wget https://mq.agical.se/assets.zip
unzip assets.zip

This contains the sound effects, and graphics for the UI, ships, and projectiles.

Running

You can run simply w/ cargo run

To build the wasm, you'll want to make sure you have rustup installed, then run the following:

rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown

Make sure the index.html is correctly pointing at the mq_js_bundle.js and the wasm file.