Skip to content

Commit 37e4754

Browse files
committed
2.1.0 Release.
1 parent b1b7414 commit 37e4754

11 files changed

Lines changed: 155 additions & 35 deletions

build/custom/phaser-arcade-physics.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
10+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -11382,7 +11382,7 @@ PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
1138211382
*
1138311383
* Phaser - http://phaser.io
1138411384
*
11385-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
11385+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1138611386
*
1138711387
* By Richard Davey http://www.photonstorm.com @photonstorm
1138811388
*
@@ -16294,6 +16294,11 @@ Phaser.StateManager.prototype = {
1629416294

1629516295
this.game.scale.reset(this._clearWorld);
1629616296

16297+
if (this.game.debug)
16298+
{
16299+
this.game.debug.reset();
16300+
}
16301+
1629716302
if (this._clearWorld)
1629816303
{
1629916304
this.game.world.shutdown();
@@ -53110,6 +53115,25 @@ Phaser.Utils.Debug.prototype = {
5311053115

5311153116
},
5311253117

53118+
/**
53119+
* Clears the Debug canvas.
53120+
*
53121+
* @method Phaser.Utils.Debug#reset
53122+
*/
53123+
reset: function () {
53124+
53125+
if (this.context)
53126+
{
53127+
this.context.clearRect(0, 0, this.game.width, this.game.height);
53128+
}
53129+
53130+
if (this.sprite)
53131+
{
53132+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
53133+
}
53134+
53135+
},
53136+
5311353137
/**
5311453138
* Internal method that resets and starts the debug output values.
5311553139
*

build/custom/phaser-arcade-physics.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-ninja-physics.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
10+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -11382,7 +11382,7 @@ PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
1138211382
*
1138311383
* Phaser - http://phaser.io
1138411384
*
11385-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
11385+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1138611386
*
1138711387
* By Richard Davey http://www.photonstorm.com @photonstorm
1138811388
*
@@ -16294,6 +16294,11 @@ Phaser.StateManager.prototype = {
1629416294

1629516295
this.game.scale.reset(this._clearWorld);
1629616296

16297+
if (this.game.debug)
16298+
{
16299+
this.game.debug.reset();
16300+
}
16301+
1629716302
if (this._clearWorld)
1629816303
{
1629916304
this.game.world.shutdown();
@@ -53110,6 +53115,25 @@ Phaser.Utils.Debug.prototype = {
5311053115

5311153116
},
5311253117

53118+
/**
53119+
* Clears the Debug canvas.
53120+
*
53121+
* @method Phaser.Utils.Debug#reset
53122+
*/
53123+
reset: function () {
53124+
53125+
if (this.context)
53126+
{
53127+
this.context.clearRect(0, 0, this.game.width, this.game.height);
53128+
}
53129+
53130+
if (this.sprite)
53131+
{
53132+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
53133+
}
53134+
53135+
},
53136+
5311353137
/**
5311453138
* Internal method that resets and starts the debug output values.
5311553139
*

build/custom/phaser-ninja-physics.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-no-libs.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
10+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -4919,6 +4919,11 @@ Phaser.StateManager.prototype = {
49194919

49204920
this.game.scale.reset(this._clearWorld);
49214921

4922+
if (this.game.debug)
4923+
{
4924+
this.game.debug.reset();
4925+
}
4926+
49224927
if (this._clearWorld)
49234928
{
49244929
this.game.world.shutdown();
@@ -41735,6 +41740,25 @@ Phaser.Utils.Debug.prototype = {
4173541740

4173641741
},
4173741742

41743+
/**
41744+
* Clears the Debug canvas.
41745+
*
41746+
* @method Phaser.Utils.Debug#reset
41747+
*/
41748+
reset: function () {
41749+
41750+
if (this.context)
41751+
{
41752+
this.context.clearRect(0, 0, this.game.width, this.game.height);
41753+
}
41754+
41755+
if (this.sprite)
41756+
{
41757+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
41758+
}
41759+
41760+
},
41761+
4173841762
/**
4173941763
* Internal method that resets and starts the debug output values.
4174041764
*

build/custom/phaser-no-libs.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-no-physics.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
10+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -16264,6 +16264,11 @@ Phaser.StateManager.prototype = {
1626416264

1626516265
this.game.scale.reset(this._clearWorld);
1626616266

16267+
if (this.game.debug)
16268+
{
16269+
this.game.debug.reset();
16270+
}
16271+
1626716272
if (this._clearWorld)
1626816273
{
1626916274
this.game.world.shutdown();
@@ -53080,6 +53085,25 @@ Phaser.Utils.Debug.prototype = {
5308053085

5308153086
},
5308253087

53088+
/**
53089+
* Clears the Debug canvas.
53090+
*
53091+
* @method Phaser.Utils.Debug#reset
53092+
*/
53093+
reset: function () {
53094+
53095+
if (this.context)
53096+
{
53097+
this.context.clearRect(0, 0, this.game.width, this.game.height);
53098+
}
53099+
53100+
if (this.sprite)
53101+
{
53102+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
53103+
}
53104+
53105+
},
53106+
5308353107
/**
5308453108
* Internal method that resets and starts the debug output values.
5308553109
*

build/custom/phaser-no-physics.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/phaser.js

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:45
10+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:45
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -11382,7 +11382,7 @@ PIXI.RenderTexture.tempMatrix = new PIXI.Matrix();
1138211382
*
1138311383
* Phaser - http://phaser.io
1138411384
*
11385-
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 14:40:44
11385+
* v2.1.0 "Cairhien" - Built: Tue Sep 09 2014 15:35:44
1138611386
*
1138711387
* By Richard Davey http://www.photonstorm.com @photonstorm
1138811388
*
@@ -16294,6 +16294,11 @@ Phaser.StateManager.prototype = {
1629416294

1629516295
this.game.scale.reset(this._clearWorld);
1629616296

16297+
if (this.game.debug)
16298+
{
16299+
this.game.debug.reset();
16300+
}
16301+
1629716302
if (this._clearWorld)
1629816303
{
1629916304
this.game.world.shutdown();
@@ -53110,6 +53115,25 @@ Phaser.Utils.Debug.prototype = {
5311053115

5311153116
},
5311253117

53118+
/**
53119+
* Clears the Debug canvas.
53120+
*
53121+
* @method Phaser.Utils.Debug#reset
53122+
*/
53123+
reset: function () {
53124+
53125+
if (this.context)
53126+
{
53127+
this.context.clearRect(0, 0, this.game.width, this.game.height);
53128+
}
53129+
53130+
if (this.sprite)
53131+
{
53132+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
53133+
}
53134+
53135+
},
53136+
5311353137
/**
5311453138
* Internal method that resets and starts the debug output values.
5311553139
*

build/phaser.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)