This is another great update to Phaser CE with new features, updates and fixes.
As usual please see the Change Log for all the details and download the latest build from GitHub, npm or the CDNs:
New Features
- Added
adjustSize
parameter to Phaser.Tilemap#createFromObjects. Setting this to false will disable copying the object'swidth
andheight
to the new sprite.
Updates
- When using Web Audio (gain), volume and mute changes are smoothed (#385).
Bug Fixes
- Fixed a bug that did not show the last line of text of a BitmapText when the last character was the one that created the need for a new line (when maxWidth was set).
- Fixed grammar in the error message if an invalid State object is provided to the StateManager.
- Fixed Button#forceOut and Button#justReleasedPreventsOver failing on touch devices. The correct Phaser.PointerMode#CONTACT is now used instead of the undefined Phaser.PointerMode.TOUCH (#392).
- Fixed dead, physics-enabled game objects not being destroyed by pendingDestroy (#399).