mirror of
https://github.com/wassname/phaser.git
synced 2026-10-01 12:21:02 +08:00
Nearly fixed the tilemap / body issue. More tests needed but then can push to master.
This commit is contained in:
1 parent
7ceb11ae49
commit
3de62907a0
8 files changed
+95
-77
No files matched your search
+2
-9
@@ -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;
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user