Skip to content

play-co/devkit-entities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Devkit Entities Module

Entity serves as a base class for game elements in devkit. It provides functionality for coordinates in a game-space; circular and rectangular bounds for offsetting views and hitboxes; implicit view management; basic physics including velocity, acceleration, and collisions; and a lifecycle interface to easily facilitate pooling.

Installation and Imports

Run this command to install devkit-entities as a dependency in your project:

  devkit install https://github.com/gameclosure/devkit-entities.git

Once installed, you can import classes from this module like this:

  import entities.Entity as Entity;

Docs

We use JSDoc to generate documentation, here's the latest: devkit-entities docs.

Examples

Open source examples built on devkit with this module:

About

A set of base classes to jump start your game on devkit!

Resources

License

Stars

Watchers

Forks

Packages

No packages published