Skip to content

Commit cd7f116

Browse files
committed
Build Phaser CE v2.20.2
1 parent 5e0397b commit cd7f116

File tree

215 files changed

+7685
-7625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+7685
-7625
lines changed

build/custom/creature.min.js

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

build/custom/p2.min.js

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

build/custom/phaser-arcade-physics.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser CE - https://github.com/photonstorm/phaser-ce
99
*
10-
* v2.20.1 "2024-10-05" - Built: Sat Oct 05 2024 11:25:47
10+
* v2.20.2 "2025-02-20" - Built: Thu Feb 20 2025 10:11:52
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -7774,7 +7774,7 @@ var Phaser = Phaser || { // jshint ignore:line
77747774
* @constant Phaser.VERSION
77757775
* @type {string}
77767776
*/
7777-
VERSION: '2.20.1',
7777+
VERSION: '2.20.2',
77787778

77797779
/**
77807780
* AUTO renderer - picks between WebGL or Canvas based on device.
@@ -67573,12 +67573,24 @@ Phaser.SoundManager.prototype = {
6757367573
*/
6757467574
gameResumed: function ()
6757567575
{
67576-
this.resumeWebAudio();
67577-
6757867576
if (this.muteOnPause)
6757967577
{
6758067578
this.unsetMute();
6758167579
}
67580+
67581+
if (this.usingWebAudio && this.context.state !== 'running')
67582+
{
67583+
var _this = this;
67584+
67585+
// Needed to handle resuming audio on iOS17/iOS18+ if you hide the browser, press the home button, etc. <https://github.com/phaserjs/phaser/issues/6829>
67586+
setTimeout(function ()
67587+
{
67588+
if (!_this.context) { return; }
67589+
67590+
_this.context.suspend();
67591+
_this.context.resume();
67592+
}, 100);
67593+
}
6758267594
},
6758367595

6758467596
/**

build/custom/phaser-arcade-physics.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.

build/custom/phaser-arcade-physics.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-creature.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser CE - https://github.com/photonstorm/phaser-ce
99
*
10-
* v2.20.1 "2024-10-05" - Built: Sat Oct 05 2024 11:26:10
10+
* v2.20.2 "2025-02-20" - Built: Thu Feb 20 2025 10:12:14
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -40,7 +40,7 @@ var Phaser = Phaser || { // jshint ignore:line
4040
* @constant Phaser.VERSION
4141
* @type {string}
4242
*/
43-
VERSION: '2.20.1',
43+
VERSION: '2.20.2',
4444

4545
/**
4646
* AUTO renderer - picks between WebGL or Canvas based on device.
@@ -59839,12 +59839,24 @@ Phaser.SoundManager.prototype = {
5983959839
*/
5984059840
gameResumed: function ()
5984159841
{
59842-
this.resumeWebAudio();
59843-
5984459842
if (this.muteOnPause)
5984559843
{
5984659844
this.unsetMute();
5984759845
}
59846+
59847+
if (this.usingWebAudio && this.context.state !== 'running')
59848+
{
59849+
var _this = this;
59850+
59851+
// Needed to handle resuming audio on iOS17/iOS18+ if you hide the browser, press the home button, etc. <https://github.com/phaserjs/phaser/issues/6829>
59852+
setTimeout(function ()
59853+
{
59854+
if (!_this.context) { return; }
59855+
59856+
_this.context.suspend();
59857+
_this.context.resume();
59858+
}, 100);
59859+
}
5984859860
},
5984959861

5985059862
/**

build/custom/phaser-creature.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.

build/custom/phaser-creature.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-minimum.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser CE - https://github.com/photonstorm/phaser-ce
99
*
10-
* v2.20.1 "2024-10-05" - Built: Sat Oct 05 2024 11:25:57
10+
* v2.20.2 "2025-02-20" - Built: Thu Feb 20 2025 10:12:02
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -7774,7 +7774,7 @@ var Phaser = Phaser || { // jshint ignore:line
77747774
* @constant Phaser.VERSION
77757775
* @type {string}
77767776
*/
7777-
VERSION: '2.20.1',
7777+
VERSION: '2.20.2',
77787778

77797779
/**
77807780
* AUTO renderer - picks between WebGL or Canvas based on device.

build/custom/phaser-minimum.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.

0 commit comments

Comments
 (0)