ecstra
ecstra copied to clipboard
Fast & Flexible EntityComponentSystem (ECS) for JavaScript & TypeScript
The DOC.md is mentioning some nice and useful features, that the version I got from NPM (0.0.2) does not seem to have, like ``` Property 'onEntityAdded' does not exist on...
Right now, it's a bit "slow" to add / remove component. Adding / Removing a bunch of components will trigger multiple archetype transfer. It would be great to have a...
This PR aims at adding deferred removal and addition of: * Entities * Components ## How For now, the implementation tries to avoid modifying the core (world / system). I...
It looks like the community still needs deferred removal. I think a good way to go for that, would be to implement CommandBuffer in the same way other ECS work....
Most likely should sort component by constructor name as currently the order component are add probably with effect the hash.
Instead of creating "reactive queries" that sort entities based on added/removed components, I think I will modify the `Query` class to process queries with extra selectors: * `Added()` → query...
It appears you are treating entity name and time as a special case. I've found having a global "singleton" entity with a TimeConponent advantageous as systems can conditional manipulate time...
* Adds the updated selector to execute a query only when components are modified.
* [ ] Renderer system should go in a Rendering group, i.e., post-update * [ ] Renderer should be able to render to one or more views. * [ ]...
Update / Rendering are often different in several way: * Render target rendering should occur * Per-view elements: aspect ratio, canvas, etc... * Per-view pass: one view might need a...