I've made another ECS with SoA memory layout. Any thoughts, comments, reviews more than welcome
#One more ECS
1 messages · Page 1 of 1 (latest)
hi i also made an ecs
nice, can you share the link?
It took me like 2 weeks to learn about ECS and write this
The author of flecs said mine is slow. Because I architected it wrong. May be true, but is fast enough for me.
How do you handle when you want to remove / unset a component from an entity while iterating?
When I made the ECS I didn't concieve this, and now that I need it I made a hasty attempt to fix it. But it's causing me much trouble
@granite zenith I have additional step to filter all entities with components I want to process and save them in array. After this I call system function with this array, so when I remove component it doesn't affect filtered array and I continue iterating