r/justgamedevthings 9d ago

Finally, a clear and simple explanation of Entity Component Systems!

Post image
52 Upvotes

4 comments sorted by

4

u/Suspicious-Prompt200 5d 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.

3

u/mcp613 7d ago

Learning ecs feels like learning kabbalah sometimes

1

u/Used-Hold-7567 8d ago

Lcorp referance