zig-ecs icon indicating copy to clipboard operation
zig-ecs copied to clipboard

Results 9 zig-ecs issues
Sort by recently updated
recently updated
newest added

# Steps to reproduce Run the view_vs_groups.zig example but comment the `createEntities(&reg)` function https://raw.githubusercontent.com/prime31/zig-ecs/master/examples/view_vs_group.zig # Expected Program to run as normal. There won't be anything to iterate, but that shouldn't...

Hi, I know that Zig can compile using the C ABI, and I'd like try binding this to Odin. Would there be any difficulties when using this as a static/dynamic...

I don't get it, why doesn't it work 🤔 **Code:** ``` zig ... { var group = world.group(.{ Position, Orbiting }, .{}, .{}); var group_iter = group.iterator(struct { pos: *Position,...

Hi, thanks for this work. Could you add install instruction for the zig nooby like myself, thanks!

- Fixed path errors in `build.zig`. - The `Fn` structure no longer contains `alignment` field. - `@fieldParentPtr` no longer contains a type parameter.

What would be the best approach to serializing a registry, to save it as a scene?

[As per mlugg:](https://github.com/ziglang/zig/issues/19858#issuecomment-2369861301) > Never rely on the output of @typeName: its return value will more than likely end up being implementation-defined (if @typeName isn't removed from the language altogether,...

We commonly cast a type-erased ComponentStorage pointer to a `Storage(u1)` when we don't know its actual type, so that we perform component-agnostic operations on it. This is technically undefined behavior,...

It seems to me that public tests are not running: ```zig const internal_test = b.addTest(.{ .root_source_file = b.path("src/tests.zig"), //