Removed PixiPatch as it's no longer needed. Re-worked all of the Sprite autoCull and inWorld checks and cached the bounds. Fixed the Body calculations so physics is working again.

This commit is contained in:
photonstorm
2014-02-09 03:48:31 +00:00
parent e8b432f518
commit 4aa945f991
13 changed files with 104 additions and 378 deletions
+2 -2
View File
@@ -340,8 +340,8 @@ Phaser.Camera.prototype = {
reset: function () {
this.target = null;
this.camera.x = 0;
this.camera.y = 0;
this.view.x = 0;
this.view.y = 0;
}
+1 -1
View File
@@ -175,7 +175,7 @@ Phaser.Stage.prototype = {
Phaser.Canvas.setUserSelect(this.canvas, 'none');
Phaser.Canvas.setTouchAction(this.canvas, 'none');
this.backgroundColor = '#000';
this.backgroundColor = '#000000';
document.addEventListener('visibilitychange', this._onChange, false);
document.addEventListener('webkitvisibilitychange', this._onChange, false);