4 ms·
I find ECS a pretty intuitive concept, but it always ends up being a massive yak shave to me
by jrhurst 7y ago
I find ECS a pretty intuitive concept, but it always ends up being a massive yak shave to me
- jayd16 7y agoAgreed. The vast majority of the benefit is simply from learning to use composition over inheritance. Most applications that aren't games don't need to support things like finding all active objects of a type or maintain many discrete actors executing their own run loops. But Unity isn't dumping a lot of marketing into talking about the decorator pattern so everyone is jumping right to ECS now.
- ratww 7y agoWhat were your problems with it? Was it using a particular library or engine, or you did it yourself? I'm curious because I started using ECS-like techniques exactly because traditional OOP in games felt a lot like yak shaving.
- kevingadd 7y agoWhen performance matters I often find myself yak shaving existing code to basically turn it into structure-of-arrays format (like is required for ECS), if not converting to ECS entirely. The alternatives scale so poorly...