THIS IS A COPY OF A PUBLIC REPO. I AM NOT THE AUTHOR OF THIS CODE. I AM USING IT FOR LEARNING PURPOSES. A fairly minimal raylib zig example codebase using the zig package manager.
This example requires one of the recent development releases of zig.
git clone https://github.com/SimonLSchlee/zigraylib.git
cd zigraylib
zig build runtested with zig version: 0.12.0-dev.2618+39ec3d311
raylib cheatsheet
Learn ⚡ Zig Programming Language
Zig Community
Let me know if you have ideas about things that could make this example better. I want to keep it fairly minimal, but maybe we can add some more links to useful resources, or point out common problems. Ziggit topic for discussion: https://ziggit.dev/t/raylib-example-using-the-package-manager/1787
public domain or MIT