API discussion
randy408 opened this issue · 2 comments
randy408 commented
I have no idea how to approach this yet.
Lua ECS implementations for reference:
entitas-lua
tiny-ecs
ecs-lua (tiny-ecs fork)
ArnCarveris commented
My old lua API draft for flecs:
https://gist.github.com/ArnCarveris/52c077d32dd1e84ad8bc1a2e89dfdc8d
randy408 commented
Looks like fixedecs.add()
is not aware of type roles and the API for adding them is slightly different, this could probably fixed by checking the arg type and using ecs_add_entity()
instead.