/webpack4-phaser-boilerplate

Here's a small Phaser with Webpack 4 boilerplate

Primary LanguageJavaScriptMIT LicenseMIT

Phaser Webpack 4 Boilerplate

Greetings for everybody.

I've done a very basic but fancy boilerplate for development with Phaser and ES6 using Webpack 4.

Phaser is a game development engine made with Javascript and has a big success into the game development community. Now I've added ES6 support (well maybe it has been done before) for making cleaner code than vanilla style.

Feel free to use it in practices, sandboxes and productive developments.

Installation and Deployment

For installation, just execute this line commands:

$ git clone https://github.com/RZEROSTERN/webpack4-phaser-boilerplate.git
$ cd webpack4-phaser-boilerplate
$ npm install

After installation, just use this comments for starting your development:

  • Use webpack hot-reloading features
npm run serve
  • Build for development
npm run dev
  • Build for production
npm run build

Next Steps

  • Documentation
  • Publishing as NPM package
  • Electron Packaging (Want to publish as desktop app huh ?)

Licensing

Phaser Webpack 4 boilerplate is released under the MIT License.

Phaser is property of Photon Storm Limited. For documentation, visit their website here or its GitHub here

Contributions

Want to contribute? Just fork the repository and send me your pull requests. Credits will be granted to all of you.

Right now for Hacktoberfest 2020 feel free to make some updates and changes. Fork and have fun.

Made in Mexico with love and code by RZEROSTERN