cordova-phaser

A cordova-cli template for phaser games, Aimed to Android deployment.

Usage no npm install needed!

<script type="module">
  import cordovaPhaser from 'https://cdn.skypack.dev/cordova-phaser';
</script>

README

README

cordova-phaser is a cordova-cli template aimed to help create Phaser.io games as android native apps.

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

cd hello

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.