Rolly Dango, an isometric rolling puzzle made with WASM-4 by @samX500 and @willGuimont.
Try the game here or on itch.io!
Here's some key points of our project:
- We made our own ECS (entity-component-systems) from scratch
- To save cartridge space, we built our own Huffman coding algorithm
- To help ourselves make levels, we built our own level editor using p5.js
- Made all of our sprites using Aseprite
You'll need a nightly version of Nim because we need the -d:nimNoQuit
from this pull request. To do so, install the latest nightly with:
choosenim devel --latest
Optionally, you can install binaryen to optimize further the binary size.
# Debug mode
nimble dbg
# Release mode
nimble rel
nimble test
./deploy.sh
# Run compiled cartridge in your web browser
w4 run build/cart.wasm
# Run with hot reloading
w4 watch
# Run natively
w4 run-native build/cart.wasm
w4 png2src --nim top.png down.png left.png right.png
w4 bundle --html build/html/index.html --title Dango --description "Rolling puzzle game" --icon-file "assets/sprites/dangoBeeg.png" build/cart.wasm
w4 bundle --linux dango carts/cart.wasm