mirror of
https://github.com/wassname/phaser.git
synced 2026-09-30 11:33:44 +08:00
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:
1 parent
e8b432f518
commit
4aa945f991
13 files changed
+104
-378
No files matched your search
+2
-2
@@ -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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user