https://github.com/whatupdave/zigwasm
Trying out game development in zig targeting the web
https://github.com/whatupdave/zigwasm
gamedev zig
Last synced: about 2 months ago
JSON representation
Trying out game development in zig targeting the web
- Host: GitHub
- URL: https://github.com/whatupdave/zigwasm
- Owner: whatupdave
- Created: 2019-06-16T04:47:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T00:42:48.000Z (over 3 years ago)
- Last Synced: 2025-10-10T14:27:36.704Z (9 months ago)
- Topics: gamedev, zig
- Language: TypeScript
- Homepage: https://whatupdave.github.io/zigwasm/
- Size: 3.72 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zig + wasm
Experimenting with zig web game development.
Check out its majesty: https://whatupdave.github.io/zigwasm/
# Run
In one tab run zig compiler on watch:
```
$ fswatch src/main.zig | while read f; do clear; zig build install --prefix web && echo $(date); done
```
In another tab start parcel to build web:
```
$ yarn start
```
The game should now be running at http://localhost:1234 and will auto reload if zig or javascript changes.