Go to file
Louis Pearson 8348ff7c4c Get wapm working 2022-08-17 19:40:50 -06:00
assets Get saving working better 2022-01-31 00:31:02 -07:00
src Refine bundle/push scripts, remove death 2022-08-01 16:41:06 -06:00
.gitignore Get wapm working 2022-08-17 19:40:50 -06:00
README.md Get wapm working 2022-08-17 19:40:50 -06:00
build-assets.sh Begin using world coordinates for everything 2022-01-22 18:08:53 -07:00
build.zig Update build, add nix flake 2022-08-01 11:44:28 -06:00
bundle.sh Refine bundle/push scripts, remove death 2022-08-01 16:41:06 -06:00
flake.lock Update build, add nix flake 2022-08-01 11:44:28 -06:00
flake.nix Refine bundle/push scripts, remove death 2022-08-01 16:41:06 -06:00
map2src.zig Get saving working better 2022-01-31 00:31:02 -07:00
push.sh Refine bundle/push scripts, remove death 2022-08-01 16:41:06 -06:00
wapm.toml Get wapm working 2022-08-17 19:40:50 -06:00
wired.wasm Get wapm working 2022-08-17 19:40:50 -06:00

README.md

Wired

A puzzle platformer with wires.

Controls

  • Left/Right: Move left and right
  • Up/Down: Look at items above and below
  • X: Jump
  • Z: Select

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

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