hazeycode/escape-guldur
A minimalistic "retro action RPG" written in Zig for the WASM-4 fantasy console
A minimalistic "retro action RPG" for the WASM-4 fantasy console.
Originally made for WASM-4 Jam #2.
To start a dev shell using Nix, just type:
nix develop
Build and run a native (debug) executable:
zig build run-native
Produce a size-optimised release build (zig-out/lib/opt.wasm):
zig build release -Doptimize=ReleaseSmall
Load and run in your browser:
w4 run ./zig-out/bin/cart_opt.wasm
Bundle into an HTML file for publishing:
w4 bundle ./zig-out/bin/cart_opt.wasm --title "Escape Guldur" --html ./escape_guldur.html
To publish to wasmer.io, first update wapm.toml. Then remember your username and password and use wapm:
wapm login
wapm publish