You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the concepts used in this ECS implementation is not new, but I couldn't find an ecs with the feature set, DX and performance I wanted, so here's my attempt at an ECS interpretation and implementation.
Noteable Features
Virtually no garbage collecting
Prefabrication of archetypes
Defering: Defer whatever you want to the end of an update cycle
DX:
Implement in Typescript
Helpful error messages
Minimal, easy to understand api
Register systems: No need to invoke them explicitly
Add systems/queries/prefabs/components whenever you want. The only requirement is that the world is initialized once before the first update.
BYO (Bring Your Own) Component sets: Might add an optional component manager/store in the future, but you may keep track of component values however you choose. However, there's propably no clean abstraction to component sets that doesn't tank the performance in javascript and serves all use-cases.
About
PIECS is an entity component system with some batteries included, some not