wasmer run hazeycode/escape-guldur
Escape Guldur
A retro action-RPG written in Zig for the WASM-4 fantasy console. Originally made for WASM-4 Jam #2.
Building
Requirements
Build and run all tests with:
zig build test
Build (debug) the cart (zig-out/lib/cart.wasm) by running:
zig build
then run it with:
w4 watch zig-out/lib/cart.wasm
Produce a size-optimised release build (zig-out/lib/opt.wasm) by running:
zig build -Drelease-small=true release
and remember to test it with:
w4 run zig-out/lib/opt.wasm
Distribution
cp zig-out/lib.opt.wasm game.wasm
wapm login
wapm publish
w4 bundle game.wasm --title "Escape Guldur" --html escape_guldur.html