Ion Phaser Versions Save

A web component to use Phaser Framework with Angular, React, Vue, etc 🎮

v1.3.0

3 years ago

Fixed

  • ion-phaser dist appears to bundle Phaser (#18).
  • How to upgrade to Phaser (#27).

v1.2.3

3 years ago

Fixed

  • Fixed types and configuration for react package
  • Fixed eslint issues and added validations to create the phaser game instance
  • Updated stencil packages

v1.2.2

4 years ago

Fixed

  • Fixed an import and using Phaser global object instead, to reduce the bundle size from 1 mb to 269b! 😱 Captura de Pantalla 2019-11-27 a la(s) 2 25 56 p  m

v1.2.1

4 years ago

Fixed

  • Added watch for game prop to fix issues initializing the phaser game.

v1.2.0

4 years ago

Fixed

  • Update Stencil configuration.
  • Fix React wrapper component by using componentDidMount and componentDidUpdate instead of componentWillReceiveProps (Deprecated) or shouldComponentUpdate methods.

v1.1.0

4 years ago

Added

  • Set the configuration of a Phaser game with a game property.
  • Initialize the game manually with an initialize property.
  • Include destroy method to destroy the Phaser game instance.
  • Include getInstance method to get the current instance of the game.
  • Add React wrapper component to avoid using ref manually to attach the configuration of the game.
  • Add demo including the component for Angular, React and Vue.js
  • Add codepen example to see the component in action using Vue.js