Package Exports
- @phaser-plus/perspective2d
- @phaser-plus/perspective2d/lib/main.js
- @phaser-plus/perspective2d/lib/module.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@phaser-plus/perspective2d) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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