API discussion
randy408 opened this issue · comments
Randy commented
I have no idea how to approach this yet.
Lua ECS implementations for reference:
entitas-lua
tiny-ecs
ecs-lua (tiny-ecs fork)
Arn commented
My old lua API draft for flecs:
https://gist.github.com/ArnCarveris/52c077d32dd1e84ad8bc1a2e89dfdc8d
Randy 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.