Bug Fixes

Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)

Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)

Previously if you used Sprite.crop() it would crop all Sprites that shared the same base image. It now takes a local copy of the texture data and crops just that.

Tilemap had the wrong @method signatures so most were missing from the docs.

Fixed bug where changing State would cause the camera to not reset if it was following an object.

Tile had 2 properties (callback and callbackContext) that were never assigned, updated to use the proper names (thanks ratkingsimon)

Fixed an error that would occur if you used InputHandler.onInputUp and the Sprite destroys itself during the event.

IE11 didn't populate the Device.ie## Version value. Now extracted from Trident revision, but still use Device.trident instead for IE11+ checks.

Fixed bug in Math.angleBetween where it was using the coordinates in the wrong order.

Previously using a Pixel Perfect check didn't work if the Sprite was rotated or had a non-zero anchor point, now works under all conditions + atlas frames.

If pixelPerfect Input Sprites overlapped each other the pixel check wasn't taken into consieration in the Pointer move method.

Updated Input.Mouse to use event.button not event.which, so the const reference from input.mouse.button is correct (thanks grimor)

Text that was fixedToCamera would 'jitter' if the world scrolled. Now works as expected across all fixed objects.

Fixed a bug where Sound.play wouldn't pick-up the local loop setting if not specified in the parameter.

Active animations now monitor if the game pauses, and resume normally when the game un-pauses (fixes #179)

Swapping between tabs will now pause the game correctly on mobile browsers (iOS7+)

Swapping between tabs will pause and resume tweens correctly, allowing their onComplete events to still fire (fixes #292)

Fullscreen mode now uses window.outerWidth/Height when using EXACT_FIT as the scale mode, which fixes input coordinate errors (fixes #232)

Fullscreen mode now works in Internet Explorer and uses the new fullscreen non-prefix call.

Fixed TilemapParser - would spit out a tileset warning if margin/spacing were set (fix #485, thanks Cybolic)

AnimationParser.spriteSheet wasn't taking the margin or spacing into account when calculating the numbers of sprites per row/column, nor was it allowing for extra power-of-two padding at the end (fix #482, thanks yig)

AnimationManager.add documentation said that 'frames' could be null, but the code couldn't handle this so it defaults to an empty array if none given (thanks yig)