A little toolbox of classes for some game development
npm install @game.object/ts-game-toolboxDisclaimer:
This is a privately managed package feel free to use it at own risk.
At times i will introduce major changes.
> {danger} This package is far from stable.
This is intended to be a personal toolbox for Games or Programs developed in Javascript/Typescript.
It contains a few reusable funcitons and classes, increasing over time.
These tools will be mostly developed with a application in mind that will use React,
to handle the Menu and p5.js to display the gamestate.
The tools are divided into the following namespaces.
Tools to help with loading storing and retrieveng various types of assets.
Contains classes and functions handling Geometric calculations
The Geometric functions and classes assume a 2D-coordinate system,
where -x is left +x is at the right -y is at the bottom and +y at the top.
|..|-y|..|
|-x|..|+x|
|..|+y|..|
The angle of a vector will mostly be expected in radians (from 0 to +2Pi).
With angle 0 the vector is pointing to the right.
Several classes and implementations of tree-structure to store and access data.
Helpers to connect distant parts of the programs with events and signals
Tools for a custom test-suite
- 5.0.0
- Removed MVC and "Abstract" module to concentrate on general helpers
- 4.0.0
- Major restructuring of the mvc part
- 3.0.0
- Cut the Dependencies to react and p5
- 2.0.0
- Introduce the abstract MVC-Components
- 1.0.0
- Initial version