Get wapm working

master
Louis Pearson 2022-08-17 19:40:29 -06:00
parent e2fb6a88ae
commit 8348ff7c4c
4 changed files with 9 additions and 6 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/zig-out /zig-out
/src/zig-cache/ /src/zig-cache/
/bundle/ /bundle/
wapm_packages

View File

@ -4,10 +4,10 @@ A puzzle platformer with wires.
## Controls ## Controls
Left/Right: Move left and right - Left/Right: Move left and right
Up/Down: Look at items above and below - Up/Down: Look at items above and below
X: Jump - X: Jump
Z: Select - Z: Select
## Dependencies ## Dependencies

View File

@ -4,14 +4,15 @@ version = "0.2.0"
description = "A puzzle platformer game with wire physics." description = "A puzzle platformer game with wire physics."
readme = "README.md" readme = "README.md"
repository = "https://github.com/desttinghim/wired" repository = "https://github.com/desttinghim/wired"
license = "ISC"
[[module]] [[module]]
name = "wired" name = "wired"
source = "zig-out/lib/cart.wasm" source = "wired.wasm"
abi = "wasm4" abi = "wasm4"
interfaces = { wasm4 = "0.0.1" } interfaces = { wasm4 = "0.0.1" }
[[command]] [[command]]
runner = "wasm4@0.0.1" runner = "wasm4@0.0.1"
name = "play" name = "play"
module = "game" module = "wired"

BIN
wired.wasm Normal file

Binary file not shown.