Overview
The generator-phaser-plus is a Yeoman generator designed to simplify the process of creating Phaser 3 game projects. While development of generator-phaser-plus has been discontinued, users are recommended to check out and fork the yandeu/phaser-project-template repository as an alternative. This generator aimed to enable users to create Phaser web games with ease, making starting up Phaser 3 game projects straightforward.
Features
- User-Friendly Installation: Easy installation process using npm or Yarn.
- Project Setup Wizard: Quick setup using a short questionnaire to configure the new Phaser game project.
- Useful Generators: Handy generators for creating game object classes, custom plugins, and scene classes.
- Optional Yeoman Installation: Starting from version 3.0.0, installing Yeoman to use generator-phaser-plus became optional.
Installation
- Make sure you have the latest Node.js release with long-term support installed.
- Download and install generator-phaser-plus from npm or Yarn.
npm install -g generator-phaser-plus - To create a new Phaser game project:
- Create a new directory for the project and navigate into it.
- Run
phaser-plusand fill out the questionnaire.
- To use generators:
- For creating game object classes:
phaser-plus object --name <objectClassName> - For creating custom plugins:
phaser-plus plugin --name <pluginClassName> --type <global/scene> - For creating scene classes:
phaser-plus scene --names <sceneClassName>
- For creating game object classes:
Summary
The generator-phaser-plus was developed to simplify the creation of Phaser 3 game projects, offering features like easy installation, project setup wizard, and useful generators. Since its development has been discontinued, users are advised to explore the yandeu/phaser-project-template repository as an alternative solution for creating Phaser web games effortlessly.