flecs-hub/flecs-lua

API discussion

randy408 opened this issue · 2 comments

I have no idea how to approach this yet.

Lua ECS implementations for reference:

entitas-lua
tiny-ecs
ecs-lua (tiny-ecs fork)

Looks like ecs.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. fixed