An ember addon for embedding the Phaser3 game framework.
This addon makes it easier for you to inject the Phaser3 game framework into your Ember application.
Making amazing cross-platform games is now easier than it’s ever been thanks to Phaser, an Open Source JavaScript game development library developed by Richard Davey and his team at Photonstorm. Games developed with Phaser can be played on any (modern) web browser, and can also be turned into native phone apps.
- Ember.js v3.8 or above
- Ember CLI v2.13 or above
- Node.js v8 or above
Installation is easy!
ember install ember-phaser
ember install ember-phaser
ember generate phaser-scene test-scene
3. Insert the EmberPhase component into one of your templates. Pass in the Phaser config json object and a reference to an Ember service.
@service('game') emberGameService;
See the Contributing guide for details.
This project is licensed under the MIT License.