Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charles-l/zig-raylib-template
A zig template for building games with raylib that compiles to a native exe or an emscripten app.
https://github.com/charles-l/zig-raylib-template
raylib template-repository zig
Last synced: about 2 months ago
JSON representation
A zig template for building games with raylib that compiles to a native exe or an emscripten app.
- Host: GitHub
- URL: https://github.com/charles-l/zig-raylib-template
- Owner: charles-l
- License: mit
- Created: 2022-11-05T22:11:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T17:09:34.000Z (11 months ago)
- Last Synced: 2024-12-20T14:54:32.627Z (about 2 months ago)
- Topics: raylib, template-repository, zig
- Language: Zig
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zig-raylib-template
A zig template for building games with raylib that compiles to a native exe or an emscripten app.
To build for desktop:
$ zig build
To build for web:
$ zig build -Dtarget=wasm32-wasi --sysroot ~/src/emsdk/upstream/emscripten/
$ python -m http.serverThen navigate to `http://localhost:8000/game.html` in a web browser.
```
$ zig version
0.11.0
```