Skip to content

Commit

Permalink
3.55.2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed May 27, 2021
1 parent 9cd5f56 commit 1a086fc
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 44 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 3.55.2 - Ichika - 27th May 2021

### Bug Fixes

* 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)

## Version 3.55.1 - Ichika - 26th May 2021

### New Features
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Grab the source and join the fun!

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

> 26th May 2021
> 27th May 2021
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.

Expand Down Expand Up @@ -119,13 +119,13 @@ npm install phaser
[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:

```html
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser.js"></script>
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.2/dist/phaser.js"></script>
```

or the minified version:

```html
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.2/dist/phaser.min.js"></script>
```

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

Expand Down Expand Up @@ -347,8 +347,8 @@ All rights reserved.

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

[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.js
[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.55.1/phaser.min.js
[get-js]: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.js
[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.min.js
[clone-http]: https://github.com/photonstorm/phaser.git
[clone-ssh]: git@github.com:photonstorm/phaser.git
[clone-ghwin]: github-windows://openRepo/https://github.com/photonstorm/phaser
Expand Down
16 changes: 8 additions & 8 deletions dist/phaser-arcade-physics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7058,7 +7058,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',

BlendModes: __webpack_require__(35),

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

pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
}
};

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

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

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

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

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

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

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

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

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

renderer.pipelines.postBatch(src);
Expand Down
2 changes: 1 addition & 1 deletion dist/phaser-arcade-physics.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/phaser-facebook-instant-games.js
Original file line number Diff line number Diff line change
Expand Up @@ -9444,7 +9444,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',

BlendModes: __webpack_require__(37),

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

pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
}
};

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

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

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

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

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

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

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

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

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

renderer.pipelines.postBatch(src);
Expand Down
2 changes: 1 addition & 1 deletion dist/phaser-facebook-instant-games.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/phaser-ie9.js
Original file line number Diff line number Diff line change
Expand Up @@ -7601,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',

BlendModes: __webpack_require__(35),

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

pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
}
};

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

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

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

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

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

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

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

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

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

renderer.pipelines.postBatch(src);
Expand Down
2 changes: 1 addition & 1 deletion dist/phaser-ie9.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/phaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7601,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',

BlendModes: __webpack_require__(35),

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

pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 2);
}
};

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

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

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

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

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

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

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

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

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

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

pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 2);
}

renderer.pipelines.postBatch(src);
Expand Down
2 changes: 1 addition & 1 deletion dist/phaser.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phaser",
"version": "3.55.1",
"version": "3.55.2",
"release": "Ichika",
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
"author": "Richard Davey <rich@photonstorm.com> (http://www.photonstorm.com)",
Expand Down
2 changes: 1 addition & 1 deletion src/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',

BlendModes: require('./renderer/BlendModes'),

Expand Down

0 comments on commit 1a086fc

Please sign in to comment.