bitECS
bitECS copied to clipboard
Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript
currently only one enter/exitQuery reference is allowed per query. should be allowed to have multiple references on a single query
currently defining a query with the same components as a previously defined query will create an entirely new query instead of reusing the previously defined query. should instead reuse the...
Following code to reproduce ``` import { addEntity, createWorld } from 'bitecs'; const world = createWorld(); const entities: Set = new Set(); const totalEntities = 90000; function addEntityToGame(eid: number){ if(entities.has(eid))...
Calling RemoveEntity(world, eid) doesn't remove an entity from a query or the component array. Calling RemoveComponent() on the appropriate component does remove the entity from both though. Is this a...
re issue #86, here's a very simple PR implementing `resetAllGlobals`. Note that a function called `resetGlobals` is already defined in `Entity.js`, so i went with `resetAllGlobals` to avoid shadowing that...
Using `v0.3.38` and it says that `getAllEntities` is not a function, and indeed there is no such function in dist files, but it's present in the `.d.ts` file. It seems...
Can't seem to figure out how to store an array of ui8. I have a component for FieldOfView which changes everytime the player moves. The visibleTiles just hold the idx...
Serializing a world seems to work but deserializing throws the following error: ``` Uncaught TypeError: Cannot read properties of undefined (reading 'Symbol(storeBase)') at bitecs.v0.3.34.js:472 ``` Here's some repro code: ```...
I'm having trouble fully resetting/deleting a bitecs game world. I have a client/server situation, and I'd like to completely blow away *everything* when the last client disconnects, so that I...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...