Skip to content

Commit 1a086fc

Browse files
committed
3.55.2 Release
1 parent 9cd5f56 commit 1a086fc

12 files changed

Lines changed: 50 additions & 44 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Version 3.55.2 - Ichika - 27th May 2021
2+
3+
### Bug Fixes
4+
5+
* Fixed an issue in `FillPathWebGL`, `IsoBoxWebGLRenderer` and `IsoTriangleWebGLRenderer` functions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks @samme)
6+
17
## Version 3.55.1 - Ichika - 26th May 2021
28

39
### New Features

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Grab the source and join the fun!
2828

2929
<div align="center"><img src="https://phaser.io/images/github/news.jpg"></div>
3030

31-
> 26th May 2021
31+
> 27th May 2021
3232
3333
After 13 beta releases, over 200 resolved issues, thousands of lines of new code and the culmination of over 6 months incredibly hard work, Phaser 3.50 was finally released in December 2020 and we're continuing with updates into 2021 with this new 3.55 release. 3.55 focuses mostly on fixing issues, but also addresses a performance issue with mixing Sprites and Graphics objects together.
3434

@@ -119,13 +119,13 @@ npm install phaser
119119
[Phaser is on jsDelivr](https://www.jsdelivr.com/package/npm/phaser) which is a "super-fast CDN for developers". Include the following in your html:
120120

121121
```html
122-
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser.js"></script>
122+
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.2/dist/phaser.js"></script>
123123
```
124124

125125
or the minified version:
126126

127127
```html
128-
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser.min.js"></script>
128+
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.2/dist/phaser.min.js"></script>
129129
```
130130

131131
### API Documentation
@@ -195,7 +195,7 @@ Create an `index.html` page locally and paste the following code into it:
195195
<!DOCTYPE html>
196196
<html>
197197
<head>
198-
<script src="https://cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser-arcade-physics.min.js"></script>
198+
<script src="https://cdn.jsdelivr.net/npm/phaser@3.55.2/dist/phaser-arcade-physics.min.js"></script>
199199
</head>
200200
<body>
201201

@@ -347,8 +347,8 @@ All rights reserved.
347347

348348
"Above all, video games are meant to be just one thing: fun. Fun for everyone." - Satoru Iwata
349349

350-
[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.js
351-
[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.min.js
350+
[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.js
351+
[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.min.js
352352
[clone-http]: https://github.com/photonstorm/phaser.git
353353
[clone-ssh]: git@github.com:photonstorm/phaser.git
354354
[clone-ghwin]: github-windows://openRepo/https://github.com/photonstorm/phaser

dist/phaser-arcade-physics.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7058,7 +7058,7 @@ var CONST = {
70587058
* @type {string}
70597059
* @since 3.0.0
70607060
*/
7061-
VERSION: '3.55.1',
7061+
VERSION: '3.55.2',
70627062

70637063
BlendModes: __webpack_require__(35),
70647064

@@ -27237,7 +27237,7 @@ var FillPathWebGL = function (pipeline, calcMatrix, src, alpha, dx, dy)
2723727237
var tx2 = calcMatrix.getX(x2, y2);
2723827238
var ty2 = calcMatrix.getY(x2, y2);
2723927239

27240-
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
27240+
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
2724127241
}
2724227242
};
2724327243

@@ -166660,7 +166660,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
166660166660
x3 = calcMatrix.getX(0, sizeB - height);
166661166661
y3 = calcMatrix.getY(0, sizeB - height);
166662166662

166663-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
166663+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
166664166664
}
166665166665

166666166666
// Left Face
@@ -166681,7 +166681,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
166681166681
x3 = calcMatrix.getX(-sizeA, -height);
166682166682
y3 = calcMatrix.getY(-sizeA, -height);
166683166683

166684-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
166684+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
166685166685
}
166686166686

166687166687
// Right Face
@@ -166702,7 +166702,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
166702166702
x3 = calcMatrix.getX(sizeA, -height);
166703166703
y3 = calcMatrix.getY(sizeA, -height);
166704166704

166705-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
166705+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
166706166706
}
166707166707

166708166708
renderer.pipelines.postBatch(src);
@@ -166927,7 +166927,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
166927166927
var x3 = calcMatrix.getX(0, sizeB - height);
166928166928
var y3 = calcMatrix.getY(0, sizeB - height);
166929166929

166930-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
166930+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
166931166931
}
166932166932

166933166933
// Left Face
@@ -166959,7 +166959,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
166959166959
y2 = calcMatrix.getY(0, sizeB - height);
166960166960
}
166961166961

166962-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
166962+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
166963166963
}
166964166964

166965166965
// Right Face
@@ -166991,7 +166991,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
166991166991
y2 = calcMatrix.getY(0, sizeB - height);
166992166992
}
166993166993

166994-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
166994+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
166995166995
}
166996166996

166997166997
renderer.pipelines.postBatch(src);

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

dist/phaser-facebook-instant-games.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9444,7 +9444,7 @@ var CONST = {
94449444
* @type {string}
94459445
* @since 3.0.0
94469446
*/
9447-
VERSION: '3.55.1',
9447+
VERSION: '3.55.2',
94489448

94499449
BlendModes: __webpack_require__(37),
94509450

@@ -32125,7 +32125,7 @@ var FillPathWebGL = function (pipeline, calcMatrix, src, alpha, dx, dy)
3212532125
var tx2 = calcMatrix.getX(x2, y2);
3212632126
var ty2 = calcMatrix.getY(x2, y2);
3212732127

32128-
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
32128+
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
3212932129
}
3213032130
};
3213132131

@@ -183067,7 +183067,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
183067183067
x3 = calcMatrix.getX(0, sizeB - height);
183068183068
y3 = calcMatrix.getY(0, sizeB - height);
183069183069

183070-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
183070+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
183071183071
}
183072183072

183073183073
// Left Face
@@ -183088,7 +183088,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
183088183088
x3 = calcMatrix.getX(-sizeA, -height);
183089183089
y3 = calcMatrix.getY(-sizeA, -height);
183090183090

183091-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
183091+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
183092183092
}
183093183093

183094183094
// Right Face
@@ -183109,7 +183109,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
183109183109
x3 = calcMatrix.getX(sizeA, -height);
183110183110
y3 = calcMatrix.getY(sizeA, -height);
183111183111

183112-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
183112+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
183113183113
}
183114183114

183115183115
renderer.pipelines.postBatch(src);
@@ -183334,7 +183334,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
183334183334
var x3 = calcMatrix.getX(0, sizeB - height);
183335183335
var y3 = calcMatrix.getY(0, sizeB - height);
183336183336

183337-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
183337+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
183338183338
}
183339183339

183340183340
// Left Face
@@ -183366,7 +183366,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
183366183366
y2 = calcMatrix.getY(0, sizeB - height);
183367183367
}
183368183368

183369-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
183369+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
183370183370
}
183371183371

183372183372
// Right Face
@@ -183398,7 +183398,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
183398183398
y2 = calcMatrix.getY(0, sizeB - height);
183399183399
}
183400183400

183401-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
183401+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
183402183402
}
183403183403

183404183404
renderer.pipelines.postBatch(src);

dist/phaser-facebook-instant-games.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.

dist/phaser-ie9.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7601,7 +7601,7 @@ var CONST = {
76017601
* @type {string}
76027602
* @since 3.0.0
76037603
*/
7604-
VERSION: '3.55.1',
7604+
VERSION: '3.55.2',
76057605

76067606
BlendModes: __webpack_require__(35),
76077607

@@ -30346,7 +30346,7 @@ var FillPathWebGL = function (pipeline, calcMatrix, src, alpha, dx, dy)
3034630346
var tx2 = calcMatrix.getX(x2, y2);
3034730347
var ty2 = calcMatrix.getY(x2, y2);
3034830348

30349-
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
30349+
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
3035030350
}
3035130351
};
3035230352

@@ -174388,7 +174388,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174388174388
x3 = calcMatrix.getX(0, sizeB - height);
174389174389
y3 = calcMatrix.getY(0, sizeB - height);
174390174390

174391-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174391+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174392174392
}
174393174393

174394174394
// Left Face
@@ -174409,7 +174409,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174409174409
x3 = calcMatrix.getX(-sizeA, -height);
174410174410
y3 = calcMatrix.getY(-sizeA, -height);
174411174411

174412-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174412+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174413174413
}
174414174414

174415174415
// Right Face
@@ -174430,7 +174430,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174430174430
x3 = calcMatrix.getX(sizeA, -height);
174431174431
y3 = calcMatrix.getY(sizeA, -height);
174432174432

174433-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174433+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174434174434
}
174435174435

174436174436
renderer.pipelines.postBatch(src);
@@ -174655,7 +174655,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174655174655
var x3 = calcMatrix.getX(0, sizeB - height);
174656174656
var y3 = calcMatrix.getY(0, sizeB - height);
174657174657

174658-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174658+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174659174659
}
174660174660

174661174661
// Left Face
@@ -174687,7 +174687,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174687174687
y2 = calcMatrix.getY(0, sizeB - height);
174688174688
}
174689174689

174690-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
174690+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
174691174691
}
174692174692

174693174693
// Right Face
@@ -174719,7 +174719,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174719174719
y2 = calcMatrix.getY(0, sizeB - height);
174720174720
}
174721174721

174722-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
174722+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
174723174723
}
174724174724

174725174725
renderer.pipelines.postBatch(src);

dist/phaser-ie9.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.

dist/phaser.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7601,7 +7601,7 @@ var CONST = {
76017601
* @type {string}
76027602
* @since 3.0.0
76037603
*/
7604-
VERSION: '3.55.1',
7604+
VERSION: '3.55.2',
76057605

76067606
BlendModes: __webpack_require__(35),
76077607

@@ -30346,7 +30346,7 @@ var FillPathWebGL = function (pipeline, calcMatrix, src, alpha, dx, dy)
3034630346
var tx2 = calcMatrix.getX(x2, y2);
3034730347
var ty2 = calcMatrix.getY(x2, y2);
3034830348

30349-
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
30349+
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
3035030350
}
3035130351
};
3035230352

@@ -174388,7 +174388,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174388174388
x3 = calcMatrix.getX(0, sizeB - height);
174389174389
y3 = calcMatrix.getY(0, sizeB - height);
174390174390

174391-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174391+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174392174392
}
174393174393

174394174394
// Left Face
@@ -174409,7 +174409,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174409174409
x3 = calcMatrix.getX(-sizeA, -height);
174410174410
y3 = calcMatrix.getY(-sizeA, -height);
174411174411

174412-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174412+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174413174413
}
174414174414

174415174415
// Right Face
@@ -174430,7 +174430,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
174430174430
x3 = calcMatrix.getX(sizeA, -height);
174431174431
y3 = calcMatrix.getY(sizeA, -height);
174432174432

174433-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174433+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174434174434
}
174435174435

174436174436
renderer.pipelines.postBatch(src);
@@ -174655,7 +174655,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174655174655
var x3 = calcMatrix.getX(0, sizeB - height);
174656174656
var y3 = calcMatrix.getY(0, sizeB - height);
174657174657

174658-
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
174658+
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 2);
174659174659
}
174660174660

174661174661
// Left Face
@@ -174687,7 +174687,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174687174687
y2 = calcMatrix.getY(0, sizeB - height);
174688174688
}
174689174689

174690-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
174690+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
174691174691
}
174692174692

174693174693
// Right Face
@@ -174719,7 +174719,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
174719174719
y2 = calcMatrix.getY(0, sizeB - height);
174720174720
}
174721174721

174722-
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
174722+
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
174723174723
}
174724174724

174725174725
renderer.pipelines.postBatch(src);

dist/phaser.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.

0 commit comments

Comments
 (0)