Velocity integration tidied up. Now moving to sync Body with Sprite center point.

This commit is contained in:
photonstorm
2014-01-28 01:29:35 +00:00
parent fbe508ab1b
commit 90c09374af
10 changed files with 291 additions and 316 deletions
+6 -2
View File
@@ -77,7 +77,9 @@ Phaser.World.prototype.preUpdate = function () {
if (currentNode['preUpdate'] && !currentNode.preUpdate())
{
currentNode = currentNode.last._iNext;
} else {
}
else
{
currentNode = currentNode._iNext;
}
@@ -106,7 +108,9 @@ Phaser.World.prototype.update = function () {
if (currentNode['update'] && !currentNode.update())
{
currentNode = currentNode.last._iNext;
} else {
}
else
{
currentNode = currentNode._iNext;
}