A major theme of our next release is giving the power to manipulate your world to any and all workers. With this version, you will have access to all of the fundamental APIs necessary to run your world directly from any worker(s) you choose to run.
Practically, this means that you can now do the following from any worker:
- [New] Spawning / deleting entities (e.g., delete the entity with id 1, or ‘spawn an entity with a position component at (0, 0, 0)’)
- [New] Performing entity queries (e.g., how many fish are there within 60 meters of this island?)
- [New] Defining and performing ‘commands’ between workers (e.g., ‘teleport to (0, 10, 0)’)
- [New] Setting permissions on components of entities (e.g., workers of type A can write to the position component of this entity)
The next posts in this series will be deep dives into what these APIs look like along with some examples of how you might use them to your advantage.