More Premium Hugo Themes Premium Html Themes

Generator Phaser Plus

[ DISCONTINUED] It has been a long journey but development of `generator-phaser-plus` is now over. I recommend you have a look and fork `yandeu/phaser-project-template` instead.

Generator Phaser Plus

[ DISCONTINUED] It has been a long journey but development of `generator-phaser-plus` is now over. I recommend you have a look and fork `yandeu/phaser-project-template` instead.

Author Avatar Theme by rblopes
Github Stars Github Stars: 144
Last Commit Last Commit: May 18, 2020 -
First Commit Created: Aug 27, 2024 -
Generator Phaser Plus screenshot

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

  1. Make sure you have the latest Node.js release with long-term support installed.
  2. Download and install generator-phaser-plus from npm or Yarn.
    npm install -g generator-phaser-plus
    
  3. To create a new Phaser game project:
    • Create a new directory for the project and navigate into it.
    • Run phaser-plus and fill out the questionnaire.
  4. 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>
      

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.