wired/README.md

26 lines
508 B
Markdown
Raw Normal View History

2022-08-17 19:23:19 -06:00
# Wired
A puzzle platformer with wires.
## Controls
2022-08-17 19:40:29 -06:00
- Left/Right: Move left and right
- Up/Down: Look at items above and below
- X: Jump
- Z: Select
2022-08-17 19:23:19 -06:00
## Dependencies
- `zig` to compile the code
- `wasm-opt` to optimize the generated wasm file for release. It is a part of `binaryen`
- `wasm4` to run the generated cart
## Building
``` shellsession
git clone --recursive
zig build # makes a debug build
w4 run zig-out/lib/cart.wasm
zig build opt -Drelease-small # optimize cart size for release
```