Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.server

Then navigate to `http://localhost:8000/game.html` in a web browser.

```
$ zig version
0.11.0
```