mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
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:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user