Skip to content

charles-l/zig-raylib-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A zig template for building games with raylib that compiles to a native exe or an emscripten app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published