3.20.1 dist files

This commit is contained in:
Richard Davey 2019-10-15 12:31:38 +01:00
parent 24029b27db
commit e762a89223
6 changed files with 153 additions and 132 deletions

View file

@ -5300,7 +5300,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.20.0',
VERSION: '3.20.1',
BlendModes: __webpack_require__(52),
@ -72477,7 +72477,7 @@ var SceneManager = new Class({
},
/**
* Runs the given Scene, but does not change the state of this Scene.
* Runs the given Scene.
*
* If the given Scene is paused, it will resume it. If sleeping, it will wake it.
* If not running at all, it will be started.
@ -72515,7 +72515,7 @@ var SceneManager = new Class({
// Sleeping?
scene.sys.wake(data);
}
else if (scene.sys.isBooted && !scene.sys.isActive())
else if (scene.sys.isPaused())
{
// Paused?
scene.sys.resume(data);
@ -103919,7 +103919,7 @@ var DynamicTilemapLayer = new Class({
*/
setCollision: function (indexes, collides, recalculateFaces, updateLayer)
{
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this, updateLayer);
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this.layer, updateLayer);
return this;
},
@ -129745,7 +129745,9 @@ var Path = new Class({
},
/**
* [description]
* Returns a randomly chosen point anywhere on the path. This follows the same rules as `getPoint` in that it may return a point on any Curve inside this path.
*
* When calling this method multiple times, the points are not guaranteed to be equally spaced spatially.
*
* @method Phaser.Curves.Path#getRandomPoint
* @since 3.0.0
@ -129754,7 +129756,7 @@ var Path = new Class({
*
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new `Vector2` if none was provided.
*/
getRandomPoint: function (out)
{
@ -129764,14 +129766,16 @@ var Path = new Class({
},
/**
* Creates a straight Line Curve from the ending point of the Path to the given coordinates.
* Divides this Path into a set of equally spaced points,
*
* The resulting points are equally spaced with respect to the points' position on the path, but not necessarily equally spaced spatially.
*
* @method Phaser.Curves.Path#getSpacedPoints
* @since 3.0.0
*
* @param {integer} [divisions=40] - The X coordinate of the line's ending point, or the line's ending point as a `Vector2`.
* @param {integer} [divisions=40] - The amount of points to divide this Path into.
*
* @return {Phaser.Math.Vector2[]} [description]
* @return {Phaser.Math.Vector2[]} A list of the points this path was subdivided into.
*/
getSpacedPoints: function (divisions)
{
@ -129793,16 +129797,16 @@ var Path = new Class({
},
/**
* [description]
* Returns the starting point of the Path.
*
* @method Phaser.Curves.Path#getStartPoint
* @since 3.0.0
*
* @generic {Phaser.Math.Vector2} O - [out,$return]
*
* @param {Phaser.Math.Vector2} [out] - [description]
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new Vector2 if none was provided.
*/
getStartPoint: function (out)
{
@ -129812,15 +129816,15 @@ var Path = new Class({
},
/**
* Creates a line curve from the previous end point to x/y
* Creates a line curve from the previous end point to x/y.
*
* @method Phaser.Curves.Path#lineTo
* @since 3.0.0
*
* @param {(number|Phaser.Math.Vector2)} x - [description]
* @param {number} [y] - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the line's end point, or a `Vector2` containing the entire end point.
* @param {number} [y] - The Y coordinate of the line's end point, if a number was passed as the X parameter.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
lineTo: function (x, y)
{
@ -129838,17 +129842,15 @@ var Path = new Class({
return this.add(new LineCurve([ end.x, end.y, this._tmpVec2B.x, this._tmpVec2B.y ]));
},
// Creates a spline curve starting at the previous end point, using the given parameters
/**
* [description]
* Creates a spline curve starting at the previous end point, using the given points on the curve.
*
* @method Phaser.Curves.Path#splineTo
* @since 3.0.0
*
* @param {Phaser.Math.Vector2[]} points - [description]
* @param {Phaser.Math.Vector2[]} points - The points the newly created spline curve should consist of.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
splineTo: function (points)
{
@ -129858,28 +129860,37 @@ var Path = new Class({
},
/**
* [description]
* Creates a "gap" in this path from the path's current end point to the given coordinates.
*
* After calling this function, this Path's end point will be equal to the given coordinates
*
* @method Phaser.Curves.Path#moveTo
* @since 3.0.0
*
* @param {number} x - [description]
* @param {number} y - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the position to move the path's end point to, or a `Vector2` containing the entire new end point.
* @param {number} y - The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
moveTo: function (x, y)
{
return this.add(new MovePathTo(x, y));
if (x instanceof Vector2)
{
return this.add(new MovePathTo(x.x, x.y));
}
else
{
return this.add(new MovePathTo(x, y));
}
},
/**
* [description]
* Converts this Path to a JSON object containing the path information and its consitutent curves.
*
* @method Phaser.Curves.Path#toJSON
* @since 3.0.0
*
* @return {Phaser.Types.Curves.JSONPath} [description]
* @return {Phaser.Types.Curves.JSONPath} The JSON object containing this path's data.
*/
toJSON: function ()
{
@ -129913,7 +129924,7 @@ var Path = new Class({
},
/**
* [description]
* Disposes of this Path, clearing its internal references to objects so they can be garbage-collected.
*
* @method Phaser.Curves.Path#destroy
* @since 3.0.0
@ -137945,10 +137956,12 @@ var UpdateList = new Class({
this._active = [];
this._destroy = [];
this.removeAllListeners();
var eventEmitter = this.systems.events;
eventEmitter.off(SceneEvents.PRE_UPDATE, this.preUpdate, this);
eventEmitter.off(SceneEvents.UPDATE, this.update, this);
eventEmitter.off(SceneEvents.UPDATE, this.sceneUpdate, this);
eventEmitter.off(SceneEvents.SHUTDOWN, this.shutdown, this);
},
@ -137964,7 +137977,7 @@ var UpdateList = new Class({
{
this.shutdown();
this.scene.sys.events.off(SceneEvents.START, this.start, this);
this.systems.events.off(SceneEvents.START, this.start, this);
this.scene = null;
this.systems = null;
@ -139634,8 +139647,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
renderer.setBlendMode(0);
}
// var alpha = container._alpha;
var alphaTopLeft = container.alphaTopLeft;
var alphaTopRight = container.alphaTopRight;
var alphaBottomLeft = container.alphaBottomLeft;
@ -139646,7 +139657,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var list = children;
var childCount = children.length;
var current = renderer.mask;
for (var i = 0; i < childCount; i++)
{
@ -139690,15 +139700,7 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var mask = child.mask;
current = renderer.currentMask;
if (current.mask && current.mask !== mask)
{
// Render out the previously set mask
current.mask.postRenderWebGL(renderer, current.camera);
}
if (mask && current.mask !== mask)
if (mask)
{
mask.preRenderWebGL(renderer, child, camera);
}
@ -139727,6 +139729,11 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
child.setScrollFactor(childScrollFactorX, childScrollFactorY);
if (mask)
{
mask.postRenderWebGL(renderer, camera);
}
renderer.newType = false;
}
};

File diff suppressed because one or more lines are too long

View file

@ -7541,7 +7541,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.20.0',
VERSION: '3.20.1',
BlendModes: __webpack_require__(42),
@ -85214,7 +85214,7 @@ var SceneManager = new Class({
},
/**
* Runs the given Scene, but does not change the state of this Scene.
* Runs the given Scene.
*
* If the given Scene is paused, it will resume it. If sleeping, it will wake it.
* If not running at all, it will be started.
@ -85252,7 +85252,7 @@ var SceneManager = new Class({
// Sleeping?
scene.sys.wake(data);
}
else if (scene.sys.isBooted && !scene.sys.isActive())
else if (scene.sys.isPaused())
{
// Paused?
scene.sys.resume(data);
@ -126301,7 +126301,7 @@ var DynamicTilemapLayer = new Class({
*/
setCollision: function (indexes, collides, recalculateFaces, updateLayer)
{
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this, updateLayer);
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this.layer, updateLayer);
return this;
},
@ -145561,7 +145561,9 @@ var Path = new Class({
},
/**
* [description]
* Returns a randomly chosen point anywhere on the path. This follows the same rules as `getPoint` in that it may return a point on any Curve inside this path.
*
* When calling this method multiple times, the points are not guaranteed to be equally spaced spatially.
*
* @method Phaser.Curves.Path#getRandomPoint
* @since 3.0.0
@ -145570,7 +145572,7 @@ var Path = new Class({
*
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new `Vector2` if none was provided.
*/
getRandomPoint: function (out)
{
@ -145580,14 +145582,16 @@ var Path = new Class({
},
/**
* Creates a straight Line Curve from the ending point of the Path to the given coordinates.
* Divides this Path into a set of equally spaced points,
*
* The resulting points are equally spaced with respect to the points' position on the path, but not necessarily equally spaced spatially.
*
* @method Phaser.Curves.Path#getSpacedPoints
* @since 3.0.0
*
* @param {integer} [divisions=40] - The X coordinate of the line's ending point, or the line's ending point as a `Vector2`.
* @param {integer} [divisions=40] - The amount of points to divide this Path into.
*
* @return {Phaser.Math.Vector2[]} [description]
* @return {Phaser.Math.Vector2[]} A list of the points this path was subdivided into.
*/
getSpacedPoints: function (divisions)
{
@ -145609,16 +145613,16 @@ var Path = new Class({
},
/**
* [description]
* Returns the starting point of the Path.
*
* @method Phaser.Curves.Path#getStartPoint
* @since 3.0.0
*
* @generic {Phaser.Math.Vector2} O - [out,$return]
*
* @param {Phaser.Math.Vector2} [out] - [description]
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new Vector2 if none was provided.
*/
getStartPoint: function (out)
{
@ -145628,15 +145632,15 @@ var Path = new Class({
},
/**
* Creates a line curve from the previous end point to x/y
* Creates a line curve from the previous end point to x/y.
*
* @method Phaser.Curves.Path#lineTo
* @since 3.0.0
*
* @param {(number|Phaser.Math.Vector2)} x - [description]
* @param {number} [y] - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the line's end point, or a `Vector2` containing the entire end point.
* @param {number} [y] - The Y coordinate of the line's end point, if a number was passed as the X parameter.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
lineTo: function (x, y)
{
@ -145654,17 +145658,15 @@ var Path = new Class({
return this.add(new LineCurve([ end.x, end.y, this._tmpVec2B.x, this._tmpVec2B.y ]));
},
// Creates a spline curve starting at the previous end point, using the given parameters
/**
* [description]
* Creates a spline curve starting at the previous end point, using the given points on the curve.
*
* @method Phaser.Curves.Path#splineTo
* @since 3.0.0
*
* @param {Phaser.Math.Vector2[]} points - [description]
* @param {Phaser.Math.Vector2[]} points - The points the newly created spline curve should consist of.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
splineTo: function (points)
{
@ -145674,28 +145676,37 @@ var Path = new Class({
},
/**
* [description]
* Creates a "gap" in this path from the path's current end point to the given coordinates.
*
* After calling this function, this Path's end point will be equal to the given coordinates
*
* @method Phaser.Curves.Path#moveTo
* @since 3.0.0
*
* @param {number} x - [description]
* @param {number} y - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the position to move the path's end point to, or a `Vector2` containing the entire new end point.
* @param {number} y - The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
moveTo: function (x, y)
{
return this.add(new MovePathTo(x, y));
if (x instanceof Vector2)
{
return this.add(new MovePathTo(x.x, x.y));
}
else
{
return this.add(new MovePathTo(x, y));
}
},
/**
* [description]
* Converts this Path to a JSON object containing the path information and its consitutent curves.
*
* @method Phaser.Curves.Path#toJSON
* @since 3.0.0
*
* @return {Phaser.Types.Curves.JSONPath} [description]
* @return {Phaser.Types.Curves.JSONPath} The JSON object containing this path's data.
*/
toJSON: function ()
{
@ -145729,7 +145740,7 @@ var Path = new Class({
},
/**
* [description]
* Disposes of this Path, clearing its internal references to objects so they can be garbage-collected.
*
* @method Phaser.Curves.Path#destroy
* @since 3.0.0
@ -154239,10 +154250,12 @@ var UpdateList = new Class({
this._active = [];
this._destroy = [];
this.removeAllListeners();
var eventEmitter = this.systems.events;
eventEmitter.off(SceneEvents.PRE_UPDATE, this.preUpdate, this);
eventEmitter.off(SceneEvents.UPDATE, this.update, this);
eventEmitter.off(SceneEvents.UPDATE, this.sceneUpdate, this);
eventEmitter.off(SceneEvents.SHUTDOWN, this.shutdown, this);
},
@ -154258,7 +154271,7 @@ var UpdateList = new Class({
{
this.shutdown();
this.scene.sys.events.off(SceneEvents.START, this.start, this);
this.systems.events.off(SceneEvents.START, this.start, this);
this.scene = null;
this.systems = null;
@ -155928,8 +155941,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
renderer.setBlendMode(0);
}
// var alpha = container._alpha;
var alphaTopLeft = container.alphaTopLeft;
var alphaTopRight = container.alphaTopRight;
var alphaBottomLeft = container.alphaBottomLeft;
@ -155940,7 +155951,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var list = children;
var childCount = children.length;
var current = renderer.mask;
for (var i = 0; i < childCount; i++)
{
@ -155984,15 +155994,7 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var mask = child.mask;
current = renderer.currentMask;
if (current.mask && current.mask !== mask)
{
// Render out the previously set mask
current.mask.postRenderWebGL(renderer, current.camera);
}
if (mask && current.mask !== mask)
if (mask)
{
mask.preRenderWebGL(renderer, child, camera);
}
@ -156021,6 +156023,11 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
child.setScrollFactor(childScrollFactorX, childScrollFactorY);
if (mask)
{
mask.postRenderWebGL(renderer, camera);
}
renderer.newType = false;
}
};

File diff suppressed because one or more lines are too long

93
dist/phaser.js vendored
View file

@ -5300,7 +5300,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.20.0',
VERSION: '3.20.1',
BlendModes: __webpack_require__(52),
@ -76684,7 +76684,7 @@ var SceneManager = new Class({
},
/**
* Runs the given Scene, but does not change the state of this Scene.
* Runs the given Scene.
*
* If the given Scene is paused, it will resume it. If sleeping, it will wake it.
* If not running at all, it will be started.
@ -76722,7 +76722,7 @@ var SceneManager = new Class({
// Sleeping?
scene.sys.wake(data);
}
else if (scene.sys.isBooted && !scene.sys.isActive())
else if (scene.sys.isPaused())
{
// Paused?
scene.sys.resume(data);
@ -108405,7 +108405,7 @@ var DynamicTilemapLayer = new Class({
*/
setCollision: function (indexes, collides, recalculateFaces, updateLayer)
{
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this, updateLayer);
TilemapComponents.SetCollision(indexes, collides, recalculateFaces, this.layer, updateLayer);
return this;
},
@ -134387,7 +134387,9 @@ var Path = new Class({
},
/**
* [description]
* Returns a randomly chosen point anywhere on the path. This follows the same rules as `getPoint` in that it may return a point on any Curve inside this path.
*
* When calling this method multiple times, the points are not guaranteed to be equally spaced spatially.
*
* @method Phaser.Curves.Path#getRandomPoint
* @since 3.0.0
@ -134396,7 +134398,7 @@ var Path = new Class({
*
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new `Vector2` if none was provided.
*/
getRandomPoint: function (out)
{
@ -134406,14 +134408,16 @@ var Path = new Class({
},
/**
* Creates a straight Line Curve from the ending point of the Path to the given coordinates.
* Divides this Path into a set of equally spaced points,
*
* The resulting points are equally spaced with respect to the points' position on the path, but not necessarily equally spaced spatially.
*
* @method Phaser.Curves.Path#getSpacedPoints
* @since 3.0.0
*
* @param {integer} [divisions=40] - The X coordinate of the line's ending point, or the line's ending point as a `Vector2`.
* @param {integer} [divisions=40] - The amount of points to divide this Path into.
*
* @return {Phaser.Math.Vector2[]} [description]
* @return {Phaser.Math.Vector2[]} A list of the points this path was subdivided into.
*/
getSpacedPoints: function (divisions)
{
@ -134435,16 +134439,16 @@ var Path = new Class({
},
/**
* [description]
* Returns the starting point of the Path.
*
* @method Phaser.Curves.Path#getStartPoint
* @since 3.0.0
*
* @generic {Phaser.Math.Vector2} O - [out,$return]
*
* @param {Phaser.Math.Vector2} [out] - [description]
* @param {Phaser.Math.Vector2} [out] - `Vector2` instance that should be used for storing the result. If `undefined` a new `Vector2` will be created.
*
* @return {Phaser.Math.Vector2} [description]
* @return {Phaser.Math.Vector2} The modified `out` object, or a new Vector2 if none was provided.
*/
getStartPoint: function (out)
{
@ -134454,15 +134458,15 @@ var Path = new Class({
},
/**
* Creates a line curve from the previous end point to x/y
* Creates a line curve from the previous end point to x/y.
*
* @method Phaser.Curves.Path#lineTo
* @since 3.0.0
*
* @param {(number|Phaser.Math.Vector2)} x - [description]
* @param {number} [y] - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the line's end point, or a `Vector2` containing the entire end point.
* @param {number} [y] - The Y coordinate of the line's end point, if a number was passed as the X parameter.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
lineTo: function (x, y)
{
@ -134480,17 +134484,15 @@ var Path = new Class({
return this.add(new LineCurve([ end.x, end.y, this._tmpVec2B.x, this._tmpVec2B.y ]));
},
// Creates a spline curve starting at the previous end point, using the given parameters
/**
* [description]
* Creates a spline curve starting at the previous end point, using the given points on the curve.
*
* @method Phaser.Curves.Path#splineTo
* @since 3.0.0
*
* @param {Phaser.Math.Vector2[]} points - [description]
* @param {Phaser.Math.Vector2[]} points - The points the newly created spline curve should consist of.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
splineTo: function (points)
{
@ -134500,28 +134502,37 @@ var Path = new Class({
},
/**
* [description]
* Creates a "gap" in this path from the path's current end point to the given coordinates.
*
* After calling this function, this Path's end point will be equal to the given coordinates
*
* @method Phaser.Curves.Path#moveTo
* @since 3.0.0
*
* @param {number} x - [description]
* @param {number} y - [description]
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the position to move the path's end point to, or a `Vector2` containing the entire new end point.
* @param {number} y - The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate.
*
* @return {Phaser.Curves.Path} [description]
* @return {Phaser.Curves.Path} This Path object.
*/
moveTo: function (x, y)
{
return this.add(new MovePathTo(x, y));
if (x instanceof Vector2)
{
return this.add(new MovePathTo(x.x, x.y));
}
else
{
return this.add(new MovePathTo(x, y));
}
},
/**
* [description]
* Converts this Path to a JSON object containing the path information and its consitutent curves.
*
* @method Phaser.Curves.Path#toJSON
* @since 3.0.0
*
* @return {Phaser.Types.Curves.JSONPath} [description]
* @return {Phaser.Types.Curves.JSONPath} The JSON object containing this path's data.
*/
toJSON: function ()
{
@ -134555,7 +134566,7 @@ var Path = new Class({
},
/**
* [description]
* Disposes of this Path, clearing its internal references to objects so they can be garbage-collected.
*
* @method Phaser.Curves.Path#destroy
* @since 3.0.0
@ -142587,10 +142598,12 @@ var UpdateList = new Class({
this._active = [];
this._destroy = [];
this.removeAllListeners();
var eventEmitter = this.systems.events;
eventEmitter.off(SceneEvents.PRE_UPDATE, this.preUpdate, this);
eventEmitter.off(SceneEvents.UPDATE, this.update, this);
eventEmitter.off(SceneEvents.UPDATE, this.sceneUpdate, this);
eventEmitter.off(SceneEvents.SHUTDOWN, this.shutdown, this);
},
@ -142606,7 +142619,7 @@ var UpdateList = new Class({
{
this.shutdown();
this.scene.sys.events.off(SceneEvents.START, this.start, this);
this.systems.events.off(SceneEvents.START, this.start, this);
this.scene = null;
this.systems = null;
@ -144276,8 +144289,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
renderer.setBlendMode(0);
}
// var alpha = container._alpha;
var alphaTopLeft = container.alphaTopLeft;
var alphaTopRight = container.alphaTopRight;
var alphaBottomLeft = container.alphaBottomLeft;
@ -144288,7 +144299,6 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var list = children;
var childCount = children.length;
var current = renderer.mask;
for (var i = 0; i < childCount; i++)
{
@ -144332,15 +144342,7 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
var mask = child.mask;
current = renderer.currentMask;
if (current.mask && current.mask !== mask)
{
// Render out the previously set mask
current.mask.postRenderWebGL(renderer, current.camera);
}
if (mask && current.mask !== mask)
if (mask)
{
mask.preRenderWebGL(renderer, child, camera);
}
@ -144369,6 +144371,11 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
child.setScrollFactor(childScrollFactorX, childScrollFactorY);
if (mask)
{
mask.postRenderWebGL(renderer, camera);
}
renderer.newType = false;
}
};

2
dist/phaser.min.js vendored

File diff suppressed because one or more lines are too long