Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazeycode/escape-guldur
A minimalistic "retro action RPG" written in Zig for the WASM-4 fantasy console
https://github.com/hazeycode/escape-guldur
2d game retro wasm wasm-4 zig
Last synced: 2 months ago
JSON representation
A minimalistic "retro action RPG" written in Zig for the WASM-4 fantasy console
- Host: GitHub
- URL: https://github.com/hazeycode/escape-guldur
- Owner: hazeycode
- License: mit
- Archived: true
- Created: 2022-08-16T13:44:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T11:10:11.000Z (over 1 year ago)
- Last Synced: 2024-07-30T21:09:06.528Z (5 months ago)
- Topics: 2d, game, retro, wasm, wasm-4, zig
- Language: Zig
- Homepage: https://hazeycode.itch.io/escape-guldur
- Size: 305 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Escape Guldur
A "retro" action-RPG written in [Zig](https://ziglang.org/) for the [WASM-4 fantasy console](https://wasm4.org/). Originally made for [WASM-4 Jam #2](https://itch.io/jam/wasm4-v2).
## Building
#### Requirements
- [Zig 0.10.x](https://github.com/ziglang/zig)
- [WASM-4](https://wasm4.org/docs/getting-started/setup)
- [wasm-opt](https://www.npmjs.com/package/wasm-opt)Build and run all tests with:
```shell
zig build test
```Build (debug) the cart (zig-out/lib/cart.wasm) by running:
```shell
zig build
```then run it with:
```shell
w4 watch zig-out/lib/cart.wasm
```Produce a size-optimised release build (zig-out/lib/opt.wasm) by running:
```shell
zig build -Drelease-small=true release
```and remember to test it with:
```shell
w4 run zig-out/lib/opt.wasm
```## Distribution
```shell
cp zig-out/lib.opt.wasm game.wasm
wapm login
wapm publishw4 bundle game.wasm --title "Escape Guldur" --html escape_guldur.html
```