@phaser-plus/perspective2d
v0.1.7
Published
Create games with a linearly transformed projection
Downloads
8
Maintainers
Readme
@phaser-plus/perspective2d
@phaser-plus/perspective2d is a feature developed on top of @phaser-plus/core.
This package provides an API for easily creating games with a linearly transformed projection.
🚀 Getting started
npm install --save @phaser-plus/perspective2d
import { Scene2D } from '@phaser-plus/perspective2d'
class MyScene extends Scene2D {
onInit() {
this.world.debug()
}
onCreate() {}
}
🔰 Features
- Scene2D - Subclass of @phaser-plus/core#Scene that has two layers: "world" and "ui". It is developed to provide features for creating games using a linearly transformed coordinate system and is good for isometric games. (example)
- GameObject2D - Subclass of @phaser-plus/core#GameObject that is extended to support transformation depending on the projection created by the scene. (example)
License
The project is licensed under MIT License