Hi, all!
I wonder have anybody tried integrating https://github.com/SanderMertens/flecs ECS with Ogre?
Hi, all!
I wonder have anybody tried integrating https://github.com/SanderMertens/flecs ECS with Ogre?
slapin wrote: Thu Jun 12, 2025 1:51 pmHi, all!
I wonder have anybody tried integrating https://github.com/SanderMertens/flecs ECS with Ogre?
I looked at trying to use ECS but I just don't understand how to implement it, the concept evades me.
There is a big thread in this forum about data driven games though
To my case the ECS servers 2 purposes -
To me it is very important to make scope of a task as small as possible and as local as possible, which I solve using Flecs.
i.e. I just modify needed things in my data objects and then systems do everything for me to make it visual, i.e to move character I do e.get_mut<Motion>.walk_to = location; e.modified<Motion>(); and systems will set up animations, set up root motion, get path from navmesh and walk character there; it can be cancelled at any time and on arrival the event is generated in event system (and proper values set). And suddenly if you change your engine, most of the logic remains intact, only engine-specific systems need to be changed.
Cool, because on top of all that its used mostly due to the performance gains of traversing the ECS components in a cache friendly way.
But what problem did you have integrating flecs with ogre?
I'm just lazy and was hoping somebody else did it and I can use the result. No problem doing it as I already did it for Godot.