Merge pull request #233 from jcd-as/dev

fix for ’jitter’ in scrolling where tilemaps & sprites are one frame off...
This commit is contained in:
Richard Davey
2013-11-27 16:57:59 -08:00
+1 -2
View File
@@ -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();
}
/**