This is a small webpack-compatible boilerplate project to quickly start development of games in ES6 using Phaser framework (v3). This structure is based on several open-source projects found on Github.
- Clone this repo:
git clone git@github.com:VictoryProductions/2d-phaser-webpack-boilerplate.git
- (SSH Method) - Install dependencies:
npm install
Just run npm run dev
and webpack will bundle the source files and serve them within a dist/
folder and launch a local server in localhost:3000
, webpack will also watch for changes made to any of the files and automatically reload the page to reflect the changes.
Note: Production build is still under development.
Enjoy and start coding :)
Any contributions to this project are welcome, don't hesitate to send a pull request.