Fixed issue with the camera being slightly out of sync with 'fixedToCamera' sprites. Also fixed 'jitter' issue with camera targets.

This commit is contained in:
photonstorm
2014-01-31 03:32:12 +00:00
parent 6e4e99f436
commit 68b7d22e0d
7 changed files with 121 additions and 80 deletions
+2 -2
View File
@@ -592,7 +592,7 @@ Phaser.Game.prototype = {
}
this.plugins.preUpdate();
console.log('world preUpdate');
// console.log('world preUpdate');
this.world.preUpdate();
this.stage.update();
@@ -606,7 +606,7 @@ Phaser.Game.prototype = {
this.particles.update();
this.plugins.update();
console.log('world postUpdate');
// console.log('world postUpdate');
this.world.postUpdate();
this.plugins.postUpdate();
}