Skip to content

Commit

Permalink
Build Phaser CE v2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samme committed Mar 6, 2020
1 parent ee7fb96 commit e030f61
Show file tree
Hide file tree
Showing 218 changed files with 8,499 additions and 8,518 deletions.
2 changes: 1 addition & 1 deletion build/custom/creature.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/custom/p2.min.js

Large diffs are not rendered by default.

51 changes: 21 additions & 30 deletions build/custom/phaser-arcade-physics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Phaser - http://phaser.io
*
* v2.14.0 "2020-01-19" - Built: Sun Jan 19 2020 13:12:10
* v2.15.0 "2020-03-06" - Built: Fri Mar 06 2020 12:24:43
*
* By Richard Davey http://www.photonstorm.com @photonstorm
*
Expand Down Expand Up @@ -5007,6 +5007,15 @@ PIXI.WebGLSpriteBatch.prototype.end = function ()
PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
{
var texture = sprite.texture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
if (PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + baseTexture.textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] = baseTexture;
}

// They provided an alternative rendering matrix, so use it
var wt = sprite.worldTransform;
Expand Down Expand Up @@ -5179,7 +5188,16 @@ PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
PIXI.WebGLSpriteBatch.prototype.renderTilingSprite = function (sprite)
{
var texture = sprite.tilingTexture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
var textureIndex = sprite.texture.baseTexture.textureIndex;
if (PIXI.WebGLRenderer.textureArray[textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[textureIndex] = baseTexture;
}

// check texture..
if (this.currentBatchSize >= this.size)
Expand Down Expand Up @@ -5411,7 +5429,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
}

//
if ((currentBaseTexture !== nextTexture && !skip) ||
if (/* (currentBaseTexture !== nextTexture && !skip) || */
blendSwap ||
shaderSwap)
{
Expand Down Expand Up @@ -7836,7 +7854,7 @@ var Phaser = Phaser || { // jshint ignore:line
* @constant Phaser.VERSION
* @type {string}
*/
VERSION: '2.14.0',
VERSION: '2.15.0',

/**
* An array of Phaser game instances.
Expand Down Expand Up @@ -33996,13 +34014,6 @@ Phaser.Component.BringToTop.prototype.moveDown = function ()
*/
Phaser.Component.Core = function () {};

/**
* @property {boolean} skipTypeChecks - Skip type checks in {@link #init}.
* @static
* @default
*/
Phaser.Component.Core.skipTypeChecks = false;

/**
* Installs / registers mixin components.
*
Expand Down Expand Up @@ -34047,26 +34058,6 @@ Phaser.Component.Core.install = function (components)
Phaser.Component.Core.init = function (game, x, y, key, frame)
{

if (!Phaser.Component.Core.skipTypeChecks)
{
if (!(game instanceof Phaser.Game))
{
throw new Error('The value passed as the `game` argument (' + game + ') is not an instance of Phaser.Game.');
}

if (typeof x !== 'number')
{
console.warn('The `x` argument value (%s) should be a number.', x);
x = 0; // This would be done implicitly in position.set().
}

if (typeof y !== 'number')
{
console.warn('The `y` argument value (%s) should be a number.', y);
y = 0; // This would be done implicitly in position.set().
}
}

this.game = game;
this.key = key;
this.data = {};
Expand Down
2 changes: 1 addition & 1 deletion build/custom/phaser-arcade-physics.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/custom/phaser-arcade-physics.min.js

Large diffs are not rendered by default.

31 changes: 2 additions & 29 deletions build/custom/phaser-creature.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Phaser - http://phaser.io
*
* v2.14.0 "2020-01-19" - Built: Sun Jan 19 2020 13:12:26
* v2.15.0 "2020-03-06" - Built: Fri Mar 06 2020 12:25:00
*
* By Richard Davey http://www.photonstorm.com @photonstorm
*
Expand Down Expand Up @@ -53,7 +53,7 @@ var Phaser = Phaser || { // jshint ignore:line
* @constant Phaser.VERSION
* @type {string}
*/
VERSION: '2.14.0',
VERSION: '2.15.0',

/**
* An array of Phaser game instances.
Expand Down Expand Up @@ -26213,13 +26213,6 @@ Phaser.Component.BringToTop.prototype.moveDown = function ()
*/
Phaser.Component.Core = function () {};

/**
* @property {boolean} skipTypeChecks - Skip type checks in {@link #init}.
* @static
* @default
*/
Phaser.Component.Core.skipTypeChecks = false;

/**
* Installs / registers mixin components.
*
Expand Down Expand Up @@ -26264,26 +26257,6 @@ Phaser.Component.Core.install = function (components)
Phaser.Component.Core.init = function (game, x, y, key, frame)
{

if (!Phaser.Component.Core.skipTypeChecks)
{
if (!(game instanceof Phaser.Game))
{
throw new Error('The value passed as the `game` argument (' + game + ') is not an instance of Phaser.Game.');
}

if (typeof x !== 'number')
{
console.warn('The `x` argument value (%s) should be a number.', x);
x = 0; // This would be done implicitly in position.set().
}

if (typeof y !== 'number')
{
console.warn('The `y` argument value (%s) should be a number.', y);
y = 0; // This would be done implicitly in position.set().
}
}

this.game = game;
this.key = key;
this.data = {};
Expand Down
2 changes: 1 addition & 1 deletion build/custom/phaser-creature.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/custom/phaser-creature.min.js

Large diffs are not rendered by default.

51 changes: 21 additions & 30 deletions build/custom/phaser-minimum.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Phaser - http://phaser.io
*
* v2.14.0 "2020-01-19" - Built: Sun Jan 19 2020 13:12:17
* v2.15.0 "2020-03-06" - Built: Fri Mar 06 2020 12:24:51
*
* By Richard Davey http://www.photonstorm.com @photonstorm
*
Expand Down Expand Up @@ -5007,6 +5007,15 @@ PIXI.WebGLSpriteBatch.prototype.end = function ()
PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
{
var texture = sprite.texture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
if (PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + baseTexture.textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] = baseTexture;
}

// They provided an alternative rendering matrix, so use it
var wt = sprite.worldTransform;
Expand Down Expand Up @@ -5179,7 +5188,16 @@ PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
PIXI.WebGLSpriteBatch.prototype.renderTilingSprite = function (sprite)
{
var texture = sprite.tilingTexture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
var textureIndex = sprite.texture.baseTexture.textureIndex;
if (PIXI.WebGLRenderer.textureArray[textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[textureIndex] = baseTexture;
}

// check texture..
if (this.currentBatchSize >= this.size)
Expand Down Expand Up @@ -5411,7 +5429,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
}

//
if ((currentBaseTexture !== nextTexture && !skip) ||
if (/* (currentBaseTexture !== nextTexture && !skip) || */
blendSwap ||
shaderSwap)
{
Expand Down Expand Up @@ -7836,7 +7854,7 @@ var Phaser = Phaser || { // jshint ignore:line
* @constant Phaser.VERSION
* @type {string}
*/
VERSION: '2.14.0',
VERSION: '2.15.0',

/**
* An array of Phaser game instances.
Expand Down Expand Up @@ -31295,13 +31313,6 @@ Phaser.Component.BringToTop.prototype.moveDown = function ()
*/
Phaser.Component.Core = function () {};

/**
* @property {boolean} skipTypeChecks - Skip type checks in {@link #init}.
* @static
* @default
*/
Phaser.Component.Core.skipTypeChecks = false;

/**
* Installs / registers mixin components.
*
Expand Down Expand Up @@ -31346,26 +31357,6 @@ Phaser.Component.Core.install = function (components)
Phaser.Component.Core.init = function (game, x, y, key, frame)
{

if (!Phaser.Component.Core.skipTypeChecks)
{
if (!(game instanceof Phaser.Game))
{
throw new Error('The value passed as the `game` argument (' + game + ') is not an instance of Phaser.Game.');
}

if (typeof x !== 'number')
{
console.warn('The `x` argument value (%s) should be a number.', x);
x = 0; // This would be done implicitly in position.set().
}

if (typeof y !== 'number')
{
console.warn('The `y` argument value (%s) should be a number.', y);
y = 0; // This would be done implicitly in position.set().
}
}

this.game = game;
this.key = key;
this.data = {};
Expand Down
2 changes: 1 addition & 1 deletion build/custom/phaser-minimum.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/custom/phaser-minimum.min.js

Large diffs are not rendered by default.

51 changes: 21 additions & 30 deletions build/custom/phaser-no-physics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Phaser - http://phaser.io
*
* v2.14.0 "2020-01-19" - Built: Sun Jan 19 2020 13:12:14
* v2.15.0 "2020-03-06" - Built: Fri Mar 06 2020 12:24:47
*
* By Richard Davey http://www.photonstorm.com @photonstorm
*
Expand Down Expand Up @@ -5007,6 +5007,15 @@ PIXI.WebGLSpriteBatch.prototype.end = function ()
PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
{
var texture = sprite.texture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
if (PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + baseTexture.textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[baseTexture.textureIndex] = baseTexture;
}

// They provided an alternative rendering matrix, so use it
var wt = sprite.worldTransform;
Expand Down Expand Up @@ -5179,7 +5188,16 @@ PIXI.WebGLSpriteBatch.prototype.render = function (sprite, matrix)
PIXI.WebGLSpriteBatch.prototype.renderTilingSprite = function (sprite)
{
var texture = sprite.tilingTexture;
var baseTexture = texture.baseTexture;
var gl = this.gl;
var textureIndex = sprite.texture.baseTexture.textureIndex;
if (PIXI.WebGLRenderer.textureArray[textureIndex] != baseTexture) // eslint-disable-line eqeqeq
{
this.flush();
gl.activeTexture(gl.TEXTURE0 + textureIndex);
gl.bindTexture(gl.TEXTURE_2D, baseTexture._glTextures[gl.id]);
PIXI.WebGLRenderer.textureArray[textureIndex] = baseTexture;
}

// check texture..
if (this.currentBatchSize >= this.size)
Expand Down Expand Up @@ -5411,7 +5429,7 @@ PIXI.WebGLSpriteBatch.prototype.flush = function ()
}

//
if ((currentBaseTexture !== nextTexture && !skip) ||
if (/* (currentBaseTexture !== nextTexture && !skip) || */
blendSwap ||
shaderSwap)
{
Expand Down Expand Up @@ -7836,7 +7854,7 @@ var Phaser = Phaser || { // jshint ignore:line
* @constant Phaser.VERSION
* @type {string}
*/
VERSION: '2.14.0',
VERSION: '2.15.0',

/**
* An array of Phaser game instances.
Expand Down Expand Up @@ -33996,13 +34014,6 @@ Phaser.Component.BringToTop.prototype.moveDown = function ()
*/
Phaser.Component.Core = function () {};

/**
* @property {boolean} skipTypeChecks - Skip type checks in {@link #init}.
* @static
* @default
*/
Phaser.Component.Core.skipTypeChecks = false;

/**
* Installs / registers mixin components.
*
Expand Down Expand Up @@ -34047,26 +34058,6 @@ Phaser.Component.Core.install = function (components)
Phaser.Component.Core.init = function (game, x, y, key, frame)
{

if (!Phaser.Component.Core.skipTypeChecks)
{
if (!(game instanceof Phaser.Game))
{
throw new Error('The value passed as the `game` argument (' + game + ') is not an instance of Phaser.Game.');
}

if (typeof x !== 'number')
{
console.warn('The `x` argument value (%s) should be a number.', x);
x = 0; // This would be done implicitly in position.set().
}

if (typeof y !== 'number')
{
console.warn('The `y` argument value (%s) should be a number.', y);
y = 0; // This would be done implicitly in position.set().
}
}

this.game = game;
this.key = key;
this.data = {};
Expand Down
2 changes: 1 addition & 1 deletion build/custom/phaser-no-physics.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/custom/phaser-no-physics.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit e030f61

Please sign in to comment.