Nearly fixed the tilemap / body issue. More tests needed but then can push to master.

This commit is contained in:
photonstorm
2013-10-29 04:07:26 +00:00
parent 7ceb11ae49
commit 3de62907a0
8 changed files with 95 additions and 77 deletions
+2 -9
View File
@@ -195,15 +195,8 @@ Phaser.Camera.prototype = {
this.checkBounds();
}
if (this.view.x !== -this.displayObject.position.x)
{
this.displayObject.position.x = -this.view.x;
}
if (this.view.y !== -this.displayObject.position.y)
{
this.displayObject.position.y = -this.view.y;
}
this.displayObject.position.x = -this.view.x;
this.displayObject.position.y = -this.view.y;
},