This repo is based on the work of https://github.com/RaheelYawar/phaser3-webpack-dragonbones.
A very simple example of using DragonBones with Phaser 3 while using Webpack and ES6.
Includes a Bragonbones project and some explanations on how to access armature slots and how the naming should be performed when importing the armature.
Note: This is a fork of the phaser3-project-template repository.
A Phaser 3 project template with ES6 support via Babel 7 and Webpack 4 that includes hot-reloading for development and production-ready builds.
Loading images via JavaScript module import
is also supported.
Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm start |
Build project and open web server running project |
npm run build |
Builds code bundle with production settings (minification, uglification, etc..) |