4 ms·
ECS 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 Comp
by kovek 5y ago
ECS 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)