This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Replies: 1 comment
-
Kaboom takes ideas from ECS but isn't an ECS. The logic and data is still coupled in components and there's no concept of a system, prioritizing ease of use. Kaboom has lower level drawing APIs like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am curious on how Kaboom.js an Entity Component System (ECS)? When seeing the examples, I can see that the library has two parts of an ECS. These parts are the entity (created via
add()
), and the component (ex.body()
,health()
,sprite()
, etc.). The only part I cannot see based on the API is the system. How does the library know what to render and how to render it? How does the library know what entities need to be checked for collision detection? Are new actions/abilities added with new components rather than with new systems?Beta Was this translation helpful? Give feedback.
All reactions