Quillraven / Fleks

Fast, lightweight, multi-platform entity component system in Kotlin
MIT License
174 stars 19 forks source link

is it possible to include entites relations like in the c++ flecs? #154

Closed AnderWoche closed 2 weeks ago

AnderWoche commented 3 weeks ago

like this: https://ajmmertens.medium.com/building-games-in-ecs-with-entity-relationships-657275ba2c6c

The other flecs: https://github.com/SanderMertens/flecs

Quillraven commented 2 weeks ago

Hi,

we had a discussion about that here: https://github.com/Quillraven/Fleks/discussions/139

In short: no, but everything is solvable by doing it in a different way.

AnderWoche commented 2 weeks ago

Maybe someone will want to build a structure like this in the future. To be honest, I have never worked with entity relations, but I have heard that they are good for building child/parent structures.