Version: 2.16.0
Released: 1st June 2020
Previous Version: 2.15.1
Download
Download this version of Phaser CE from npm. Need more details? Follow this tutorial
npm install phaser-ce@2.16.0
Change Log
Version 2.16.0 - 1st Jun 2020
API Changes
- Mouse wheel input is disabled by default. You can enable it by setting
{ mouseWheel: true }
in the game config. - Phaser.StateManager#onStateChange is dispatched before Phaser.Scene#init, rather than after.
New Features
- Phaser.Camera#fadeIn is a new camera effect. It does the opposite of Phaser.Camera#fade.
- Phaser.SoundManager#onStateChange is a new signal, dispatched when the Web Audio context changes state, when using Web Audio.
- Phaser.Utils.Debug#state shows the current game state.
Updates
- The Web Audio context is resumed automatically when resuming or refocusing the game (#667).
Thanks
@samme, @SBCGames