3.55.2 Release

This commit is contained in:
Richard Davey 2021-05-27 14:52:00 +01:00
parent 9cd5f56eea
commit 1a086fc57c
12 changed files with 50 additions and 44 deletions

View file

@ -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

View file

@ -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.
@ -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
@ -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>
@ -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

View file

@ -7058,7 +7058,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',
BlendModes: __webpack_require__(35),
@ -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);
}
};
@ -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
@ -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
@ -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);
@ -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
@ -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
@ -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);

File diff suppressed because one or more lines are too long

View file

@ -9444,7 +9444,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',
BlendModes: __webpack_require__(37),
@ -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);
}
};
@ -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
@ -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
@ -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);
@ -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
@ -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
@ -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);

File diff suppressed because one or more lines are too long

16
dist/phaser-ie9.js vendored
View file

@ -7601,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',
BlendModes: __webpack_require__(35),
@ -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);
}
};
@ -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
@ -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
@ -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);
@ -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
@ -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
@ -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);

File diff suppressed because one or more lines are too long

16
dist/phaser.js vendored
View file

@ -7601,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',
BlendModes: __webpack_require__(35),
@ -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);
}
};
@ -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
@ -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
@ -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);
@ -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
@ -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
@ -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);

2
dist/phaser.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -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)",

View file

@ -20,7 +20,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.1',
VERSION: '3.55.2',
BlendModes: require('./renderer/BlendModes'),