A game written in Rust for the WASM-4 fantasy console.
🚀 Play it here!
📖 Read the engine documentation here!
- No memory allocation (and no-std)
- Configurable grid size using const values (just change the
CELL_SIZE
value in the ./src/logic.rs file) - Uses a simple ad-hoc WASM-4 wrapper called wasm4-sx
- Uses a custom made "tracker" to generate the soundtrack: wasm4-tracker
- The WASM-4 CLI (
w4
) - A stable Rust compiler with the
wasm32-unknown-unknown
target - The Just command runner
- wasm4-tracker to build the music track from the YAML file
cargo install --git https://github.com/Srynetix/wasm4-tracker
For release builds:
For WASM analysis (analyze
tasks):
- Optionally, for WASM analysis, the twiggy tool
You can type just
to see the different build and export tasks.
Here are some examples:
# Build the cartridge in release mode + strip and run WASM-4 on web
just run-release-web
# Build the cartridge in release mode + strip and run WASM-4 on native mode
just run-release-native
# Build the cartridge in release mode + strip and export to HTML file
just export-release-web
# Build the cartridge in release mode + strip and export to Windows EXE file
just export-release-exe