open-index/open-npm huggingface dataset:
npm package: @phaser-plus/cli
Description: CLI tools for developing Phaser game
Author: kalevski
Latest version: 0.1.8

# @phaser-plus/cli
[![GitHub](https://img.shields.io/github/license/kalevski/phaser-plus?style=for-the-badge)](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
[![npm version](https://img.shields.io/npm/v/@phaser-plus/cli?color=teal&label=VERSION&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/cli)
[![npm downloads](https://img.shields.io/npm/dw/@phaser-plus/cli?label=downloads&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/cli)
[![Read docs](https://img.shields.io/badge/READ-DOCS-green?style=for-the-badge)](https://phaser-plus.kalevski.dev)

## 🚀 Getting started

NodeJS v16.+ required

```
npm install -g @phaser-plus/cli
```

## 🔰 Commands
- `phaserplus init -t [template] [path]` - Can be used for creating a new project
  - **templates**: browser (default)
  - **example**: `phaser init ./my-awesome-game`

- `phaser project start -d [dist-dir] -p [port] [path]` - Starts development server for your phaser project
   - **example**: `phaser project start`

- `phaser project build -d [dist-dir] [path]` - Build your phaser project for production

## License

The project is licensed under [MIT License](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
npm package: @phaser-plus/core
Description: Set of tools and utils built on top of PhaserJS
Author: kalevski
Latest version: 0.1.8

# @phaser-plus/core
[![GitHub](https://img.shields.io/github/license/kalevski/phaser-plus?style=for-the-badge)](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
[![npm version](https://img.shields.io/npm/v/@phaser-plus/core?color=teal&label=VERSION&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/core)
[![npm downloads](https://img.shields.io/npm/dw/@phaser-plus/core?label=downloads&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/core)
[![Visit website](https://img.shields.io/badge/Official-Website-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/)
[![Check examples](https://img.shields.io/badge/EXAMPLES-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/examples/)

---

## 🚀 Getting started
```
npx @phaser-plus/cli init my-awesome-game
cd my-awesome-game
npm install
npm start
```

## 🔰 Features
 
 - **GameObjectPool** - Manage the memory of your game by reusing all of the objects needed to draw your scene. @phaser-plus/core provides an API for object reuse. ([example](https://phaser-plus.kalevski.dev/examples))
 
 - **GameObject** - GameObject is a subclass of Phaser.GameObjects.Container that has its own lifecycle and is useful for developing game objects that can be used with GameObjectPool. ([example](https://phaser-plus.kalevski.dev/examples))

 - **Feature** - Feature is a class used to implement your game features in a way that allows them to be reusable in all of your games. ([example](https://phaser-plus.kalevski.dev/examples))

 - **HTMLFeature** - HTMLFeature is a subclass of Feature used for implementing UI using HTML and CSS. ([example](https://phaser-plus.kalevski.dev/examples))

 - **Layer** - @phaser-plus/core#Layer is a subclass of Feature. It has its own camera and container. The container of the layer is only visible to the camera of the layer. ([example](https://phaser-plus.kalevski.dev/examples))

 - **Scene** - @phaser-plus/core#Scene extends Phaser.Scene and adds APIs for managing game features, object pool, service registry, and logger. ([example](https://phaser-plus.kalevski.dev/examples))

 - **Flow** - Efficiently manage your game events, separate your collision logic, chain the events, and avoid using setTimeout or setInterval in your game. ([example](https://phaser-plus.kalevski.dev/examples))

 - **FeatureRegistry** - Divide your game features into separate files and develop them independently. By following this API, you will be able to reuse the game features in all of your games. ([example](https://phaser-plus.kalevski.dev/examples))

 - **ServiceRegistry** - Integrate any external service or API using the service registry and reuse the same instance of the service class in multiple scenes. ([example](https://phaser-plus.kalevski.dev/examples))

 - **LoggerFactory** - LoggerFactory is a factory for creating fancy loggers. ([example](https://phaser-plus.kalevski.dev/examples))



## License

The project is licensed under [MIT License](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
npm package: @phaser-plus/debugger
Description: Debugger for PhaserJS games
Author: kalevski
Latest version: 0.1.9

# @phaser-plus/debugger
[![GitHub](https://img.shields.io/github/license/kalevski/phaser-plus?style=for-the-badge)](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
[![npm version](https://img.shields.io/npm/v/@phaser-plus/debugger?color=teal&label=VERSION&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/debugger)
[![npm downloads](https://img.shields.io/npm/dw/@phaser-plus/debugger?label=downloads&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/debugger)
[![Visit website](https://img.shields.io/badge/Official-Website-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/)
[![Check examples](https://img.shields.io/badge/EXAMPLES-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/examples/)


**@phaser-plus/debugger** is a feature developed on top of **@phaser-plus/core**.

This package provides a UI and API for debugging.

---

## 🚀 Getting started
```
npm install --save @phaser-plus/debugger
```

```js
import { Scene } from '@phaser-plus/core'
import { Debugger } from '@phaser-plus/debugger'

class MyScene extends Scene {

    onCreate() {
        this.features.register('debugger', Debugger)
    }

}
```
[![Check example](https://img.shields.io/badge/CHECK_EXAMPLE-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/examples/)


## 🔰 Features
 - Take a screenshot of your game
 - Record a video of your game
 - Fire a game event while playing the game
 - Inspect an object and change basic parameters such as position, rotation, and scale





## License

The project is licensed under [MIT License](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
npm package: @phaser-plus/perspective2d
Description: Create games with a linearly transformed projection
Author: kalevski
Latest version: 0.1.7

# @phaser-plus/perspective2d
[![GitHub](https://img.shields.io/github/license/kalevski/phaser-plus?style=for-the-badge)](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)
[![npm version](https://img.shields.io/npm/v/@phaser-plus/perspective2d?color=teal&label=VERSION&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/perspective2d)
[![npm downloads](https://img.shields.io/npm/dw/@phaser-plus/perspective2d?label=downloads&style=for-the-badge)](https://www.npmjs.com/package/@phaser-plus/perspective2d)
[![Visit website](https://img.shields.io/badge/Official-Website-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/)
[![Check examples](https://img.shields.io/badge/EXAMPLES-blue?style=for-the-badge)](https://phaser-plus.kalevski.dev/examples/)

---

**@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
```

```js
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](https://phaser-plus.kalevski.dev/examples))
 - **GameObject2D** - Subclass of @phaser-plus/core#GameObject that is extended to support transformation depending on the projection created by the scene.  ([example](https://phaser-plus.kalevski.dev/examples))

## License

The project is licensed under [MIT License](https://github.com/kalevski/phaser-plus/blob/main/LICENSE)