Lots of new examples and updates.

This commit is contained in:
photonstorm
2013-10-09 04:31:08 +01:00
parent 1c577d3674
commit 83a00862be
42 changed files with 829 additions and 280 deletions
+2 -2
View File
@@ -251,10 +251,10 @@ Phaser.Camera.prototype = {
this.atLimit.y = false;
// Make sure we didn't go outside the cameras bounds
if (this.view.x < this.bounds.left)
if (this.view.x < this.bounds.x)
{
this.atLimit.x = true;
this.view.x = this.bounds.left;
this.view.x = this.bounds.x;
}
if (this.view.x > this.bounds.right - this.width)