Phaser CE v2.15.1
New Features
- Phaser.BitmapData#getBase64()
- Phaser.BitmapData#getImage()
- Phaser.Game#maxUpdates
- Phaser.MSPointer#pointerCancelCallback
- There is a new data cache to let you store arbitrary data throughout the game. The new methods are Phaser.Cache#addData(), Phaser.Cache#checkDataKey(), Phaser.Cache#getData(), and Phaser.Cache#removeData(). You can use them from
this.cache
in a scene orgame.cache
. - Phaser.Utils.Debug#gameInfo()
Updates
- Phaser.RenderTexture#getBase64() has
type
andencoderOptions
arguments. - Phaser.RenderTexture#getImage() has
type
,encoderOptions
,onLoadCallback
, andonErrorCallback
arguments. - Phaser.Tilemap#searchTileIndex() has an
all
argument, returning all matching tiles.
Bug Fixes
- Input pointers are stopped for the 'pointercancel' event. This should prevent lost/frozen pointers after OS gestures (#663).
- Destroying the game during loading does not cause an error when loader completes (#666).