Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.61 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.61 KB

Zig + Raylib + ImGui = ❤️

Build things immediately with Zig, Raylib and ImGui!

Build

  1. Install Zig 0.13.0 for your platform.
  2. Clone this repo.
  3. In the repo folder, run
    • zig build run for Debug build.
    • zig build run -Drelease for Release (Optimized) build.

Info

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!

Acknowledgements

This repo just glues other people's hard work together, so huge thanks and appreciation to the original authors: