From e91d40b9fcee53c453f8d94253b6fea8014a1087 Mon Sep 17 00:00:00 2001 From: "Josh Shepard (jcs)" Date: Wed, 27 Nov 2013 16:25:20 -0800 Subject: [PATCH] =?UTF-8?q?fix=20for=20=E2=80=99jitter=E2=80=99=20in=20scr?= =?UTF-8?q?olling=20where=20tilemaps=20&=20sprites=20are=20one=20frame=20o?= =?UTF-8?q?ff=20from=20each=20other=20Fixes=20#214?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/World.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/World.js b/src/core/World.js index 46f33dd6..61114e23 100644 --- a/src/core/World.js +++ b/src/core/World.js @@ -113,8 +113,6 @@ Phaser.World.prototype.update = function () { */ Phaser.World.prototype.postUpdate = function () { - this.camera.update(); - if (this.game.stage._stage.first._iNext) { var currentNode = this.game.stage._stage.first._iNext; @@ -131,6 +129,7 @@ Phaser.World.prototype.postUpdate = function () { while (currentNode != this.game.stage._stage.last._iNext) } + this.camera.update(); } /**