cordova-phaser-babel

1.0.1 • Public • Published

README

cordova-phaser is a cordova-cli template aimed to help create Phaser.io games.

This README assumes that you are already familiar with cordova-cli and Phaser.io

STEPS

cordova create hello com.example.hello HelloWorld --template cordova-phaser-babel

cd hello

npm install

cordova run

A cordova hook 'before_prepare' is used to run webpack build on 'cordova run'.

NOTES

This template is based on the Responsive template of Phaser project, and I recommend to use crosswalk webview plugin. Includes a .gitignore file.

This template works with iOS, if the requirements for cordova-cli are previously fulfilled, and iOS platform is added. Optionally you could remove android platform and crosswalk plugin.

Seems to be a bug with the ios simulator, check this Stackflow question.

Package Sidebar

Install

npm i cordova-phaser-babel

Weekly Downloads

1

Version

1.0.1

License

Apache-2.0

Last publish

Collaborators

  • poszu