Group.length now returns the number of children in the Group regardless of their exists/alive state, or 0 if the Group is has no children.

This commit is contained in:
photonstorm
2013-12-05 09:14:49 +00:00
parent eb3d8241ca
commit cd314cd03e
3 changed files with 14 additions and 21 deletions
+7 -1
View File
@@ -46,13 +46,16 @@ Version 1.1.4 - "Kandor" - In development
New features:
* TBC
* Added a stage.fullScreenScaleMode property to determine scaling when fullscreen (thanks oysterCrusher)
Updates:
* When a Sprite is destroyed any active filters are removed as well.
* Updated Pixi.js so that removing filters now works correctly without breaking the display list.
* Phaser.Canvas.create updated to it can be given an ID as the 3rd parameter.
* Updated display/fullscreen example to reflect new full screen change.
Bug Fixes:
@@ -60,6 +63,9 @@ Bug Fixes:
* Fixed Group.scale so you can now scale a Group directly.
* Removed World.scale as it was preventing Group.scale from working - you can still scale the world, but you'll need to factor in Input changes yourself.
* Moved 'dirty' flag for Tilemap to a per-layer flag. Fixes #242
* Group.length now returns the number of children in the Group regardless of their exists/alive state, or 0 if the Group is has no children.
* Switch Camera.setBoundsToWorld to match world.bounds instead of world (thanks cocoademon)
You can view the Change Log for all previous versions at https://github.com/photonstorm/phaser/changelog.md