/cocoon_playground

Primary LanguageJavaScriptOtherNOASSERTION

Phaser template

Introduction

This demo is based on Andrzej Mazur's Cyber orb demo. It has been adapted in order to have a cordova based structure.

This demo is built using Phaser and Cocoon Canvas+ in portrait view and fullscreen.

How to use this repo

In order to test this repo at the cloud compiler, you can select this template directly in the guided creation wizard or just copy the .git url from this repo and create a github based project.

This template is fully configured and adapted so you can compile the project just after creation and testing it in your devices as soon as the compilation is complete.

Structure

This repository has this basic structure:

template/
|-- config.xml
|-- res/
|	|-- android/
|	|-- ios/
| 	`-- screen/
`-- www/
  • res: This folder contains all the icons for Android, iOS and the splash screens used in the project.

  • www: This folder contains the source code of the project.

  • config.xml: This file contains the project configuration.

As you can see, it is not neccessary to include plugins, platforms or hooks.

References and useful links

About Phaser

About the game

About the author

About us

License

This game demo is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). See the human-readable summary or legalcode for details.

Under this license you are permitted to remix/reuse/redistribute this work as long as you credit Andrzej Mazur for the original work and don’t use it for commercial purposes. If someone does wish to use it in a commercial context, they should e-mail Andrzej Mazur at andrzej.mazur@end3r.com to discuss the terms of use.