From c5fc5e339424c49862d1871638eadf983d874088 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 19 Sep 2013 04:45:08 +0100 Subject: [PATCH] Fixed various issues in the TweenManager, added length property to Group and improved the build script. --- README.md | 4 +++ build/build.php | 15 ++++++-- build/phaser.js | 72 ++++++++++++++++++++++++++++++--------- src/Intro.js | 2 +- src/animation/Parser.js | 2 ++ src/core/Group.js | 8 +++++ src/tween/Tween.js | 13 +++++-- src/tween/TweenManager.js | 17 ++++++--- 8 files changed, 106 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 1784f48b..5963287e 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,10 @@ Version 1.0.5 (In progress) * Fixed issue in FrameData.getFrameIndexes where the input array was being ignored. * Added Math.numberArray - Returns an Array containing the numbers from min to max (inclusive), useful for animation frame construction. +* Fixed a horrendously sneaky bug: If a new tween was created in the onComplete callback of a tween about to be deleted, it would get automatically spliced. +* Added a pendingDelete property to Tween to stop tweens that were removed during a callback from causing update errors during the TweenManager loop. +* Added Group.length property. + Version 1.0.4 (September 18th 2013) diff --git a/build/build.php b/build/build.php index f7c2de4c..8379975d 100644 --- a/build/build.php +++ b/build/build.php @@ -2,7 +2,13 @@