Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
/ escape-guldur Public archive

A minimalistic "retro action RPG" written in Zig for the WASM-4 fantasy console

License

Notifications You must be signed in to change notification settings

hazeycode/escape-guldur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Escape Guldur

A "retro" action-RPG written in Zig for the WASM-4 fantasy console. Originally made for WASM-4 Jam #2.

screenshot screenshot screenshot

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