A game written in Rust for the WASM-4 fantasy console.
Written for the Rusty Jam 2 game jam. The theme is a picture of a dog combined with a chicken.
Click here to play on itch.io!
The objective is to combine items, and get the necessary items in order to eventually combine into a dogchicken.
Controls:
Z: Select the first item to combineX: Select the second item to combine<>^v: Move the cursor around the list of items
Ensure that you have w4 CLI installed (skip this step if you already have w4):
yarn global add wasm4w4 watchUpdate assets with the png2src script:
./png2src.shBuild the cart by running:
cargo build --releaseThen run it with:
w4 run target/wasm32-unknown-unknown/release/cart.wasmFor more info about setting up WASM-4, see the quickstart guide.
Ensure that you have binaryen optimizer installed: binaryen releases.
(NOTE: wasm-opt version must be > 98 to have --zero-filled-memory option).
Then, run the following:
./release.sh./tests.sh- Documentation: Learn more about WASM-4.
- Snake Tutorial: Learn how to build a complete game with a step-by-step tutorial.
- GitHub: Submit an issue or PR. Contributions are welcome!