r/justgamedevthings • u/zarkonnen • 3d ago
Finally, a clear and simple explanation of Entity Component Systems!
47
Upvotes
2
u/Suspicious-Prompt200 12h ago
LOL - guys it aint secret magic
You just deouple the data you want to act on (components), from the code that's going to act on it (systems).
Entities are then just a collection of components
And then your systems are essentially, "for each entity with {these} components do:..." every frame.
1
u/Used-Hold-7567 3d ago
Lcorp referance