Sprite.destroy is back in business.

This commit is contained in:
photonstorm
2013-10-13 01:29:57 +01:00
parent 574f4f351b
commit e98aa205ea
5 changed files with 72 additions and 5 deletions
+2
View File
@@ -116,6 +116,8 @@ Version 1.0.7 (in progress in the dev branch)
* Tweens .to will now always return the parent (thanks powerfear)
* You can now pass a PIXI.Texture to Sprite (you also need to pass a Phaser.Frame as the frame parameter) but this is useful for Sprites sharing joint canvases.
* Fixed Issue #101 (Mouse Button 0 is not recognised, thanks rezoner)
* Added Sprite.destroy back in again and made it a lot more robust at cleaning up child objects.
* TODO: look at Sprite.crop (http://www.html5gamedevs.com/topic/1617-error-in-spritecrop/)