Skip to content

schmee/zig-raylib-imgui-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig + Raylib + ImGui = ❤️

Build things immediately with Zig, Raylib and ImGui!

Build

  1. Install Zig 0.12.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:

About

Get started with Zig + Raylib + ImGui!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages