mirror of
https://github.com/wassname/phaser.git
synced 2026-07-28 11:23:50 +08:00
Velocity integration tidied up. Now moving to sync Body with Sprite center point.
This commit is contained in:
+6
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user