@arcade2d/world
Repository · Website · Reference
The aim of this library is to construct and simulate a game world in an abstract sense. It does not provide any functionality or features outside of this such as rendering capabilities (graphics), sound or other game related components. It purely focuses on a game world and how objects within that world can be interacted with and interact with each other.
It covers things like:
- A base class to build your own world objects from.
- Adding and removing objects from a world.
- Simulating a step within the world, which cascades down to objects within that world.
- Mathematical concepts for objects within the world such as 2D vector positions.
- Querying the world for certain objects.
Installation
$ yarn add @arcade2d/world