Build things immediately with Zig, Raylib and ImGui!
- Install Zig 0.13.0 for your platform.
- Clone this repo.
- In the repo folder, run
zig build runfor Debug build.zig build run -Dreleasefor Release (Optimized) build.
This repo is a starter project for Raylib and ImGui, using rlImGui as the rendering backend for ImGui, and the raylib-zig and zgui bindings for Raylib and ImGui respectively. All the libraries are built from source and either vendored or provided through the Zig package manager.
The template has a single main.zig source file with a small example of how to use ImGui to control Raylib. If you're unsure where to start, try playing around with the existing code and maybe add a new ImGui controller for some Raylib parameter.
I hope this project is helpful for anyone who wants to get into these libraries who may not be familiar with the Zig build system or even Zig itself!
This repo just glues other people's hard work together, so huge thanks and appreciation to the original authors: