{"repo":"raylib-zig/raylib-zig","free":true,"listed":false,"github":"https://github.com/raylib-zig/raylib-zig","clone":"git clone https://github.com/raylib-zig/raylib-zig.git","description":"Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib","language":"Zig","stars":1856,"topics":["raylib","zig","game-development","gamedev","bindings","binding","zig-package"],"license":"MIT","category":"game-templates","readme_excerpt":"raylib-zig Manually tweaked, auto-generated raylib bindings for zig. Bindings tested on raylib version 6.0 and Zig 0.16.0 Thanks to all the contributors for their help with this binding. Example Building the examples To build all available examples simply zig build examples . To list available examples run zig build --help . If you want to run an example, say basic window run zig build basic window Building and using Using raylib-zig's template - Execute project setup.sh project name , this will create a folder with the name specified - You can copy that folder anywhere you want and edit the source - Run zig build run at any time to test your project In an existing project (e.g. created with zig init ) Download and add raylib-zig as a dependency by running the following command in your project root: Then add raylib-zig as a dependency and import its modules and artifact in your build.zig : Now add the modules and artifact to your target as you would normally: If you additionally want to support Web as a platform with emscripten, you will need to use emsdk by importing raylib-zig's build script with const rlz = @import(\"raylib zig\"); and then accessing like described here Exporting for web. Refer to raylib-zig's project template on how to use them. Passing build options raylib allows customisations of certain parts of its build process such as choosing an OpenGL version, building as a shared library or not including certain modules. You can optionally pass these options to ray","default_branch":null,"files":null,"tree":[],"storefront":"/r/raylib-zig","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raylib-zig/raylib-zig/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}