separateX up and working sweet with gc spike removal too

This commit is contained in:
Richard Davey
2013-09-03 19:34:38 +01:00
parent a27f6d6562
commit 0f438d5221
4 changed files with 98 additions and 89 deletions
+2 -2
View File
@@ -243,10 +243,10 @@ Phaser.Sprite.prototype.update = function() {
}
// Update our physics bounds
this.body.update(this.center.x, this.center.y, this._cache.scaleX, this._cache.scaleY);
this.body.updateBounds(this.center.x, this.center.y, this._cache.scaleX, this._cache.scaleY);
}
this.body.updateMotion();
this.body.update();
}