Go to file
Louis Pearson 8fe3e42752 Update flake.nix 2022-08-26 10:17:13 -06:00
assets Add direction enum, improve wire loading/saving 2022-08-11 00:42:48 -06:00
deps Begin adding directed conduit pieces 2022-08-10 17:17:25 -06:00
src Add direction enum, improve wire loading/saving 2022-08-11 00:42:48 -06:00
tools Add direction enum, improve wire loading/saving 2022-08-11 00:42:48 -06:00
.gitignore Get wapm working 2022-08-17 19:40:50 -06:00
.gitmodules Add zig-ldtk 2022-08-03 16:23:15 -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 Succesfully load autotiles 2022-08-04 01:59:32 -06:00
bundle.sh Refine bundle/push scripts, remove death 2022-08-01 16:41:06 -06:00
changelog.md Create changelog 2022-08-01 17:29:23 -06:00
flake.lock Update flake.nix 2022-08-26 10:17:13 -06:00
flake.nix Update flake.nix 2022-08-26 10:17:13 -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