zewenn/zap
A wrapper/helper to work with raylib-zig (by Not-Nik)
zap is a custom zig-based wrapper of Not-Nik's raylib-zig; containing an entity component system, asset loading, automatic rendering and many more features...
NOTE: This project is still very much under development, take care when using! Contributions are welcome.
zap
libraryYou are only a couple of easy steps away fromm building your dream project:
Run the following command to save the dependency:
zig fetch --save git+https://github.com/zewenn/zap
Add the following to your build.zig
:
const zap_module = b.dependency("zap", .{
.target = target,
.optimize = optimize,
});
const zap = zap_module.module("zap");
exe.root_module.addImport("zap", zap);
You are ready to go! Now you can import zap with a regular zig @import()
:
const zap = @import("zap");