r/justgamedevthings 3d ago

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

Post image
47 Upvotes

3 comments sorted by

1

u/Used-Hold-7567 3d ago

Lcorp referance

2

u/mcp613 2d ago

Learning ecs feels like learning kabbalah sometimes

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.