7 ms·
Where could one learn more about the Entity Component system as described in the article? Is it as simple as an object contains an array of components?
by mapmap 5y ago
Where could one learn more about the Entity Component system as described in the article? Is it as simple as an object contains an array of components?
- kovek 5y agoECS or "Entity, Component, System". You have Entities (like a soccer ball or a player, or any object in the game) which are objects, that contain a list of Components (like phenomenons on the entity, like physics, sound tracks, health bar, etc) and a game loop that calls out a list of Systems (like Physics System, Sound System, HealthBar System), which are "static" objects that hold a reference to all Components and which update them to move the game forward (eg. Physics systems moves position down by vt + a/2 t^2)