News for hackers. Stuff that matters.

moahe

Re:Flecs – A fast entity component system for C and C++ on Tuesday April 04, 2023 @01:25PM (#35443033)
That's my understanding as well.

IMO it would be interesting to consider all static components, i.e. you don't add/remove components at runtime.

If you do want "tags", have a TagsComponent (statically added to all entities that can have tags) and modify the values in it.

Re:Flecs – A fast entity component system for C and C++ on Tuesday April 04, 2023 @12:24PM (#35442107)
This. Some people prefer fully-featured large engines (even for small games) and some prefer a set of libraries to mix and match.

I'm happy that a really cool option with a C API exists.