3.55.1 Release

This commit is contained in:
Richard Davey 2021-05-26 15:51:31 +01:00
parent f870e331b1
commit 72753356d0
9 changed files with 94 additions and 74 deletions

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>
> 24th May 2021
> 26th 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.0/dist/phaser.js"></script>
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/dist/phaser.js"></script>
```
or the minified version:
```html
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.0/dist/phaser.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/phaser@3.55.1/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.0/dist/phaser-arcade-physics.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/phaser@3.55.1/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.0/phaser.js
[get-minjs]: https://github.com/photonstorm/phaser/releases/download/v3.55.0/phaser.min.js
[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
[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

@ -3845,8 +3845,10 @@ var GameObject = new Class({
* @method Phaser.GameObjects.GameObject#destroy
* @fires Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
* @param {boolean} [fromScene=false] - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
destroy: function ()
destroy: function (fromScene)
{
// This Game Object has already been destroyed
if (!this.scene || this.ignoreDestroy)
@ -3854,12 +3856,14 @@ var GameObject = new Class({
return;
}
if (fromScene === undefined) { fromScene = false; }
if (this.preDestroy)
{
this.preDestroy.call(this);
}
this.emit(Events.DESTROY, this);
this.emit(Events.DESTROY, this, fromScene);
this.removeAllListeners();
@ -4864,12 +4868,12 @@ var File = new Class({
*/
onLoad: function (xhr, event)
{
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685
// See: https://github.com/photonstorm/phaser/issues/5685
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var localFileOk = ( isLocalFile && event.target.status === 0);
var localFileOk = (isLocalFile && event.target.status === 0);
var success = !(event.target && event.target.status !== 200) || localFileOk;
@ -7054,7 +7058,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.0',
VERSION: '3.55.1',
BlendModes: __webpack_require__(35),
@ -27233,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(tx0, ty0, tx1, ty1, tx2, ty2, fillTintColor, fillTintColor, fillTintColor);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
}
};
@ -139188,15 +139192,16 @@ module.exports = 'addedtoscene';
/**
* The Game Object Destroy Event.
*
*
* This event is dispatched when a Game Object instance is being destroyed.
*
*
* Listen for it on a Game Object instance using `GameObject.on('destroy', listener)`.
*
* @event Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
*
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object which is being destroyed.
* @param {boolean} fromScene - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
module.exports = 'destroy';
@ -166655,7 +166660,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(0, sizeB - height);
y3 = calcMatrix.getY(0, sizeB - height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -166676,7 +166681,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(-sizeA, -height);
y3 = calcMatrix.getY(-sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Right Face
@ -166697,7 +166702,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(sizeA, -height);
y3 = calcMatrix.getY(sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);
@ -166922,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(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -166954,7 +166959,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
// Right Face
@ -166986,7 +166991,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);

File diff suppressed because one or more lines are too long

View file

@ -3758,8 +3758,10 @@ var GameObject = new Class({
* @method Phaser.GameObjects.GameObject#destroy
* @fires Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
* @param {boolean} [fromScene=false] - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
destroy: function ()
destroy: function (fromScene)
{
// This Game Object has already been destroyed
if (!this.scene || this.ignoreDestroy)
@ -3767,12 +3769,14 @@ var GameObject = new Class({
return;
}
if (fromScene === undefined) { fromScene = false; }
if (this.preDestroy)
{
this.preDestroy.call(this);
}
this.emit(Events.DESTROY, this);
this.emit(Events.DESTROY, this, fromScene);
this.removeAllListeners();
@ -5408,12 +5412,12 @@ var File = new Class({
*/
onLoad: function (xhr, event)
{
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685
// See: https://github.com/photonstorm/phaser/issues/5685
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var localFileOk = ( isLocalFile && event.target.status === 0);
var localFileOk = (isLocalFile && event.target.status === 0);
var success = !(event.target && event.target.status !== 200) || localFileOk;
@ -9440,7 +9444,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.0',
VERSION: '3.55.1',
BlendModes: __webpack_require__(37),
@ -32121,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(tx0, ty0, tx1, ty1, tx2, ty2, fillTintColor, fillTintColor, fillTintColor);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
}
};
@ -155117,15 +155121,16 @@ module.exports = 'addedtoscene';
/**
* The Game Object Destroy Event.
*
*
* This event is dispatched when a Game Object instance is being destroyed.
*
*
* Listen for it on a Game Object instance using `GameObject.on('destroy', listener)`.
*
* @event Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
*
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object which is being destroyed.
* @param {boolean} fromScene - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
module.exports = 'destroy';
@ -183062,7 +183067,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(0, sizeB - height);
y3 = calcMatrix.getY(0, sizeB - height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -183083,7 +183088,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(-sizeA, -height);
y3 = calcMatrix.getY(-sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Right Face
@ -183104,7 +183109,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(sizeA, -height);
y3 = calcMatrix.getY(sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);
@ -183329,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(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -183361,7 +183366,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
// Right Face
@ -183393,7 +183398,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);

File diff suppressed because one or more lines are too long

37
dist/phaser-ie9.js vendored
View file

@ -3845,8 +3845,10 @@ var GameObject = new Class({
* @method Phaser.GameObjects.GameObject#destroy
* @fires Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
* @param {boolean} [fromScene=false] - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
destroy: function ()
destroy: function (fromScene)
{
// This Game Object has already been destroyed
if (!this.scene || this.ignoreDestroy)
@ -3854,12 +3856,14 @@ var GameObject = new Class({
return;
}
if (fromScene === undefined) { fromScene = false; }
if (this.preDestroy)
{
this.preDestroy.call(this);
}
this.emit(Events.DESTROY, this);
this.emit(Events.DESTROY, this, fromScene);
this.removeAllListeners();
@ -4864,12 +4868,12 @@ var File = new Class({
*/
onLoad: function (xhr, event)
{
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685
// See: https://github.com/photonstorm/phaser/issues/5685
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var localFileOk = ( isLocalFile && event.target.status === 0);
var localFileOk = (isLocalFile && event.target.status === 0);
var success = !(event.target && event.target.status !== 200) || localFileOk;
@ -7597,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.0',
VERSION: '3.55.1',
BlendModes: __webpack_require__(35),
@ -30342,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(tx0, ty0, tx1, ty1, tx2, ty2, fillTintColor, fillTintColor, fillTintColor);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
}
};
@ -146916,15 +146920,16 @@ module.exports = 'addedtoscene';
/**
* The Game Object Destroy Event.
*
*
* This event is dispatched when a Game Object instance is being destroyed.
*
*
* Listen for it on a Game Object instance using `GameObject.on('destroy', listener)`.
*
* @event Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
*
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object which is being destroyed.
* @param {boolean} fromScene - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
module.exports = 'destroy';
@ -174383,7 +174388,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(0, sizeB - height);
y3 = calcMatrix.getY(0, sizeB - height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -174404,7 +174409,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(-sizeA, -height);
y3 = calcMatrix.getY(-sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Right Face
@ -174425,7 +174430,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(sizeA, -height);
y3 = calcMatrix.getY(sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);
@ -174650,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(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -174682,7 +174687,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
// Right Face
@ -174714,7 +174719,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);

File diff suppressed because one or more lines are too long

37
dist/phaser.js vendored
View file

@ -3845,8 +3845,10 @@ var GameObject = new Class({
* @method Phaser.GameObjects.GameObject#destroy
* @fires Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
* @param {boolean} [fromScene=false] - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
destroy: function ()
destroy: function (fromScene)
{
// This Game Object has already been destroyed
if (!this.scene || this.ignoreDestroy)
@ -3854,12 +3856,14 @@ var GameObject = new Class({
return;
}
if (fromScene === undefined) { fromScene = false; }
if (this.preDestroy)
{
this.preDestroy.call(this);
}
this.emit(Events.DESTROY, this);
this.emit(Events.DESTROY, this, fromScene);
this.removeAllListeners();
@ -4864,12 +4868,12 @@ var File = new Class({
*/
onLoad: function (xhr, event)
{
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
// See: https://github.com/photonstorm/phaser/issues/5685
// See: https://github.com/photonstorm/phaser/issues/5685
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
var localFileOk = ( isLocalFile && event.target.status === 0);
var localFileOk = (isLocalFile && event.target.status === 0);
var success = !(event.target && event.target.status !== 200) || localFileOk;
@ -7597,7 +7601,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.55.0',
VERSION: '3.55.1',
BlendModes: __webpack_require__(35),
@ -30342,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(tx0, ty0, tx1, ty1, tx2, ty2, fillTintColor, fillTintColor, fillTintColor);
pipeline.batchTri(src, tx0, ty0, tx1, ty1, tx2, ty2, 0, 0, 1, 1, fillTintColor, fillTintColor, fillTintColor, 1);
}
};
@ -146916,15 +146920,16 @@ module.exports = 'addedtoscene';
/**
* The Game Object Destroy Event.
*
*
* This event is dispatched when a Game Object instance is being destroyed.
*
*
* Listen for it on a Game Object instance using `GameObject.on('destroy', listener)`.
*
* @event Phaser.GameObjects.Events#DESTROY
* @since 3.0.0
*
*
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object which is being destroyed.
* @param {boolean} fromScene - `True` if this Game Object is being destroyed by the Scene, `false` if not.
*/
module.exports = 'destroy';
@ -174383,7 +174388,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(0, sizeB - height);
y3 = calcMatrix.getY(0, sizeB - height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -174404,7 +174409,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(-sizeA, -height);
y3 = calcMatrix.getY(-sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Right Face
@ -174425,7 +174430,7 @@ var IsoBoxWebGLRenderer = function (renderer, src, camera, parentMatrix)
x3 = calcMatrix.getX(sizeA, -height);
y3 = calcMatrix.getY(sizeA, -height);
pipeline.batchQuad(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);
@ -174650,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(x0, y0, x1, y1, x2, y2, x3, y3, tint, tint, tint, tint);
pipeline.batchQuad(src, x0, y0, x1, y1, x2, y2, x3, y3, 0, 0, 1, 1, tint, tint, tint, tint, 1);
}
// Left Face
@ -174682,7 +174687,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
// Right Face
@ -174714,7 +174719,7 @@ var IsoTriangleWebGLRenderer = function (renderer, src, camera, parentMatrix)
y2 = calcMatrix.getY(0, sizeB - height);
}
pipeline.batchTri(x0, y0, x1, y1, x2, y2, tint, tint, tint);
pipeline.batchTri(src, x0, y0, x1, y1, x2, y2, 0, 0, 1, 1, tint, tint, tint, 1);
}
renderer.pipelines.postBatch(src);

2
dist/phaser.min.js vendored

File diff suppressed because one or more lines are too long