-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The goal is to enable users to create their own query parameters and support extending query expressiveness through the ecosystem. For example, you should be able to use a spatial hash map to get all nearby entities with a single query parameter.
const player = world.queryFirst(IsPlayer)!
const nearbyEntities = world.query(NearBy(player, { radius: 10 }))
Which can be shortened even further with named entities.
This will require clarifying query concepts and probably replacing the idea of a "query modifier" with something more domain appropriate.
Metadata
Metadata
Assignees
Labels
No labels