Skip to content

Commit 60f2530

Browse files
authored
Merge pull request #710 from photonstorm/release/v2.19.2
Release Phaser CE v2.19.2
2 parents 8fa6cb0 + ae3be15 commit 60f2530

File tree

219 files changed

+7641
-7646
lines changed

Some content is hidden

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

219 files changed

+7641
-7646
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## Version 2.19.2 - 24 October 2021
4+
5+
### Bug Fixes
6+
7+
- Fixed a WebGL error (#709).
8+
9+
### Thanks
10+
11+
@photonstorm, @XWILKINX
12+
313
## Version 2.19.1 - 13 October 2021
414

515
### Bug Fixes

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Phaser CE is a fast, free, and fun open source HTML5 game framework. It uses a c
66

77
Phaser CE is based on Phaser v2.6.2 by [Photon Storm](http://www.photonstorm.com). [Phaser v3](http://phaser.io/phaser3) and [Phaser v4](https://github.com/phaserjs/phaser4) are in active development.
88

9-
The [current Phaser CE release is 2.19.1](https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.0).
9+
The [current Phaser CE release is 2.19.2](https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.2).
1010

1111
- **Visit:** The [Phaser website](http://phaser.io) and follow on [Twitter](https://twitter.com/photonstorm) (#[phaserjs](https://twitter.com/hashtag/phaserjs))
1212
- **Learn:** [API Docs](https://photonstorm.github.io/phaser-ce/), [Support Forum][forum] and [StackOverflow](https://stackoverflow.com/questions/tagged/phaser-framework)
@@ -82,19 +82,19 @@ Please see additional steps for [Browserify/CommonJS](#browserify) and [Webpack]
8282
[Phaser CE is on jsDelivr](http://www.jsdelivr.com/projects/phaser-ce). Include the following in your html:
8383

8484
```html
85-
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.1/build/phaser.js"></script>
85+
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.2/build/phaser.js"></script>
8686
```
8787

8888
or the minified version:
8989

9090
```html
91-
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.1"></script>
91+
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.2"></script>
9292
```
9393

94-
[Custom builds](https://cdn.jsdelivr.net/npm/phaser-ce@2.19.1/build/custom/) are available too, e.g.,
94+
[Custom builds](https://cdn.jsdelivr.net/npm/phaser-ce@2.19.2/build/custom/) are available too, e.g.,
9595

9696
```html
97-
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.1/build/custom/phaser-arcade-physics.js"></script>
97+
<script src="https://cdn.jsdelivr.net/npm/phaser-ce@2.19.2/build/custom/phaser-arcade-physics.js"></script>
9898
```
9999

100100
<a name="getting-started"></a>
@@ -282,10 +282,10 @@ All rights reserved.
282282

283283
[![Analytics](https://ga-beacon.appspot.com/UA-44006568-2/phaser/index)](https://github.com/igrigorik/ga-beacon)
284284

285-
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.19.0/phaser.js
286-
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.19.0/phaser.min.js
287-
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.19.0.zip
288-
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.19.0.tar.gz
285+
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.19.2/phaser.js
286+
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.19.2/phaser.min.js
287+
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.19.2.zip
288+
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.19.2.tar.gz
289289
[clone-http]: https://github.com/photonstorm/phaser.git
290290
[clone-ssh]: ssh://git@github.com:photonstorm/phaser.git
291291
[clone-svn]: https://github.com/photonstorm/phaser

build/custom/creature.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-arcade-physics.js

+3-6
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:07
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:11
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -5311,10 +5311,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
53115311
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
53125312

53135313
// Texture index
5314-
if (PIXI._enableMultiTextureToggle)
5315-
{
5316-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
5317-
}
5314+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
53185315
}
53195316

53205317
// upload the verts to the buffer
@@ -7787,7 +7784,7 @@ var Phaser = Phaser || { // jshint ignore:line
77877784
* @constant Phaser.VERSION
77887785
* @type {string}
77897786
*/
7790-
VERSION: '2.19.1',
7787+
VERSION: '2.19.2',
77917788

77927789
/**
77937790
* An array of Phaser game instances.

build/custom/phaser-arcade-physics.map

+1-1
Large diffs are not rendered by default.

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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-creature.js

+2-2
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:29
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:34
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.19.1',
43+
VERSION: '2.19.2',
4444

4545
/**
4646
* An array of Phaser game instances.

build/custom/phaser-creature.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-minimum.js

+3-6
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:17
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:22
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -5311,10 +5311,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
53115311
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
53125312

53135313
// Texture index
5314-
if (PIXI._enableMultiTextureToggle)
5315-
{
5316-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
5317-
}
5314+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
53185315
}
53195316

53205317
// upload the verts to the buffer
@@ -7787,7 +7784,7 @@ var Phaser = Phaser || { // jshint ignore:line
77877784
* @constant Phaser.VERSION
77887785
* @type {string}
77897786
*/
7790-
VERSION: '2.19.1',
7787+
VERSION: '2.19.2',
77917788

77927789
/**
77937790
* An array of Phaser game instances.

build/custom/phaser-minimum.map

+1-1
Large diffs are not rendered by default.

build/custom/phaser-minimum.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-no-physics.js

+3-6
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:13
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:17
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -5311,10 +5311,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
53115311
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
53125312

53135313
// Texture index
5314-
if (PIXI._enableMultiTextureToggle)
5315-
{
5316-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
5317-
}
5314+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
53185315
}
53195316

53205317
// upload the verts to the buffer
@@ -7787,7 +7784,7 @@ var Phaser = Phaser || { // jshint ignore:line
77877784
* @constant Phaser.VERSION
77887785
* @type {string}
77897786
*/
7790-
VERSION: '2.19.1',
7787+
VERSION: '2.19.2',
77917788

77927789
/**
77937790
* An array of Phaser game instances.

build/custom/phaser-no-physics.map

+1-1
Large diffs are not rendered by default.

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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-split.js

+2-2
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:22
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:27
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.19.1',
43+
VERSION: '2.19.2',
4444

4545
/**
4646
* An array of Phaser game instances.

build/custom/phaser-split.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/pixi.js

+2-5
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:28
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:34
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -5311,10 +5311,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
53115311
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
53125312

53135313
// Texture index
5314-
if (PIXI._enableMultiTextureToggle)
5315-
{
5316-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
5317-
}
5314+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
53185315
}
53195316

53205317
// upload the verts to the buffer

build/custom/pixi.map

+1-1
Large diffs are not rendered by default.

build/custom/pixi.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/phaser.js

+3-6
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.19.1 "2021-10-13" - Built: Tue Oct 19 2021 11:50:00
10+
* v2.19.2 "2021-10-25" - Built: Sun Oct 24 2021 17:53:03
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm and Phaser CE contributors
1313
*
@@ -20139,10 +20139,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
2013920139
gl.vertexAttribPointer(shader.colorAttribute, 4, gl.UNSIGNED_BYTE, true, stride, 16);
2014020140

2014120141
// Texture index
20142-
if (PIXI._enableMultiTextureToggle)
20143-
{
20144-
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
20145-
}
20142+
gl.vertexAttribPointer(shader.aTextureIndex, 1, gl.FLOAT, false, stride, 20);
2014620143
}
2014720144

2014820145
// upload the verts to the buffer
@@ -22615,7 +22612,7 @@ var Phaser = Phaser || { // jshint ignore:line
2261522612
* @constant Phaser.VERSION
2261622613
* @type {string}
2261722614
*/
22618-
VERSION: '2.19.1',
22615+
VERSION: '2.19.2',
2261922616

2262022617
/**
2262122618
* An array of Phaser game instances.

build/phaser.map

+1-1
Large diffs are not rendered by default.

build/phaser.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CreatureShader.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<title>Phaser CE Class: CreatureShader</title>
9-
<link rel="stylesheet" href="styles/site.phaser.css?2021101911">
9+
<link rel="stylesheet" href="styles/site.phaser.css?2021102417">
1010
</head>
1111

1212
<body>
@@ -224,7 +224,7 @@ <h5>Parameters:</h5>
224224
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
225225
<dd class="tag-source">
226226

227-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/gameobjects/Creature.js#L15" title="CreatureShader on line 15 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 15</a>
227+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/gameobjects/Creature.js#L15" title="CreatureShader on line 15 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 15</a>
228228

229229

230230

@@ -329,7 +329,7 @@ <h5>Type:</h5>
329329
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
330330
<dd class="tag-source">
331331

332-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/gameobjects/Creature.js#L42" title="fragmentSrc on line 42 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 42</a>
332+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/gameobjects/Creature.js#L42" title="fragmentSrc on line 42 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 42</a>
333333

334334

335335

@@ -402,7 +402,7 @@ <h5>Type:</h5>
402402
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
403403
<dd class="tag-source">
404404

405-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/gameobjects/Creature.js#L28" title="gl on line 28 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 28</a>
405+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/gameobjects/Creature.js#L28" title="gl on line 28 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 28</a>
406406

407407

408408

@@ -479,7 +479,7 @@ <h5>Type:</h5>
479479
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
480480
<dd class="tag-source">
481481

482-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/gameobjects/Creature.js#L35" title="program on line 35 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 35</a>
482+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/gameobjects/Creature.js#L35" title="program on line 35 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 35</a>
483483

484484

485485

@@ -556,7 +556,7 @@ <h5>Type:</h5>
556556
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
557557
<dd class="tag-source">
558558

559-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/gameobjects/Creature.js#L64" title="vertexSrc on line 64 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 64</a>
559+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/gameobjects/Creature.js#L64" title="vertexSrc on line 64 of src/gameobjects/Creature.js">src/gameobjects/Creature.js line 64</a>
560560

561561

562562

@@ -589,9 +589,9 @@ <h5>Type:</h5>
589589

590590

591591
<p class="package-signature">
592-
phaser-ce@2.19.1
592+
phaser-ce@2.19.2
593593
is on
594-
<a href="https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.1">GitHub</a>
594+
<a href="https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.2">GitHub</a>
595595
and
596596
<a href="https://www.npmjs.com/package/phaser-ce">NPM</a>
597597
</p>
@@ -608,7 +608,7 @@ <h5>Type:</h5>
608608
<p class="jsdoc-message">
609609
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
610610

611-
on 2021-10-19
611+
on 2021-10-24
612612

613613
using <a href="https://github.com/photonstorm/phaser-ce/tree/master/resources/docstrap-master">Tomorrow</a>.
614614
</p>
@@ -637,7 +637,7 @@ <h5>Type:</h5>
637637
</div>
638638
</div>
639639

640-
<script defer src="scripts/bundle.js?2021101911"></script>
640+
<script defer src="scripts/bundle.js?2021102417"></script>
641641

642642

643643

docs/EarCut.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<title>Phaser CE Class: EarCut</title>
9-
<link rel="stylesheet" href="styles/site.phaser.css?2021101911">
9+
<link rel="stylesheet" href="styles/site.phaser.css?2021102417">
1010
</head>
1111

1212
<body>
@@ -174,7 +174,7 @@ <h4 class="name" id="EarCut" data-name="EarCut">
174174
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
175175
<dd class="tag-source">
176176

177-
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.1/src/utils/EarCut.js#L20" title="EarCut on line 20 of src/utils/EarCut.js">src/utils/EarCut.js line 20</a>
177+
<a href="https://github.com/photonstorm/phaser-ce/blob/v2.19.2/src/utils/EarCut.js#L20" title="EarCut on line 20 of src/utils/EarCut.js">src/utils/EarCut.js line 20</a>
178178

179179

180180

@@ -231,9 +231,9 @@ <h4 class="name" id="EarCut" data-name="EarCut">
231231

232232

233233
<p class="package-signature">
234-
phaser-ce@2.19.1
234+
phaser-ce@2.19.2
235235
is on
236-
<a href="https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.1">GitHub</a>
236+
<a href="https://github.com/photonstorm/phaser-ce/releases/tag/v2.19.2">GitHub</a>
237237
and
238238
<a href="https://www.npmjs.com/package/phaser-ce">NPM</a>
239239
</p>
@@ -250,7 +250,7 @@ <h4 class="name" id="EarCut" data-name="EarCut">
250250
<p class="jsdoc-message">
251251
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
252252

253-
on 2021-10-19
253+
on 2021-10-24
254254

255255
using <a href="https://github.com/photonstorm/phaser-ce/tree/master/resources/docstrap-master">Tomorrow</a>.
256256
</p>
@@ -279,7 +279,7 @@ <h4 class="name" id="EarCut" data-name="EarCut">
279279
</div>
280280
</div>
281281

282-
<script defer src="scripts/bundle.js?2021101911"></script>
282+
<script defer src="scripts/bundle.js?2021102417"></script>
283283

284284

285285

0 commit comments

Comments
 (0)