Phaser API Documentation

  Version: 

version: 3.55.1 previous: 3.55.0 next: 3.56.0 title: Ichika date: 26th May 2021 github: https://github.com/photonstorm/phaser/tree/v3.55.1 js: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.js min: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.min.js zip: https://github.com/photonstorm/phaser/archive/v3.55.1.zip tar: https://github.com/photonstorm/phaser/archive/v3.55.1.tar.gz npm: npm install phaser@3.55.1

Version 3.55.1 - Ichika - 26th May 2021

New Features

  • The GameObject.destroy method has a new fromScene parameter, set automatically by Phaser. Fix #5716 (thanks @rexrainbow)
  • The Game Object DESTROY event is now set the new fromScene boolean as the 2nd parameter, allowing you to determine what invoked the event (either user code or a Scene change). Fix #5716 (thanks @rexrainbow)

Bug Fixes

  • Fixed an issue with the TypeScript defs not recognising the Game Object Config properly. Fix #5713 (thanks @vforsh)
  • Fixed an issue in the FillPathWebGL function which caused the filled versions of the Arc, Circle, Ellipse, Polygon and Star Shapes to not render. Fix #5712 (thanks @rexrainbow)
  • Fixed rendering parameters in IsoBox and IsoTriangle Game Objects that stopped them from rendering correctly.
  • Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D)