Boilerplate code for game development using phaser. Includes webpack and cordova.
-
Clone the repo
git clone https://github.com/rjp-coder/create-phaser-app.git -
Install dependencies
npm install -
Add the platform in which you want to develop -- e.g. browser
cordova platform add browser -
Run the project using cordova or npm
cordova run -- --livereloadornpm run start
This should open a webpage which has the Cordova "Device Ready" splash screen, and the Phaser Title Screen as the background
