Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flecs 3.2 , node sys issue etc #28

Open
dynnamitt opened this issue Oct 23, 2023 · 2 comments
Open

Flecs 3.2 , node sys issue etc #28

dynnamitt opened this issue Oct 23, 2023 · 2 comments

Comments

@dynnamitt
Copy link

Flecs is now 3.2, this repo is getting behind.. are Flecs using important macros that cannot be auto converted to zig functions?

Should i use Flecs as a direct c include or is this wrapper required in a zig project?

@dynnamitt dynnamitt changed the title Flecs 3.2 , node model issue etc Flecs 3.2 , node sys issue etc Oct 23, 2023
@Srekel
Copy link

Srekel commented Oct 24, 2023

Hi, this repo is old by now. I think the most up to date open source binding is zflecs by zig-gamedev. On Tides of Revival https://github.com/Srekel/elvengroin-legacy/tree/main/src/flecs_util we use zflecs and have modified these zig-flecs bindings to sit on top of that instead to provide the core functionality. Feel free to steal that :)

(Though I am good enough of a stalker to know that @prime31 is working on new/improved bindings 😆 I'm not sure if the plan is to open source them and if so if they are replacing what's in this repo)

@prime31
Copy link
Owner

prime31 commented Oct 24, 2023

@Srekel is indeed correct. I used most of this repo as a base and the struct-based query/filter generator is moving to the forefront. What was built on top of that is probably too opinionated for most to use though. It's essentially a Ziggified Bevy setup with system ordering custom phases, system sets and some other stuff all built on top of Flecs.

Code is all already open source just shoved in a branch of another repo until I get around to putting it in its own repo. The branch is here: https://github.com/prime31/zig-aya/tree/neo-wgpu/src/ecs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants