generator-phaser3-parcel

1.0.0 • Public • Published

generator-phaser3-parcel

A Yeoman generator for a Phaser 3 project, with Parcel as bundler. It features ES6, eslint config, and a basic project skeleton with a loading screen.

How to use

You need to install globally both Yeoman client and this generator:

npm install -g yo
npm install -g generator-phaser3-parcel

Then, run the generator with:

yo phaser3-parcel

After you answer some questions about the game you want to make, the following project structure will be created:

.
├── README.md
├── package.json
└── src
    ├── assets
    │   ├── audio
    │   └── images
    │       ├── character.png
    │       └── loading-bar.png
    ├── index.html
    ├── main.js
    ├── prefabs
    ├── scenes
    │   ├── loading-scene.js
    │   └── main-scene.js
    └── utils
        └── constants.js

Install the dependencies with your favourite package manager. For example:

npm install

You can run a development build with:

npm start

Once your game is ready to go, run a production build with:

npm run build

Happy coding! ✨🕹✨

License

See LICENSE for details.

Readme

Keywords

Package Sidebar

Install

npm i generator-phaser3-parcel

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.9 kB

Total Files

13

Last publish

Collaborators

  • ladybenko