zewenn/loom
loom is a declarative, entity component system based game engine, written in zig.
0de5f8aed0565f2dbd8bc6851499c85df9e73534
refs
582095c4b7c5437f5a4fc9e0cebee289cff9ae47
The declarative, ECS-based game engine, written in zig.
loom wraps Not-Nik's raylib-zig and uses johan0A's clay-zig-bindings for UI.
[!important] This project uses zig version
0.14.0
and the latest version of the bindings.
The engine aims to provide a declarative interface for game development. We try to provide a "code only Unity", where you only have to configure scenes and entities with only a few lines of code.
Adding loom is easy, just follow these steps:
Fetch the package.
zig fetch --save git+https://github.com/zewenn/loom#stable
Get the module.
const loom_dep = b.dependency("loom", .{
.target = target,
.optimize = optimize,
});
const loom_mod = loom_dep.module("loom");
Add the import
target_module.addImport("loom", loom_mod);
You are ready to go, import loom into you project:
const loom = @import("loom");