ECSY Entity Component System Created By Mozilla

The group at Mozilla behind the A-Frame Mixed Reality project just released ECSY, an experimental engine and framework agnostic entity component system written in JavaScript.

ECSY features include:

  • Framework agnostic
  • Focused on providing a simple but yet efficient API
  • Designed to avoid garbage collection as possible
  • Systems, entities and components are scoped in a world instance
  • Multiple queries per system
  • Reactive support:
    • Support for reactive behaviour on systems (React to changes on entities and components)
    • System can query mutable or immutable components
  • Predictable:
    • Systems will run on the order they were registered or based on the priority defined when registering them
    • Reactive events will not generate a random callback when emited but queued and be processed in order
  • Modern Javascript: ES6, classes, modules,…
  • Pool for components and entities

ECSY is open source and MIT licensed with the source code available on GitHub.  It is well documented and contains several examples included examples for BabylonJS (tutorial here) and Three.js (tutorial here).  The ECSY homepage is available here.  You can learn more about ECSY, including future plans by reading the announcement blog available here or by watching the video below.

GameDev News


Scroll to Top