diff --git a/docs/AABB.js.html b/docs/AABB.js.html index 42a99fba8..8cf0d6454 100644 --- a/docs/AABB.js.html +++ b/docs/AABB.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1995,7 +1995,7 @@ Phaser.Physics.Ninja.AABB.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AbstractFilter.js.html b/docs/AbstractFilter.js.html index 16019e068..0767ba722 100644 --- a/docs/AbstractFilter.js.html +++ b/docs/AbstractFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1040,7 +1040,7 @@ PIXI.AbstractFilter.prototype.apply = function(frameBuffer) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AlphaMaskFilter.js.html b/docs/AlphaMaskFilter.js.html index 239509e66..157e63d8e 100644 --- a/docs/AlphaMaskFilter.js.html +++ b/docs/AlphaMaskFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1060,7 +1060,7 @@ Object.defineProperty(PIXI.AlphaMaskFilter.prototype, 'map', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Animation.js.html b/docs/Animation.js.html index b2c7b4882..7e87402b6 100644 --- a/docs/Animation.js.html +++ b/docs/Animation.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1757,7 +1757,7 @@ Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zer Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AnimationManager.js.html b/docs/AnimationManager.js.html index fbd6423d4..703ab0390 100644 --- a/docs/AnimationManager.js.html +++ b/docs/AnimationManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1380,10 +1380,13 @@ Phaser.AnimationManager.prototype = { } this._anims = {}; + this._outputFrames = []; this._frameData = null; this._frameIndex = 0; this.currentAnim = null; this.currentFrame = null; + this.sprite = null; + this.game = null; } @@ -1556,7 +1559,7 @@ Object.defineProperty(Phaser.AnimationManager.prototype, 'frameName', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AnimationParser.js.html b/docs/AnimationParser.js.html index e119d598f..6c0d8dfba 100644 --- a/docs/AnimationParser.js.html +++ b/docs/AnimationParser.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1272,7 +1272,7 @@ Phaser.AnimationParser = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ArcadeParticles.js.html b/docs/ArcadeParticles.js.html index 193c73182..49bc5feac 100644 --- a/docs/ArcadeParticles.js.html +++ b/docs/ArcadeParticles.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -974,7 +974,7 @@ Phaser.Particles.Arcade = {}; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ArraySet.js.html b/docs/ArraySet.js.html index cf861ed97..1b01faa38 100644 --- a/docs/ArraySet.js.html +++ b/docs/ArraySet.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1198,7 +1198,7 @@ Phaser.ArrayList = Phaser.ArraySet; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ArrayUtils.js.html b/docs/ArrayUtils.js.html index ddf7a1a55..626dc4de4 100644 --- a/docs/ArrayUtils.js.html +++ b/docs/ArrayUtils.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1272,7 +1272,7 @@ Phaser.ArrayUtils = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AsciiFilter.js.html b/docs/AsciiFilter.js.html index 4edc10841..0761530b7 100644 --- a/docs/AsciiFilter.js.html +++ b/docs/AsciiFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1049,7 +1049,7 @@ Object.defineProperty(PIXI.AsciiFilter.prototype, 'size', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AssetLoader.js.html b/docs/AssetLoader.js.html index a7cb5cecb..830d3dadd 100644 --- a/docs/AssetLoader.js.html +++ b/docs/AssetLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1123,7 +1123,7 @@ PIXI.AssetLoader.prototype.onAssetLoaded = function(loader) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AtlasLoader.js.html b/docs/AtlasLoader.js.html index c277974b1..6c50a9426 100644 --- a/docs/AtlasLoader.js.html +++ b/docs/AtlasLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1153,7 +1153,7 @@ PIXI.AtlasLoader.prototype.onError = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AudioSprite.js.html b/docs/AudioSprite.js.html index 1faf2867a..7f37d168c 100644 --- a/docs/AudioSprite.js.html +++ b/docs/AudioSprite.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1001,16 +1001,9 @@ Phaser.AudioSprite = function (game, key) { { var marker = this.config.spritemap[k]; var sound = this.game.add.sound(this.key); - - if (marker.loop) - { - sound.addMarker(k, marker.start, (marker.end - marker.start), null, true); - } - else - { - sound.addMarker(k, marker.start, (marker.end - marker.start), null, false); - } - + + sound.addMarker(k, marker.start, (marker.end - marker.start), null, marker.loop); + this.sounds[k] = sound; } @@ -1100,7 +1093,7 @@ Phaser.AudioSprite.prototype.constructor = Phaser.AudioSprite; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BaseTexture.js.html b/docs/BaseTexture.js.html index 2c42fa3f2..c01f2627b 100644 --- a/docs/BaseTexture.js.html +++ b/docs/BaseTexture.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1267,7 +1267,7 @@ PIXI.BaseTexture.fromCanvas = function(canvas, scaleMode) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BitmapData.js.html b/docs/BitmapData.js.html index 300825e79..6b5778e27 100644 --- a/docs/BitmapData.js.html +++ b/docs/BitmapData.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1913,8 +1913,8 @@ Phaser.BitmapData.prototype = { * @param {number} [y=0] - The y coordinate representing the top-left of the region to copy from the source image. * @param {number} [width] - The width of the region to copy from the source image. If not specified it will use the full source image width. * @param {number} [height] - The height of the region to copy from the source image. If not specified it will use the full source image height. - * @param {number} [tx] - The x coordinate to translate to before drawing. If not specified it will default to the `x` parameter. - * @param {number} [ty] - The y coordinate to translate to before drawing. If not specified it will default to the `y` parameter. + * @param {number} [tx] - The x coordinate to translate to before drawing. If not specified it will default to the `x` parameter. If `null` and `source` is a Display Object, it will default to `source.x`. + * @param {number} [ty] - The y coordinate to translate to before drawing. If not specified it will default to the `y` parameter. If `null` and `source` is a Display Object, it will default to `source.y`. * @param {number} [newWidth] - The new width of the block being copied. If not specified it will default to the `width` parameter. * @param {number} [newHeight] - The new height of the block being copied. If not specified it will default to the `height` parameter. * @param {number} [rotate=0] - The angle in radians to rotate the block to before drawing. Rotation takes place around the center by default, but can be changed with the `anchor` parameters. @@ -1944,6 +1944,9 @@ Phaser.BitmapData.prototype = { this._alpha.current = source.alpha; this._image = source.texture.baseTexture.source; + if (typeof tx === 'undefined' || tx === null) { tx = source.x; } + if (typeof ty === 'undefined' || ty === null) { ty = source.y; } + if (source.texture.trim) { // Offset the translation coordinates by the trim amount @@ -2132,6 +2135,30 @@ Phaser.BitmapData.prototype = { }, + /** + * Draws the immediate children of a Phaser.Group to this BitmapData. + * Children are only drawn if they have their `exists` property set to `true`. + * The children will be drawn at their `x` and `y` world space coordinates. If this is outside the bounds of the BitmapData they won't be drawn. + * When drawing it will take into account the child's rotation, scale and alpha values. + * No iteration takes place. Groups nested inside other Groups will not be iterated through. + * + * @method Phaser.BitmapData#drawGroup + * @param {Phaser.Group} group - The Group to draw onto this BitmapData. + * @param {number} [blendMode=null] - The composite blend mode that will be used when drawing the Group children. The default is no blend mode at all. + * @param {boolean} [roundPx=false] - Should the x and y values be rounded to integers before drawing? This prevents anti-aliasing in some instances. + * @return {Phaser.BitmapData} This BitmapData object for method chaining. + */ + drawGroup: function (group, blendMode, roundPx) { + + if (group.total > 0) + { + group.forEachExists(this.copy, this, null, null, null, null, null, null, null, null, null, null, null, null, null, null, blendMode, roundPx); + } + + return this; + + }, + /** * Sets the shadow properties of this BitmapDatas context which will affect all draw operations made to it. * You can cancel an existing shadow by calling this method and passing no parameters. @@ -2773,7 +2800,7 @@ Phaser.BitmapData.prototype.constructor = Phaser.BitmapData; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BitmapFontLoader.js.html b/docs/BitmapFontLoader.js.html index 41c09c20d..001ae398c 100644 --- a/docs/BitmapFontLoader.js.html +++ b/docs/BitmapFontLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1124,7 +1124,7 @@ PIXI.BitmapFontLoader.prototype.onLoaded = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BitmapText.js.html b/docs/BitmapText.js.html index 985590402..b193ec9c0 100644 --- a/docs/BitmapText.js.html +++ b/docs/BitmapText.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1178,7 +1178,7 @@ PIXI.BitmapText.fonts = {}; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BitmapText.js_.html b/docs/BitmapText.js_.html index 07d361c4e..cfb3c45b3 100644 --- a/docs/BitmapText.js_.html +++ b/docs/BitmapText.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1446,7 +1446,7 @@ Object.defineProperty(Phaser.BitmapText.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BlurFilter.js.html b/docs/BlurFilter.js.html index 634a4f306..86e532aed 100644 --- a/docs/BlurFilter.js.html +++ b/docs/BlurFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1033,7 +1033,7 @@ Object.defineProperty(PIXI.BlurFilter.prototype, 'blurY', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BlurXFilter.js.html b/docs/BlurXFilter.js.html index 0dda75cb7..2ae180b3a 100644 --- a/docs/BlurXFilter.js.html +++ b/docs/BlurXFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1030,7 +1030,7 @@ Object.defineProperty(PIXI.BlurXFilter.prototype, 'blur', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BlurYFilter.js.html b/docs/BlurYFilter.js.html index 06c1d8e3f..623f7506c 100644 --- a/docs/BlurYFilter.js.html +++ b/docs/BlurYFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1029,7 +1029,7 @@ Object.defineProperty(PIXI.BlurYFilter.prototype, 'blur', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Body.js.html b/docs/Body.js.html index 5530a9abb..6f9308d11 100644 --- a/docs/Body.js.html +++ b/docs/Body.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1793,7 +1793,7 @@ Phaser.Physics.Arcade.Body.prototype.constructor = Phaser.Physics.Arcade.Body; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Body.js_.html b/docs/Body.js_.html index 3ad18923f..4352dbc28 100644 --- a/docs/Body.js_.html +++ b/docs/Body.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1532,7 +1532,7 @@ Phaser.Physics.Ninja.Body.render = function(context, body, color, filled) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Body.js__.html b/docs/Body.js__.html index 1b8db7f0c..b18e96d81 100644 --- a/docs/Body.js__.html +++ b/docs/Body.js__.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2743,7 +2743,7 @@ Object.defineProperty(Phaser.Physics.P2.Body.prototype, "collideWorldBounds", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BodyDebug.js.html b/docs/BodyDebug.js.html index 1376a149f..934fd33f1 100644 --- a/docs/BodyDebug.js.html +++ b/docs/BodyDebug.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1377,7 +1377,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Button.js.html b/docs/Button.js.html index 64cf3761a..04dd35a65 100644 --- a/docs/Button.js.html +++ b/docs/Button.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1545,7 +1545,7 @@ Phaser.Button.prototype.onInputUpHandler = function (sprite, pointer, isOver) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Cache.js.html b/docs/Cache.js.html index 68bc64ab1..8cc29a230 100644 --- a/docs/Cache.js.html +++ b/docs/Cache.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2617,7 +2617,7 @@ Phaser.Cache.prototype.constructor = Phaser.Cache; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Camera.js.html b/docs/Camera.js.html index b09e2518a..d2d637f0d 100644 --- a/docs/Camera.js.html +++ b/docs/Camera.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1475,7 +1475,7 @@ Object.defineProperty(Phaser.Camera.prototype, "height", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Canvas.js.html b/docs/Canvas.js.html index e695cb197..faff76b6d 100644 --- a/docs/Canvas.js.html +++ b/docs/Canvas.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -962,7 +962,7 @@ Phaser.Canvas = { * @method Phaser.Canvas.create * @param {number} [width=256] - The width of the canvas element. * @param {number} [height=256] - The height of the canvas element.. - * @param {string} [id=''] - If given this will be set as the ID of the canvas element, otherwise no ID will be set. + * @param {string} [id=(none)] - If specified, and not the empty string, this will be set as the ID of the canvas element. Otherwise no ID will be set. * @return {HTMLCanvasElement} The newly created canvas element. */ create: function (width, height, id) { @@ -1250,7 +1250,7 @@ Phaser.Canvas.getAspectRatio = Phaser.DOM.getAspectRatio; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CanvasBuffer.js.html b/docs/CanvasBuffer.js.html index 75957baf0..bd7aaffa3 100644 --- a/docs/CanvasBuffer.js.html +++ b/docs/CanvasBuffer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1039,7 +1039,7 @@ PIXI.CanvasBuffer.prototype.resize = function(width, height) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CanvasGraphics.js.html b/docs/CanvasGraphics.js.html index 5d2a8589e..5154f3f05 100644 --- a/docs/CanvasGraphics.js.html +++ b/docs/CanvasGraphics.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1321,7 +1321,7 @@ PIXI.CanvasGraphics.updateGraphicsTint = function(graphics) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CanvasMaskManager.js.html b/docs/CanvasMaskManager.js.html index cf7289c6f..953d18f1a 100644 --- a/docs/CanvasMaskManager.js.html +++ b/docs/CanvasMaskManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1021,7 +1021,7 @@ PIXI.CanvasMaskManager.prototype.popMask = function(renderSession) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CanvasRenderer.js.html b/docs/CanvasRenderer.js.html index afdf7b724..4fd6d25eb 100644 --- a/docs/CanvasRenderer.js.html +++ b/docs/CanvasRenderer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1308,7 +1308,7 @@ PIXI.CanvasRenderer.prototype.mapBlendModes = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CanvasTinter.js.html b/docs/CanvasTinter.js.html index b96342a50..234561ee2 100644 --- a/docs/CanvasTinter.js.html +++ b/docs/CanvasTinter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1095,7 +1095,7 @@ PIXI.CanvasTinter.tintWithOverlay = function(texture, color, canvas) */ PIXI.CanvasTinter.tintWithPerPixel = function(texture, color, canvas) { - var context = canvas.getContext( "2d" ); + var context = canvas.getContext("2d"); var crop = texture.crop; @@ -1122,9 +1122,18 @@ PIXI.CanvasTinter.tintWithPerPixel = function(texture, color, canvas) for (var i = 0; i < pixels.length; i += 4) { - pixels[i+0] *= r; - pixels[i+1] *= g; - pixels[i+2] *= b; + pixels[i+0] *= r; + pixels[i+1] *= g; + pixels[i+2] *= b; + + if (!PIXI.CanvasTinter.canHandleAlpha) + { + var alpha = pixels[i+3]; + + pixels[i+0] /= 255 / alpha; + pixels[i+1] /= 255 / alpha; + pixels[i+2] /= 255 / alpha; + } } context.putImageData(pixelData, 0, 0); @@ -1150,6 +1159,35 @@ PIXI.CanvasTinter.roundColor = function(color) return PIXI.rgb2hex(rgbValues); }; +/** + * Rounds the specified color according to the PIXI.CanvasTinter.cacheStepsPerColorChannel. + * + * @method roundColor + * @static + * @param color {number} the color to round, should be a hex color + */ +PIXI.CanvasTinter.checkInverseAlpha = function() +{ + var canvas = new PIXI.CanvasBuffer(2, 1); + + canvas.context.fillStyle = "rgba(10, 20, 30, 0.5)"; + + // Draw a single pixel + canvas.context.fillRect(0, 0, 1, 1); + + // Get the color values + var s1 = canvas.context.getImageData(0, 0, 1, 1); + + // Plot them to x2 + canvas.context.putImageData(s1, 1, 0); + + // Get those values + var s2 = canvas.context.getImageData(1, 0, 1, 1); + + // Compare and return + return (s2.data[0] === s1.data[0] && s2.data[1] === s1.data[1] && s2.data[2] === s1.data[2] && s2.data[3] === s1.data[3]); +}; + /** * Number of steps which will be used as a cap when rounding colors. * @@ -1168,6 +1206,16 @@ PIXI.CanvasTinter.cacheStepsPerColorChannel = 8; */ PIXI.CanvasTinter.convertTintToImage = false; +/** + * If the browser isn't capable of handling tinting with alpha this will be false. + * This property is only applicable if using tintWithPerPixel. + * + * @property canHandleAlpha + * @type Boolean + * @static + */ +PIXI.CanvasTinter.canHandleAlpha = PIXI.CanvasTinter.checkInverseAlpha(); + /** * Whether or not the Canvas BlendModes are supported, consequently the ability to tint using the multiply method. * @@ -1205,7 +1253,7 @@ PIXI.CanvasTinter.tintMethod = PIXI.CanvasTinter.canUseMultiply ? PIXI.CanvasTin Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Circle.js.html b/docs/Circle.js.html index d12711fdd..f19d60dcd 100644 --- a/docs/Circle.js.html +++ b/docs/Circle.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -977,6 +977,13 @@ PIXI.Circle = function(x, y, radius) * @default 0 */ this.radius = radius || 0; + + /** + * The type of the object, should be one of the Graphics type consts, PIXI.Graphics.CIRC in this case + * @property type + * @type Number + * @default 0 + */ }; /** @@ -1047,7 +1054,7 @@ PIXI.Circle.prototype.constructor = PIXI.Circle; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Circle.js_.html b/docs/Circle.js_.html index 6e1edfc16..ffcd77ce4 100644 --- a/docs/Circle.js_.html +++ b/docs/Circle.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1502,7 +1502,7 @@ PIXI.Circle = Phaser.Circle; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Circle.js__.html b/docs/Circle.js__.html index 7399f3629..cac77407f 100644 --- a/docs/Circle.js__.html +++ b/docs/Circle.js__.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3613,7 +3613,7 @@ Phaser.Physics.Ninja.Circle.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CollisionGroup.js.html b/docs/CollisionGroup.js.html index 08c8e6a4a..cdbda377e 100644 --- a/docs/CollisionGroup.js.html +++ b/docs/CollisionGroup.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -984,7 +984,7 @@ Phaser.Physics.P2.CollisionGroup = function (bitmask) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Color.js.html b/docs/Color.js.html index b652ce7c3..994751c36 100644 --- a/docs/Color.js.html +++ b/docs/Color.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1935,7 +1935,7 @@ Phaser.Color = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ColorMatrixFilter.js.html b/docs/ColorMatrixFilter.js.html index f84823ab6..48ac86d80 100644 --- a/docs/ColorMatrixFilter.js.html +++ b/docs/ColorMatrixFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1022,7 +1022,7 @@ Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ColorStepFilter.js.html b/docs/ColorStepFilter.js.html index d4301eda0..b16a4307a 100644 --- a/docs/ColorStepFilter.js.html +++ b/docs/ColorStepFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1017,7 +1017,7 @@ Object.defineProperty(PIXI.ColorStepFilter.prototype, 'step', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ComplexPrimitiveShader.js.html b/docs/ComplexPrimitiveShader.js.html index 49f49ced2..6503a681b 100644 --- a/docs/ComplexPrimitiveShader.js.html +++ b/docs/ComplexPrimitiveShader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1004,13 +1004,13 @@ PIXI.ComplexPrimitiveShader = function(gl) 'uniform vec3 tint;', 'uniform float alpha;', 'uniform vec3 color;', - + 'uniform float flipY;', 'varying vec4 vColor;', 'void main(void) {', ' vec3 v = translationMatrix * vec3(aVertexPosition , 1.0);', ' v -= offsetVector.xyx;', - ' gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / -projectionVector.y + 1.0 , 0.0, 1.0);', + ' gl_Position = vec4( v.x / projectionVector.x -1.0, (v.y / projectionVector.y * -flipY) + flipY , 0.0, 1.0);', ' vColor = vec4(color * alpha * tint, alpha);',//" * vec4(tint * alpha, alpha);', '}' ]; @@ -1037,6 +1037,7 @@ PIXI.ComplexPrimitiveShader.prototype.init = function() this.offsetVector = gl.getUniformLocation(program, 'offsetVector'); this.tintColor = gl.getUniformLocation(program, 'tint'); this.color = gl.getUniformLocation(program, 'color'); + this.flipY = gl.getUniformLocation(program, 'flipY'); // get and store the attributes this.aVertexPosition = gl.getAttribLocation(program, 'aVertexPosition'); @@ -1084,7 +1085,7 @@ PIXI.ComplexPrimitiveShader.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ContactMaterial.js.html b/docs/ContactMaterial.js.html index b649d9822..30d3e062f 100644 --- a/docs/ContactMaterial.js.html +++ b/docs/ContactMaterial.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1026,7 +1026,7 @@ Phaser.Physics.P2.ContactMaterial.prototype.constructor = Phaser.Physics.P2.Cont Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ConvolutionFilter.js.html b/docs/ConvolutionFilter.js.html index 755f3c052..8e6734ee9 100644 --- a/docs/ConvolutionFilter.js.html +++ b/docs/ConvolutionFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1069,7 +1069,7 @@ Object.defineProperty(PIXI.ConvolutionFilter.prototype, 'height', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/CrossHatchFilter.js.html b/docs/CrossHatchFilter.js.html index 3d3bedd19..bc3954ce9 100644 --- a/docs/CrossHatchFilter.js.html +++ b/docs/CrossHatchFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1043,7 +1043,7 @@ Object.defineProperty(PIXI.CrossHatchFilter.prototype, 'blur', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DOM.js.html b/docs/DOM.js.html index 0a9013921..fe2d4a05d 100644 --- a/docs/DOM.js.html +++ b/docs/DOM.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1280,11 +1280,13 @@ Phaser.Device.whenReady(function (device) { if (treatAsDesktop) { + // PST- When scrollbars are not included this causes upstream issues in ScaleManager. + // So reverted to the old "include scrollbars." var clientWidth = function () { - return document.documentElement.clientWidth; + return Math.max(window.innerWidth, document.documentElement.clientWidth); }; var clientHeight = function () { - return document.documentElement.clientHeight; + return Math.max(window.innerHeight, document.documentElement.clientHeight); }; // Interested in area sans-scrollbar @@ -1393,7 +1395,7 @@ Phaser.Device.whenReady(function (device) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Debug.js.html b/docs/Debug.js.html index 4dce08634..cea734f9a 100644 --- a/docs/Debug.js.html +++ b/docs/Debug.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1779,7 +1779,7 @@ Phaser.Utils.Debug.prototype.constructor = Phaser.Utils.Debug; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Detector.js.html b/docs/Detector.js.html index b1ad41256..c86528087 100644 --- a/docs/Detector.js.html +++ b/docs/Detector.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1051,7 +1051,7 @@ PIXI.autoDetectRecommendedRenderer = function(width, height, options) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Device.js.html b/docs/Device.js.html index 8c0c2e388..d312084a9 100644 --- a/docs/Device.js.html +++ b/docs/Device.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1087,6 +1087,18 @@ Phaser.Device = function () { */ this.canvas = false; + /** + * @property {?boolean} canvasBitBltShift - True if canvas supports a 'copy' bitblt onto itself when the source and destination regions overlap. + * @default + */ + this.canvasBitBltShift = null; + + /** + * @property {boolean} webGL - Is webGL available? + * @default + */ + this.webGL = false; + /** * @property {boolean} file - Is file available? * @default @@ -1105,12 +1117,6 @@ Phaser.Device = function () { */ this.localStorage = false; - /** - * @property {boolean} webGL - Is webGL available? - * @default - */ - this.webGL = false; - /** * @property {boolean} worker - Is worker available? * @default @@ -1168,7 +1174,7 @@ Phaser.Device = function () { this.mspointer = false; /** - * @property {string|null} wheelType - The newest type of Wheel/Scroll event supported: 'wheel', 'mousewheel', 'DOMMouseScroll' + * @property {?string} wheelType - The newest type of Wheel/Scroll event supported: 'wheel', 'mousewheel', 'DOMMouseScroll' * @default * @protected */ @@ -1331,6 +1337,8 @@ Phaser.Device = function () { */ this.iPad = false; + // Device features + /** * @property {number} pixelRatio - PixelRatio of the host device? * @default @@ -1587,16 +1595,9 @@ Phaser.Device._initialize = function () { device.file = !!window['File'] && !!window['FileReader'] && !!window['FileList'] && !!window['Blob']; device.fileSystem = !!window['requestFileSystem']; - device.webGL = ( function () { try { var canvas = document.createElement( 'canvas' ); /*Force screencanvas to false*/ canvas.screencanvas = false; return !! window.WebGLRenderingContext && ( canvas.getContext( 'webgl' ) || canvas.getContext( 'experimental-webgl' ) ); } catch( e ) { return false; } } )(); - if (device.webGL === null || device.webGL === false) - { - device.webGL = false; - } - else - { - device.webGL = true; - } + device.webGL = ( function () { try { var canvas = document.createElement( 'canvas' ); /*Force screencanvas to false*/ canvas.screencanvas = false; return !! window.WebGLRenderingContext && ( canvas.getContext( 'webgl' ) || canvas.getContext( 'experimental-webgl' ) ); } catch( e ) { return false; } } )(); + device.webGL = !!device.webGL; device.worker = !!window['Worker']; @@ -1606,6 +1607,22 @@ Phaser.Device._initialize = function () { device.getUserMedia = !!(navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia); + // TODO: replace canvasBitBltShift detection with actual feature check + + // Excludes iOS versions as they generally wrap UIWebView (eg. Safari WebKit) and it + // is safer to not try and use the fast copy-over method. + if (!device.iOS && + (device.ie || device.firefox || device.chrome)) + { + device.canvasBitBltShift = true; + } + + // Known not to work + if (device.safari || device.mobileSafari) + { + device.canvasBitBltShift = false; + } + } /** @@ -1824,7 +1841,7 @@ Phaser.Device._initialize = function () { function _checkAudio () { device.audioData = !!(window['Audio']); - device.webAudio = !!(window['webkitAudioContext'] || window['AudioContext']); + device.webAudio = !!(window['AudioContext'] || window['webkitAudioContext']); var audioElement = document.createElement('audio'); var result = false; @@ -2115,7 +2132,7 @@ Phaser.Device.isAndroidStockBrowser = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DisplacementFilter.js.html b/docs/DisplacementFilter.js.html index 8f1f9e36c..35ae9da0a 100644 --- a/docs/DisplacementFilter.js.html +++ b/docs/DisplacementFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1097,7 +1097,7 @@ Object.defineProperty(PIXI.DisplacementFilter.prototype, 'offset', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DisplayObject.js.html b/docs/DisplayObject.js.html index 8b35f979f..141daff77 100644 --- a/docs/DisplayObject.js.html +++ b/docs/DisplayObject.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1752,7 +1752,7 @@ Object.defineProperty(PIXI.DisplayObject.prototype, 'y', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DisplayObjectContainer.js.html b/docs/DisplayObjectContainer.js.html index c51a23deb..460922cad 100644 --- a/docs/DisplayObjectContainer.js.html +++ b/docs/DisplayObjectContainer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1478,7 +1478,7 @@ PIXI.DisplayObjectContainer.prototype._renderCanvas = function(renderSession) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DistanceConstraint.js.html b/docs/DistanceConstraint.js.html index ad72d6932..643ab8c97 100644 --- a/docs/DistanceConstraint.js.html +++ b/docs/DistanceConstraint.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1012,7 +1012,7 @@ Phaser.Physics.P2.DistanceConstraint.prototype.constructor = Phaser.Physics.P2.D Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/DotScreenFilter.js.html b/docs/DotScreenFilter.js.html index fe9e51789..f19e6261c 100644 --- a/docs/DotScreenFilter.js.html +++ b/docs/DotScreenFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1048,7 +1048,7 @@ Object.defineProperty(PIXI.DotScreenFilter.prototype, 'angle', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Easing.js.html b/docs/Easing.js.html index 5f5a367d0..914ec37f8 100644 --- a/docs/Easing.js.html +++ b/docs/Easing.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1191,6 +1191,8 @@ Phaser.Easing = { */ In: function ( k ) { + if (k === 0) return 0; + if (k === 1) return 1; return 1 - Math.cos( k * Math.PI / 2 ); }, @@ -1204,6 +1206,8 @@ Phaser.Easing = { */ Out: function ( k ) { + if (k === 0) return 0; + if (k === 1) return 1; return Math.sin( k * Math.PI / 2 ); }, @@ -1217,6 +1221,8 @@ Phaser.Easing = { */ InOut: function ( k ) { + if (k === 0) return 0; + if (k === 1) return 1; return 0.5 * ( 1 - Math.cos( Math.PI * k ) ); } @@ -1533,7 +1539,7 @@ Phaser.Easing.Power4 = Phaser.Easing.Quintic.Out; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Ellipse.js.html b/docs/Ellipse.js.html index 339af4213..3e3bb847c 100644 --- a/docs/Ellipse.js.html +++ b/docs/Ellipse.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -985,6 +985,14 @@ PIXI.Ellipse = function(x, y, width, height) * @default 0 */ this.height = height || 0; + + + /** + * The type of the object, should be one of the Graphics type consts, PIXI.Graphics.ELIP in this case + * @property type + * @type Number + * @default 0 + */ }; /** @@ -1055,7 +1063,7 @@ PIXI.Ellipse.prototype.constructor = PIXI.Ellipse; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Ellipse.js_.html b/docs/Ellipse.js_.html index 5898f7ae2..7bab2a7c2 100644 --- a/docs/Ellipse.js_.html +++ b/docs/Ellipse.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1014,8 +1014,9 @@ Phaser.Ellipse.prototype = { /** * Returns the framing rectangle of the ellipse as a Phaser.Rectangle object. + * * @method Phaser.Ellipse#getBounds - * @return {Phaser.Rectangle} The bounds of the Circle. + * @return {Phaser.Rectangle} The bounds of the Ellipse. */ getBounds: function () { @@ -1025,6 +1026,7 @@ Phaser.Ellipse.prototype = { /** * Copies the x, y, width and height properties from any given object to this Ellipse. + * * @method Phaser.Ellipse#copyFrom * @param {any} source - The object to copy from. * @return {Phaser.Ellipse} This Ellipse object. @@ -1137,7 +1139,7 @@ Object.defineProperty(Phaser.Ellipse.prototype, "right", { } else { - this.width = this.x + value; + this.width = value - this.x; } } @@ -1179,7 +1181,7 @@ Object.defineProperty(Phaser.Ellipse.prototype, "bottom", { } else { - this.height = this.y + value; + this.height = value - this.y; } } @@ -1210,6 +1212,7 @@ Object.defineProperty(Phaser.Ellipse.prototype, "empty", { /** * Return true if the given x/y coordinates are within the Ellipse object. +* * @method Phaser.Ellipse.contains * @param {Phaser.Ellipse} a - The Ellipse to be checked. * @param {number} x - The X value of the coordinate to test. @@ -1223,26 +1226,14 @@ Phaser.Ellipse.contains = function (a, x, y) { return false; } - // Normalize the coords to an ellipse with center 0,0 and a radius of 0.5 - var normx = ((x - a.x) / a.width) - 0.5; - var normy = ((y - a.y) / a.height) - 0.5; + // Normalize the coords to an ellipse with center 0,0 + var normx = ((x - a.x) / a.width); + var normy = ((y - a.y) / a.height); normx *= normx; normy *= normy; - return (normx + normy < 0.25); - -}; - -/** -* Returns the framing rectangle of the ellipse as a Phaser.Rectangle object. -* -* @method Phaser.Ellipse.getBounds -* @return {Phaser.Rectangle} The framing rectangle -*/ -Phaser.Ellipse.prototype.getBounds = function() { - - return new Phaser.Rectangle(this.x, this.y, this.width, this.height); + return (normx + normy <= 1); }; @@ -1269,7 +1260,7 @@ PIXI.Ellipse = Phaser.Ellipse; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Emitter.js.html b/docs/Emitter.js.html index 8758a2360..da3ef04df 100644 --- a/docs/Emitter.js.html +++ b/docs/Emitter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1070,7 +1070,7 @@ Phaser.Particles.Arcade.Emitter = function (game, x, y, maxParticles) { this.angularDrag = 0; /** - * @property {boolean} frequency - How often a particle is emitted in ms (if emitter is started with Explode === false). + * @property {number} frequency - How often a particle is emitted in ms (if emitter is started with Explode === false). * @default */ this.frequency = 100; @@ -1191,25 +1191,24 @@ Phaser.Particles.Arcade.Emitter.prototype.constructor = Phaser.Particles.Arcade. /** * Called automatically by the game loop, decides when to launch particles and when to "die". +* * @method Phaser.Particles.Arcade.Emitter#update */ Phaser.Particles.Arcade.Emitter.prototype.update = function () { if (this.on && this.game.time.time >= this._timer) { - this.emitParticle(); + this._timer = this.game.time.time + this.frequency * this.game.time.slowMotion; - this._counter++; - - if (this._quantity > 0) + if (this.emitParticle()) { - if (this._counter >= this._quantity) + this._counter++; + + if (this._quantity > 0 && this._counter >= this._quantity) { this.on = false; } } - - this._timer = this.game.time.time + this.frequency * this.game.time.slowMotion; } var i = this.children.length; @@ -1231,7 +1230,7 @@ Phaser.Particles.Arcade.Emitter.prototype.update = function () { * @method Phaser.Particles.Arcade.Emitter#makeParticles * @param {array|string} keys - A string or an array of strings that the particle sprites will use as their texture. If an array one is picked at random. * @param {array|number} [frames=0] - A frame number, or array of frames that the sprite will use. If an array one is picked at random. -* @param {number} [quantity] - The number of particles to generate. If not given it will use the value of Emitter.maxParticles. +* @param {number} [quantity] - The number of particles to generate. If not given it will use the value of Emitter.maxParticles. If the value is greater than Emitter.maxParticles it will use Emitter.maxParticles as the quantity. * @param {boolean} [collide=false] - If you want the particles to be able to collide with other Arcade Physics bodies then set this to true. * @param {boolean} [collideWorldBounds=false] - A particle can be set to collide against the World bounds automatically and rebound back into the World if this is set to true. Otherwise it will leave the World. * @return {Phaser.Particles.Arcade.Emitter} This Emitter instance. @@ -1249,6 +1248,11 @@ Phaser.Particles.Arcade.Emitter.prototype.makeParticles = function (keys, frames var rndFrame = frames; this._frames = frames; + if (quantity > this.maxParticles) + { + this.maxParticles = quantity; + } + while (i < quantity) { if (Array.isArray(keys)) @@ -1350,8 +1354,8 @@ Phaser.Particles.Arcade.Emitter.prototype.flow = function (lifespan, frequency, * @param {boolean} [explode=true] - Whether the particles should all burst out at once (true) or at the frequency given (false). * @param {number} [lifespan=0] - How long each particle lives once emitted in ms. 0 = forever. * @param {number} [frequency=250] - Ignored if Explode is set to true. Frequency is how often to emit 1 particle. Value given in ms. -* @param {number} [quantity=0] - How many particles to launch. 0 = "all of the particles". -* @param {number} [forceQuantity=false] - If true and creating a particle flow, the quantity emitted will be forced to the be quantity given in this call. +* @param {number} [quantity=0] - How many particles to launch. 0 = "all of the particles" which will keep emitting until Emitter.maxParticles is reached. +* @param {number} [forceQuantity=false] - If `true` and creating a particle flow, the quantity emitted will be forced to the be quantity given in this call. This can never exceed Emitter.maxParticles. */ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, frequency, quantity, forceQuantity) { @@ -1361,6 +1365,11 @@ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, f if (typeof quantity === 'undefined') { quantity = 0; } if (typeof forceQuantity === 'undefined') { forceQuantity = false; } + if (quantity > this.maxParticles) + { + quantity = this.maxParticles; + } + this.revive(); this.visible = true; @@ -1389,6 +1398,7 @@ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, f * This function can be used both internally and externally to emit the next particle in the queue. * * @method Phaser.Particles.Arcade.Emitter#emitParticle +* @return {boolean} True if a particle was emitted, otherwise false. */ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () { @@ -1396,7 +1406,7 @@ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () { if (particle === null) { - return; + return false; } if (this.width > 1 || this.height > 1) @@ -1470,6 +1480,8 @@ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () { particle.onEmit(); + return true; + }; /** @@ -1780,7 +1792,7 @@ Object.defineProperty(Phaser.Particles.Arcade.Emitter.prototype, "bottom", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/EventTarget.js.html b/docs/EventTarget.js.html index af006d3ad..4fa348610 100644 --- a/docs/EventTarget.js.html +++ b/docs/EventTarget.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1247,7 +1247,7 @@ PIXI.Event.prototype.stopImmediatePropagation = function stopImmediatePropagatio Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Events.js.html b/docs/Events.js.html index fdbec74d0..b0f90f704 100644 --- a/docs/Events.js.html +++ b/docs/Events.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -992,6 +992,7 @@ Phaser.Events.prototype = { if (this._onRemovedFromWorld) { this._onRemovedFromWorld.dispose(); } if (this._onKilled) { this._onKilled.dispose(); } if (this._onRevived) { this._onRevived.dispose(); } + if (this._onEnterBounds) { this._onEnterBounds.dispose(); } if (this._onOutOfBounds) { this._onOutOfBounds.dispose(); } if (this._onInputOver) { this._onInputOver.dispose(); } @@ -1103,7 +1104,6 @@ Phaser.Events.prototype.constructor = Phaser.Events; // and the dispatch method is the same as the event name postfixed with '$dispatch'. for (var prop in Phaser.Events.prototype) { - if (!Phaser.Events.prototype.hasOwnProperty(prop) || prop.indexOf('on') !== 0 || Phaser.Events.prototype[prop] !== null) @@ -1111,21 +1111,22 @@ for (var prop in Phaser.Events.prototype) continue; } - var backing = 'this._' + prop; - var dispatch = prop + '$dispatch'; + (function (prop, backing) { + 'use strict'; - // `new Function(string)` is ugly but it avoids closures and by-string property lookups. - // Since this is a [near] micro-optimization anyway, might as well go all the way. - /*jslint evil: true */ + // The accessor creates a new Signal; and so it should only be used from user-code. + Object.defineProperty(Phaser.Events.prototype, prop, { + get: function () { + return this[backing] || (this[backing] = new Phaser.Signal()); + } + }); - // The accessor creates a new Signal (and so it should only be used from user-code.) - Object.defineProperty(Phaser.Events.prototype, prop, { - get: new Function("return "+backing+" || ("+backing+" = new Phaser.Signal())") - }); + // The dispatcher will only broadcast on an already-created signal; call this internally. + Phaser.Events.prototype[prop + '$dispatch'] = function () { + return this[backing] ? this[backing].dispatch.apply(this[backing], arguments) : null; + }; - // The dispatcher will only broadcast on an already-defined signal. - Phaser.Events.prototype[dispatch] = - new Function("return "+backing+" ? "+backing+".dispatch.apply("+backing+", arguments) : null"); + })(prop, '_' + prop); } @@ -1149,7 +1150,7 @@ for (var prop in Phaser.Events.prototype) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Filter.js.html b/docs/Filter.js.html index b6d166e76..5dfbc2da5 100644 --- a/docs/Filter.js.html +++ b/docs/Filter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1153,7 +1153,7 @@ Object.defineProperty(Phaser.Filter.prototype, 'height', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FilterBlock.js.html b/docs/FilterBlock.js.html index b8fe72fe6..b6ff3e2db 100644 --- a/docs/FilterBlock.js.html +++ b/docs/FilterBlock.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -993,7 +993,7 @@ PIXI.FilterBlock.prototype.constructor = PIXI.FilterBlock; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FilterTexture.js.html b/docs/FilterTexture.js.html index 6754c3443..c6f10f807 100644 --- a/docs/FilterTexture.js.html +++ b/docs/FilterTexture.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1073,7 +1073,7 @@ PIXI.FilterTexture.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FixtureList.js.html b/docs/FixtureList.js.html index 7f62b0dc3..0989341fa 100644 --- a/docs/FixtureList.js.html +++ b/docs/FixtureList.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1194,7 +1194,7 @@ Phaser.Physics.P2.FixtureList.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FlexGrid.js.html b/docs/FlexGrid.js.html index ece0aa773..c6715888f 100644 --- a/docs/FlexGrid.js.html +++ b/docs/FlexGrid.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1290,7 +1290,7 @@ Phaser.FlexGrid.prototype.constructor = Phaser.FlexGrid; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FlexLayer.js.html b/docs/FlexLayer.js.html index 8e5d5bc72..ca1000a5c 100644 --- a/docs/FlexLayer.js.html +++ b/docs/FlexLayer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1078,7 +1078,7 @@ Phaser.FlexLayer.prototype.debug = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Frame.js.html b/docs/Frame.js.html index 5ce4dd95c..9739c3a58 100644 --- a/docs/Frame.js.html +++ b/docs/Frame.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1178,7 +1178,7 @@ Phaser.Frame.prototype.constructor = Phaser.Frame; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FrameData.js.html b/docs/FrameData.js.html index d464ee14f..f88151f05 100644 --- a/docs/FrameData.js.html +++ b/docs/FrameData.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1230,7 +1230,7 @@ Object.defineProperty(Phaser.FrameData.prototype, "total", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Game.js.html b/docs/Game.js.html index 98b7373d4..f9d26d797 100644 --- a/docs/Game.js.html +++ b/docs/Game.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1649,7 +1649,7 @@ Phaser.Game.prototype = { this.time.update(time); - // if the logic time is spiralling upwards, skip a frame entirely + // if the logic time is spiraling upwards, skip a frame entirely if (this._spiralling > 1 && !this.forceSingleUpdate) { // cause an event to warn the program that this CPU can't keep up with the current desiredFps rate @@ -1692,7 +1692,11 @@ Phaser.Game.prototype = { { this._deltaTime -= slowStep; this.currentUpdateID = count; + this.updateLogic(1.0 / this.time.desiredFps); + // Sync the scene graph after _every_ logic update to account for moved game objects + this.stage.updateTransform(); + count++; if (this.forceSingleUpdate && count === 1) @@ -1701,7 +1705,7 @@ Phaser.Game.prototype = { } } - // detect spiralling (if the catch-up loop isn't fast enough, the number of iterations will increase constantly) + // detect spiraling (if the catch-up loop isn't fast enough, the number of iterations will increase constantly) if (count > this._lastCount) { this._spiralling++; @@ -1763,6 +1767,7 @@ Phaser.Game.prototype = { this.state.pauseUpdate(); this.debug.preUpdate(); } + }, /** @@ -2039,7 +2044,7 @@ Object.defineProperty(Phaser.Game.prototype, "paused", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GameObjectCreator.js.html b/docs/GameObjectCreator.js.html index 11e246687..1696d2601 100644 --- a/docs/GameObjectCreator.js.html +++ b/docs/GameObjectCreator.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1375,7 +1375,7 @@ Phaser.GameObjectCreator.prototype.constructor = Phaser.GameObjectCreator; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GameObjectFactory.js.html b/docs/GameObjectFactory.js.html index 7b2bfde22..dd4089b7a 100644 --- a/docs/GameObjectFactory.js.html +++ b/docs/GameObjectFactory.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1449,7 +1449,7 @@ Phaser.GameObjectFactory.prototype.constructor = Phaser.GameObjectFactory; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Gamepad.js.html b/docs/Gamepad.js.html index 9d988f517..651ba8579 100644 --- a/docs/Gamepad.js.html +++ b/docs/Gamepad.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1642,7 +1642,7 @@ Phaser.Gamepad.PS3XC_STICK_RIGHT_Y = 3; // analog stick, range -1..1 Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GamepadButton.js.html b/docs/GamepadButton.js.html index c17a86f76..e94b8e21d 100644 --- a/docs/GamepadButton.js.html +++ b/docs/GamepadButton.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1175,7 +1175,7 @@ Phaser.GamepadButton.prototype.constructor = Phaser.GamepadButton; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GearConstraint.js.html b/docs/GearConstraint.js.html index 42d7768d3..f6502fe29 100644 --- a/docs/GearConstraint.js.html +++ b/docs/GearConstraint.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1003,7 +1003,7 @@ Phaser.Physics.P2.GearConstraint.prototype.constructor = Phaser.Physics.P2.GearC Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Graphics.js.html b/docs/Graphics.js.html index 6b712a8f4..6810e5b62 100644 --- a/docs/Graphics.js.html +++ b/docs/Graphics.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2098,7 +2098,7 @@ PIXI.RoundedRectangle.prototype.type = PIXI.Graphics.RREC; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Graphics.js_.html b/docs/Graphics.js_.html index d986cca8b..24bcfb363 100644 --- a/docs/Graphics.js_.html +++ b/docs/Graphics.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1138,6 +1138,22 @@ Phaser.Graphics.prototype.destroy = function(destroyChildren) { }; +/* +* Draws a circle. +* +* @method Phaser.Graphics.prototype.drawCircle +* @param {Number} x - The X coordinate of the center of the circle. +* @param {Number} y - The Y coordinate of the center of the circle. +* @param {Number} radius - The diameter of the circle. +* @return {Phaser.Graphics} This Graphics object. +*/ +Phaser.Graphics.prototype.drawCircle = function(x, y, diameter) +{ + this.drawShape(new Phaser.Circle(x, y, diameter)); + + return this; +}; + /* * Draws a single {Phaser.Polygon} triangle from a {Phaser.Point} array * @@ -1331,7 +1347,7 @@ Object.defineProperty(Phaser.Graphics.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GrayFilter.js.html b/docs/GrayFilter.js.html index c6cd27619..4c6809951 100644 --- a/docs/GrayFilter.js.html +++ b/docs/GrayFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1016,7 +1016,7 @@ Object.defineProperty(PIXI.GrayFilter.prototype, 'gray', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Group.js.html b/docs/Group.js.html index 8e47cc0fe..32845fc08 100644 --- a/docs/Group.js.html +++ b/docs/Group.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1636,24 +1636,23 @@ Phaser.Group.prototype.replace = function (oldChild, newChild) { if (index !== -1) { - if (newChild.parent !== undefined) + if (newChild.parent) { - newChild.events.onRemovedFromGroup$dispatch(newChild, this); - newChild.parent.removeChild(newChild); - if (newChild.parent instanceof Phaser.Group) { - newChild.parent.updateZ(); + newChild.parent.remove(newChild); + } + else + { + newChild.parent.removeChild(newChild); } } - var temp = oldChild; - - this.remove(temp); + this.remove(oldChild); this.addAt(newChild, index); - return temp; + return oldChild; } }; @@ -3032,7 +3031,7 @@ Object.defineProperty(Phaser.Group.prototype, "fixedToCamera", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Image.js.html b/docs/Image.js.html index 849cd0fe1..a230b0d5d 100644 --- a/docs/Image.js.html +++ b/docs/Image.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2003,7 +2003,7 @@ Object.defineProperty(Phaser.Image.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ImageLoader.js.html b/docs/ImageLoader.js.html index eae1627cf..76b8b4e95 100644 --- a/docs/ImageLoader.js.html +++ b/docs/ImageLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1065,7 +1065,7 @@ PIXI.ImageLoader.prototype.loadFramedSpriteSheet = function(frameWidth, frameHei Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Input.js.html b/docs/Input.js.html index d3e576242..9aa025612 100644 --- a/docs/Input.js.html +++ b/docs/Input.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2005,7 +2005,7 @@ Object.defineProperty(Phaser.Input.prototype, "disabled", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InputHandler.js.html b/docs/InputHandler.js.html index a74470649..24eac4dfb 100644 --- a/docs/InputHandler.js.html +++ b/docs/InputHandler.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2470,7 +2470,7 @@ Phaser.InputHandler.prototype.constructor = Phaser.InputHandler; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InteractionData.js.html b/docs/InteractionData.js.html index ac56a075c..e9bfb32be 100644 --- a/docs/InteractionData.js.html +++ b/docs/InteractionData.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1029,7 +1029,7 @@ PIXI.InteractionData.prototype.constructor = PIXI.InteractionData; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InteractionManager.js.html b/docs/InteractionManager.js.html index 6d3aa4b9e..29019afd4 100644 --- a/docs/InteractionManager.js.html +++ b/docs/InteractionManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1833,7 +1833,7 @@ PIXI.InteractionManager.prototype.onTouchEnd = function(event) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InversePointProxy.js.html b/docs/InversePointProxy.js.html index badf49a05..8d0e84dc7 100644 --- a/docs/InversePointProxy.js.html +++ b/docs/InversePointProxy.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1065,7 +1065,7 @@ Object.defineProperty(Phaser.Physics.P2.InversePointProxy.prototype, "my", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InvertFilter.js.html b/docs/InvertFilter.js.html index 85ecb63c8..6858124dc 100644 --- a/docs/InvertFilter.js.html +++ b/docs/InvertFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1017,7 +1017,7 @@ Object.defineProperty(PIXI.InvertFilter.prototype, 'invert', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/JsonLoader.js.html b/docs/JsonLoader.js.html index 1165c6be4..017bc878f 100644 --- a/docs/JsonLoader.js.html +++ b/docs/JsonLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1215,7 +1215,7 @@ PIXI.JsonLoader.prototype.onError = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Key.js.html b/docs/Key.js.html index de8afa020..8d82302ed 100644 --- a/docs/Key.js.html +++ b/docs/Key.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1327,7 +1327,7 @@ Phaser.Key.prototype.constructor = Phaser.Key; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Keyboard.js.html b/docs/Keyboard.js.html index 672799d3a..4314cea29 100644 --- a/docs/Keyboard.js.html +++ b/docs/Keyboard.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1641,7 +1641,7 @@ Phaser.Keyboard.MINUS = 45; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Line.js.html b/docs/Line.js.html index b314bafe1..b84bd3dac 100644 --- a/docs/Line.js.html +++ b/docs/Line.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -981,6 +981,7 @@ Phaser.Line.prototype = { /** * Sets the components of the Line to the specified values. + * * @method Phaser.Line#setTo * @param {number} [x1=0] - The x coordinate of the start of the line. * @param {number} [y1=0] - The y coordinate of the start of the line. @@ -1000,6 +1001,7 @@ Phaser.Line.prototype = { /** * Sets the line to match the x/y coordinates of the two given sprites. * Can optionally be calculated from their center coordinates. + * * @method Phaser.Line#fromSprite * @param {Phaser.Sprite} startSprite - The coordinates of this Sprite will be set to the Line.start point. * @param {Phaser.Sprite} endSprite - The coordinates of this Sprite will be set to the Line.start point. @@ -1019,6 +1021,25 @@ Phaser.Line.prototype = { }, + /** + * Sets this line to start at the given `x` and `y` coordinates and for the segment to extend at `angle` for the given `length`. + * + * @method Phaser.Line#fromAngle + * @param {number} x - The x coordinate of the start of the line. + * @param {number} y - The y coordinate of the start of the line. + * @param {number} angle - The angle of the line in radians. + * @param {number} length - The length of the line in pixels. + * @return {Phaser.Line} This line object + */ + fromAngle: function (x, y, angle, length) { + + this.start.setTo(x, y); + this.end.setTo(x + (Math.cos(angle) * length), y + (Math.sin(angle) * length)); + + return this; + + }, + /** * Checks for intersection between this line and another Line. * If asSegment is true it will check for segment intersection. If asSegment is false it will check for line intersection. @@ -1036,8 +1057,23 @@ Phaser.Line.prototype = { }, + /** + * Returns the reflected angle between two lines. + * This is the outgoing angle based on the angle of this line and the normalAngle of the given line. + * + * @method Phaser.Line#reflect + * @param {Phaser.Line} line - The line to reflect off this line. + * @return {number} The reflected angle in radians. + */ + reflect: function (line) { + + return Phaser.Line.reflect(this, line); + + }, + /** * Tests if the given coordinates fall on this line. See pointOnSegment to test against just the line segment. + * * @method Phaser.Line#pointOnLine * @param {number} x - The line to check against this one. * @param {number} y - The line to check against this one. @@ -1051,6 +1087,7 @@ Phaser.Line.prototype = { /** * Tests if the given coordinates fall on this line and within the segment. See pointOnLine to test against just the line. + * * @method Phaser.Line#pointOnSegment * @param {number} x - The line to check against this one. * @param {number} y - The line to check against this one. @@ -1304,6 +1341,45 @@ Object.defineProperty(Phaser.Line.prototype, "height", { }); +/** +* @name Phaser.Line#normalX +* @property {number} normalX - Gets the x component of the left-hand normal of this line. +* @readonly +*/ +Object.defineProperty(Phaser.Line.prototype, "normalX", { + + get: function () { + return Math.cos(this.angle - 1.5707963267948966); + } + +}); + +/** +* @name Phaser.Line#normalY +* @property {number} normalY - Gets the y component of the left-hand normal of this line. +* @readonly +*/ +Object.defineProperty(Phaser.Line.prototype, "normalY", { + + get: function () { + return Math.sin(this.angle - 1.5707963267948966); + } + +}); + +/** +* @name Phaser.Line#normalAngle +* @property {number} normalAngle - Gets the angle in radians of the normal of this line (line.angle - 90 degrees.) +* @readonly +*/ +Object.defineProperty(Phaser.Line.prototype, "normalAngle", { + + get: function () { + return Phaser.Math.wrap(this.angle - 1.5707963267948966, -Math.PI, Math.PI); + } + +}); + /** * Checks for intersection between two lines as defined by the given start and end points. * If asSegment is true it will check for line segment intersection. If asSegment is false it will check for line intersection. @@ -1316,7 +1392,7 @@ Object.defineProperty(Phaser.Line.prototype, "height", { * @param {Phaser.Point} e - The start of the second Line to be checked. * @param {Phaser.Point} f - The end of the second line to be checked. * @param {boolean} [asSegment=true] - If true it will check for segment intersection, otherwise full line intersection. -* @param {Phaser.Point} [result] - A Point object to store the result in, if not given a new one will be created. +* @param {Phaser.Point|object} [result] - A Point object to store the result in, if not given a new one will be created. * @return {Phaser.Point} The intersection segment of the two lines as a Point, or null if there is no intersection. */ Phaser.Line.intersectsPoints = function (a, b, e, f, asSegment, result) { @@ -1342,12 +1418,16 @@ Phaser.Line.intersectsPoints = function (a, b, e, f, asSegment, result) { if (asSegment) { - var uc = ((f.y-e.y)*(b.x-a.x) - (f.x-e.x)*(b.y- a.y)); - var ua = (((f.x-e.x)*(a.y-e.y)) - (f.y-e.y)*(a.x-e.x)) / uc; - var ub = (((b.x- a.x)*(a.y- e.y)) - ((b.y-a.y)*(a.x- e.x))) / uc; - if (ua >=0 && ua<=1 && ub >=0 && ub <=1) { + var uc = ((f.y - e.y) * (b.x - a.x) - (f.x - e.x) * (b.y - a.y)); + var ua = (((f.x - e.x) * (a.y - e.y)) - (f.y - e.y) * (a.x - e.x)) / uc; + var ub = (((b.x - a.x) * (a.y - e.y)) - ((b.y - a.y) * (a.x - e.x))) / uc; + + if (ua >= 0 && ua <= 1 && ub >= 0 && ub <= 1) + { return result; - } else { + } + else + { return null; } } @@ -1374,6 +1454,21 @@ Phaser.Line.intersects = function (a, b, asSegment, result) { return Phaser.Line.intersectsPoints(a.start, a.end, b.start, b.end, asSegment, result); +}; + +/** +* Returns the reflected angle between two lines. +* This is the outgoing angle based on the angle of Line 1 and the normalAngle of Line 2. +* +* @method Phaser.Line.reflect +* @param {Phaser.Line} a - The base line. +* @param {Phaser.Line} b - The line to be reflected from the base line. +* @return {number} The reflected angle in radians. +*/ +Phaser.Line.reflect = function (a, b) { + + return 2 * b.normalAngle - 3.141592653589793 - a.angle; + }; @@ -1396,7 +1491,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/LinkedList.js.html b/docs/LinkedList.js.html index 3d2b09852..13437d4f0 100644 --- a/docs/LinkedList.js.html +++ b/docs/LinkedList.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1151,7 +1151,7 @@ Phaser.LinkedList.prototype.constructor = Phaser.LinkedList; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Loader.js.html b/docs/Loader.js.html index 0200b3c14..9dcd3479e 100644 --- a/docs/Loader.js.html +++ b/docs/Loader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1561,7 +1561,7 @@ Phaser.Loader.prototype = { * * @method Phaser.Loader#audio * @param {string} key - Unique asset key of the audio file. - * @param {Array|string} urls - An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL. + * @param {Array|string} urls - An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL. BLOB urls are supported, but note that Phaser will not validate the audio file's type if a BLOB is provided; the user should ensure that a BLOB url is playable. * @param {boolean} autoDecode - When using Web Audio the audio files can either be decoded at load time or run-time. They can't be played until they are decoded, but this let's you control when that happens. Decoding is a non-blocking async process. * @return {Phaser.Loader} This Loader instance. */ @@ -2350,6 +2350,12 @@ Phaser.Loader.prototype = { for (var i = 0; i < urls.length; i++) { extension = urls[i].toLowerCase(); + + if (extension.substr(0,5) === "blob:") + { + return urls[i]; + } + extension = extension.substr((Math.max(0, extension.lastIndexOf(".")) || Infinity) + 1); if (extension.indexOf("?") >= 0) @@ -2845,7 +2851,7 @@ Phaser.Loader.prototype.constructor = Phaser.Loader; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/LoaderParser.js.html b/docs/LoaderParser.js.html index 11b2c4fce..aeadf0a48 100644 --- a/docs/LoaderParser.js.html +++ b/docs/LoaderParser.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1035,7 +1035,7 @@ Phaser.LoaderParser = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/LockConstraint.js.html b/docs/LockConstraint.js.html index e68e2fc1c..e5927705f 100644 --- a/docs/LockConstraint.js.html +++ b/docs/LockConstraint.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1007,7 +1007,7 @@ Phaser.Physics.P2.LockConstraint.prototype.constructor = Phaser.Physics.P2.LockC Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/MSPointer.js.html b/docs/MSPointer.js.html index ca7a7e7f2..065af01de 100644 --- a/docs/MSPointer.js.html +++ b/docs/MSPointer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1158,7 +1158,7 @@ Object.defineProperty(Phaser.MSPointer.prototype, "disabled", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Material.js.html b/docs/Material.js.html index 29f37adab..b0d68b851 100644 --- a/docs/Material.js.html +++ b/docs/Material.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -992,7 +992,7 @@ Phaser.Physics.P2.Material.prototype.constructor = Phaser.Physics.P2.Material; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Math.js.html b/docs/Math.js.html index ac2c80eb1..74450780b 100644 --- a/docs/Math.js.html +++ b/docs/Math.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2019,7 +2019,7 @@ Phaser.Math = { }, /** - * Returns the distance between the two given set of coordinates. + * Returns the euclidian distance between the two given set of coordinates. * * @method Phaser.Math#distance * @param {number} x1 @@ -2242,7 +2242,7 @@ Phaser.Math.radToDeg = function radToDeg (radians) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Matrix.js.html b/docs/Matrix.js.html index fa9f2edcf..bc5910d3a 100644 --- a/docs/Matrix.js.html +++ b/docs/Matrix.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1231,7 +1231,7 @@ PIXI.identityMatrix = new PIXI.Matrix(); Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Mouse.js.html b/docs/Mouse.js.html index 311faf0d2..b6a93c986 100644 --- a/docs/Mouse.js.html +++ b/docs/Mouse.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -976,7 +976,8 @@ Phaser.Mouse = function (game) { this.mouseDownCallback = null; /** - * @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down. + * @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved. + * @deprecated Will be removed soon. Please use `Input.addMoveCallback` instead. */ this.mouseMoveCallback = null; @@ -1641,7 +1642,7 @@ Object.defineProperties(WheelEventProxy.prototype, { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/MovieClip.js.html b/docs/MovieClip.js.html index 0e0d62d76..fed966e25 100644 --- a/docs/MovieClip.js.html +++ b/docs/MovieClip.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1168,7 +1168,7 @@ PIXI.MovieClip.fromImages = function(images) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Net.js.html b/docs/Net.js.html index 06af2c672..5b2788772 100644 --- a/docs/Net.js.html +++ b/docs/Net.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1129,7 +1129,7 @@ Phaser.Net.prototype.constructor = Phaser.Net; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/NoiseFilter.js.html b/docs/NoiseFilter.js.html index d3e000923..536afcc81 100644 --- a/docs/NoiseFilter.js.html +++ b/docs/NoiseFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1025,7 +1025,7 @@ Object.defineProperty(PIXI.NoiseFilter.prototype, 'noise', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/NormalMapFilter.js.html b/docs/NormalMapFilter.js.html index ddf2e5cf0..08654a2e4 100644 --- a/docs/NormalMapFilter.js.html +++ b/docs/NormalMapFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1159,7 +1159,7 @@ Object.defineProperty(PIXI.NormalMapFilter.prototype, 'offset', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AbstractFilter.html b/docs/PIXI.AbstractFilter.html index dbab0461b..fbbed84fd 100644 --- a/docs/PIXI.AbstractFilter.html +++ b/docs/PIXI.AbstractFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1319,7 +1319,7 @@ If you want to make a custom filter this should be your base class.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:01 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AjaxRequest.html b/docs/PIXI.AjaxRequest.html index 4ba54859e..d31036a3b 100644 --- a/docs/PIXI.AjaxRequest.html +++ b/docs/PIXI.AjaxRequest.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1529,6 +1529,168 @@ this function is taken from Starling Framework as its pretty neat ;)

    + + + + +
    +

    isPowerOfTwo(width, height) → {Boolean}

    + + +
    +
    + + + +
    +

    checks if the given width and height make a power of two texture

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +Number + + + +

    -

    height + + +Number + + + +

    -

    + + + + +
    Returns:
    +
    + + + +
    + +Boolean + + - +
    + +
    + +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + pixi/utils/Utils.js, line 209 +
    + + + + + + + +
    + + + + + + + + + + +
    @@ -1748,7 +1910,7 @@ you will still benefit from the polyfill

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:01 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AlphaMaskFilter.html b/docs/PIXI.AlphaMaskFilter.html index 427b70c3a..fb8967f83 100644 --- a/docs/PIXI.AlphaMaskFilter.html +++ b/docs/PIXI.AlphaMaskFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1444,7 +1444,7 @@ Currently the r property of the texture is used to offset the x and the g proper Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:02 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AsciiFilter.html b/docs/PIXI.AsciiFilter.html index b383224aa..51b1a2a90 100644 --- a/docs/PIXI.AsciiFilter.html +++ b/docs/PIXI.AsciiFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:02 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AssetLoader.html b/docs/PIXI.AssetLoader.html index 58fe70b86..9b3d938a3 100644 --- a/docs/PIXI.AssetLoader.html +++ b/docs/PIXI.AssetLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1518,7 +1518,7 @@ As each individual item is loaded this class will dispatch a 'onProgress' event< Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:02 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.AtlasLoader.html b/docs/PIXI.AtlasLoader.html index 069994587..041b1fab0 100644 --- a/docs/PIXI.AtlasLoader.html +++ b/docs/PIXI.AtlasLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1213,7 +1213,7 @@ Once the data has been loaded the frames are stored in the PIXI texture cache an Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:02 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BaseTexture.html b/docs/PIXI.BaseTexture.html index a6af534b0..e856eb4cb 100644 --- a/docs/PIXI.BaseTexture.html +++ b/docs/PIXI.BaseTexture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2315,7 +2315,7 @@ Atexture is still 100% usable and will simply be reuploaded if there is a sprite Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:03 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BitmapFontLoader.html b/docs/PIXI.BitmapFontLoader.html index b4df73288..69c5e7f81 100644 --- a/docs/PIXI.BitmapFontLoader.html +++ b/docs/PIXI.BitmapFontLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1441,7 +1441,7 @@ When loaded this class will dispatch a 'loaded' event

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:03 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BitmapText.html b/docs/PIXI.BitmapText.html index b335ce7ef..adb4aebd1 100644 --- a/docs/PIXI.BitmapText.html +++ b/docs/PIXI.BitmapText.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5394,7 +5394,7 @@ style.font {String} The size (optional) and bitmap font id (required) eq 'Arial' Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:03 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BlurFilter.html b/docs/PIXI.BlurFilter.html index e5857655d..84e0bbce4 100644 --- a/docs/PIXI.BlurFilter.html +++ b/docs/PIXI.BlurFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1445,7 +1445,7 @@ The strength of the blur can be set for x- and y-axis separately (always relativ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:03 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BlurXFilter.html b/docs/PIXI.BlurXFilter.html index 54fc49979..e991453f1 100644 --- a/docs/PIXI.BlurXFilter.html +++ b/docs/PIXI.BlurXFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1326,7 +1326,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:04 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.BlurYFilter.html b/docs/PIXI.BlurYFilter.html index d12217669..887e98e9e 100644 --- a/docs/PIXI.BlurYFilter.html +++ b/docs/PIXI.BlurYFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1326,7 +1326,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:04 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CanvasBuffer.html b/docs/PIXI.CanvasBuffer.html index 2edefd1a8..34fcabaf2 100644 --- a/docs/PIXI.CanvasBuffer.html +++ b/docs/PIXI.CanvasBuffer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1510,7 +1510,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:04 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CanvasGraphics.html b/docs/PIXI.CanvasGraphics.html index 952571039..df4d9607f 100644 --- a/docs/PIXI.CanvasGraphics.html +++ b/docs/PIXI.CanvasGraphics.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1064,7 +1064,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:04 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CanvasMaskManager.html b/docs/PIXI.CanvasMaskManager.html index 0691cdac9..05dbf20b7 100644 --- a/docs/PIXI.CanvasMaskManager.html +++ b/docs/PIXI.CanvasMaskManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1329,7 +1329,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:05 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CanvasRenderer.html b/docs/PIXI.CanvasRenderer.html index 9e05aa307..d874abcf2 100644 --- a/docs/PIXI.CanvasRenderer.html +++ b/docs/PIXI.CanvasRenderer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2355,7 +2355,7 @@ Disable this by setting this to false. For example if your game has a canvas fil Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:05 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CanvasTinter.html b/docs/PIXI.CanvasTinter.html index 5b9782db1..55bb3f4f0 100644 --- a/docs/PIXI.CanvasTinter.html +++ b/docs/PIXI.CanvasTinter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1081,7 +1081,64 @@
    Source - - pixi/renderers/canvas/utils/CanvasTinter.js, line 209 + pixi/renderers/canvas/utils/CanvasTinter.js, line 247 +
    + + + + + + + + + + + + + + + +
    +

    <static> canHandleAlpha :Boolean

    + + +
    +
    + + + +
    +

    If the browser isn't capable of handling tinting with alpha this will be false. +This property is only applicable if using tintWithPerPixel.

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + pixi/renderers/canvas/utils/CanvasTinter.js, line 265
    @@ -1137,7 +1194,7 @@
    Source - - pixi/renderers/canvas/utils/CanvasTinter.js, line 227 + pixi/renderers/canvas/utils/CanvasTinter.js, line 275
    @@ -1193,7 +1250,7 @@
    Source - - pixi/renderers/canvas/utils/CanvasTinter.js, line 218 + pixi/renderers/canvas/utils/CanvasTinter.js, line 256
    @@ -1472,7 +1529,126 @@
    Source - - pixi/renderers/canvas/utils/CanvasTinter.js, line 189 + pixi/renderers/canvas/utils/CanvasTinter.js, line 198 +
    + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +

    <static> roundColor(color)

    + + +
    +
    + + + +
    +

    Rounds the specified color according to the PIXI.CanvasTinter.cacheStepsPerColorChannel.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    color + + +Number + + + +

    the color to round, should be a hex color

    + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + pixi/renderers/canvas/utils/CanvasTinter.js, line 218
    @@ -1542,7 +1718,7 @@
    Source - - pixi/renderers/canvas/utils/CanvasTinter.js, line 236 + pixi/renderers/canvas/utils/CanvasTinter.js, line 284
    @@ -2086,7 +2262,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:05 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Circle.html b/docs/PIXI.Circle.html index 2f3b1f13b..8da7e191a 100644 --- a/docs/PIXI.Circle.html +++ b/docs/PIXI.Circle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1184,6 +1184,65 @@ +
    + + + +
    + + + +
    +

    type :Number

    + + +
    +
    + + + +
    +

    The type of the object, should be one of the Graphics type consts, PIXI.Graphics.CIRC in this case

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source - + pixi/geom/Circle.js, line 37 +
    + + + + + + +
    @@ -1373,7 +1432,7 @@
    Source - - pixi/geom/Circle.js, line 38 + pixi/geom/Circle.js, line 45
    @@ -1535,7 +1594,7 @@
    Source - - pixi/geom/Circle.js, line 49 + pixi/geom/Circle.js, line 56
    @@ -1625,7 +1684,7 @@
    Source - - pixi/geom/Circle.js, line 72 + pixi/geom/Circle.js, line 79
    @@ -1674,7 +1733,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:05 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.ColorMatrixFilter.html b/docs/PIXI.ColorMatrixFilter.html index 12c4d07be..198ffbafc 100644 --- a/docs/PIXI.ColorMatrixFilter.html +++ b/docs/PIXI.ColorMatrixFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1338,7 +1338,7 @@ with a new set of RGBA color and alpha values. It's pretty powerful!

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:06 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.ColorStepFilter.html b/docs/PIXI.ColorStepFilter.html index c82f29f6a..52eb0bdb8 100644 --- a/docs/PIXI.ColorStepFilter.html +++ b/docs/PIXI.ColorStepFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:06 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.ComplexPrimitiveShader.html b/docs/PIXI.ComplexPrimitiveShader.html index 2cc2679e7..06e5bb68c 100644 --- a/docs/PIXI.ComplexPrimitiveShader.html +++ b/docs/PIXI.ComplexPrimitiveShader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1358,7 +1358,7 @@
    Source - - pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 109 + pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js, line 110
    @@ -1477,7 +1477,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:06 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.ConvolutionFilter.html b/docs/PIXI.ConvolutionFilter.html index bc2663a8e..f6cc678fd 100644 --- a/docs/PIXI.ConvolutionFilter.html +++ b/docs/PIXI.ConvolutionFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1533,7 +1533,7 @@ The matrix should be specified as a 9 point Array. See Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:06 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.CrossHatchFilter.html b/docs/PIXI.CrossHatchFilter.html index 0be1a83a2..78c1b734e 100644 --- a/docs/PIXI.CrossHatchFilter.html +++ b/docs/PIXI.CrossHatchFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1326,7 +1326,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:06 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.DisplacementFilter.html b/docs/PIXI.DisplacementFilter.html index 90ed0d629..3aff300eb 100644 --- a/docs/PIXI.DisplacementFilter.html +++ b/docs/PIXI.DisplacementFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1556,7 +1556,7 @@ Currently the r property of the texture is used offset the x and the g property Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:07 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.DisplayObject.html b/docs/PIXI.DisplayObject.html index 13f9c534d..143020548 100644 --- a/docs/PIXI.DisplayObject.html +++ b/docs/PIXI.DisplayObject.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3217,7 +3217,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:07 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.DisplayObjectContainer.html b/docs/PIXI.DisplayObjectContainer.html index 220b7f9c0..69bb4eb50 100644 --- a/docs/PIXI.DisplayObjectContainer.html +++ b/docs/PIXI.DisplayObjectContainer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4830,7 +4830,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:07 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.DotScreenFilter.html b/docs/PIXI.DotScreenFilter.html index dd3f7fec1..34d1e80ca 100644 --- a/docs/PIXI.DotScreenFilter.html +++ b/docs/PIXI.DotScreenFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1379,7 +1379,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:08 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Ellipse.html b/docs/PIXI.Ellipse.html index 191b19e7c..c7f8c5067 100644 --- a/docs/PIXI.Ellipse.html +++ b/docs/PIXI.Ellipse.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1207,6 +1207,65 @@ + + + + + + + + +
    +

    type :Number

    + + +
    +
    + + + +
    +

    The type of the object, should be one of the Graphics type consts, PIXI.Graphics.ELIP in this case

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source - + pixi/geom/Ellipse.js, line 46 +
    + + + + + + +
    @@ -1451,7 +1510,7 @@
    Source - - pixi/geom/Ellipse.js, line 46 + pixi/geom/Ellipse.js, line 54
    @@ -1613,7 +1672,7 @@
    Source - - pixi/geom/Ellipse.js, line 57 + pixi/geom/Ellipse.js, line 65
    @@ -1703,7 +1762,7 @@
    Source - - pixi/geom/Ellipse.js, line 80 + pixi/geom/Ellipse.js, line 88
    @@ -1752,7 +1811,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:08 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Event.html b/docs/PIXI.Event.html index 0e2163187..8abb0eb68 100644 --- a/docs/PIXI.Event.html +++ b/docs/PIXI.Event.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1537,7 +1537,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:08 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.EventTarget.html b/docs/PIXI.EventTarget.html index 6251aec9d..f994cfc4a 100644 --- a/docs/PIXI.EventTarget.html +++ b/docs/PIXI.EventTarget.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2010,7 +2010,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:08 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.FilterBlock.html b/docs/PIXI.FilterBlock.html index 8914676fe..35f74da69 100644 --- a/docs/PIXI.FilterBlock.html +++ b/docs/PIXI.FilterBlock.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1180,7 +1180,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:08 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.FilterTexture.html b/docs/PIXI.FilterTexture.html index c5807399c..93d413e94 100644 --- a/docs/PIXI.FilterTexture.html +++ b/docs/PIXI.FilterTexture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1676,7 +1676,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:09 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Graphics.html b/docs/PIXI.Graphics.html index fc2745c52..1776a03d2 100644 --- a/docs/PIXI.Graphics.html +++ b/docs/PIXI.Graphics.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -8015,7 +8015,7 @@ Based on: Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:09 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.GraphicsData.html b/docs/PIXI.GraphicsData.html index 953b6ef5b..724747c37 100644 --- a/docs/PIXI.GraphicsData.html +++ b/docs/PIXI.GraphicsData.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1064,7 +1064,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:09 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.GrayFilter.html b/docs/PIXI.GrayFilter.html index 20de05cf2..8365e97b0 100644 --- a/docs/PIXI.GrayFilter.html +++ b/docs/PIXI.GrayFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.ImageLoader.html b/docs/PIXI.ImageLoader.html index f7979a9e0..cbce09e06 100644 --- a/docs/PIXI.ImageLoader.html +++ b/docs/PIXI.ImageLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1494,7 +1494,7 @@ frames will contain the sprite sheet frames

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.InteractionData.html b/docs/PIXI.InteractionData.html index 263323494..5103536ec 100644 --- a/docs/PIXI.InteractionData.html +++ b/docs/PIXI.InteractionData.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1422,7 +1422,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.InteractionManager.html b/docs/PIXI.InteractionManager.html index 44787bb3c..3807811c8 100644 --- a/docs/PIXI.InteractionManager.html +++ b/docs/PIXI.InteractionManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1975,7 +1975,7 @@ This manager also supports multitouch.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.InvertFilter.html b/docs/PIXI.InvertFilter.html index c7aacda2b..c0d46c32f 100644 --- a/docs/PIXI.InvertFilter.html +++ b/docs/PIXI.InvertFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:10 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:37 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.JsonLoader.html b/docs/PIXI.JsonLoader.html index 85219c458..f68285b73 100644 --- a/docs/PIXI.JsonLoader.html +++ b/docs/PIXI.JsonLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1440,7 +1440,7 @@ If loading fails this class will dispatch an 'error' event

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:11 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:37 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Matrix.html b/docs/PIXI.Matrix.html index 837683b8d..74263b158 100644 --- a/docs/PIXI.Matrix.html +++ b/docs/PIXI.Matrix.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2728,7 +2728,7 @@ ty = array[5]

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:11 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:37 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.MovieClip.html b/docs/PIXI.MovieClip.html index 5df047131..e94fd14a5 100644 --- a/docs/PIXI.MovieClip.html +++ b/docs/PIXI.MovieClip.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6479,7 +6479,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:11 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:37 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.NoiseFilter.html b/docs/PIXI.NoiseFilter.html index 4a4a618e3..77e88cb62 100644 --- a/docs/PIXI.NoiseFilter.html +++ b/docs/PIXI.NoiseFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:12 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:38 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.NormalMapFilter.html b/docs/PIXI.NormalMapFilter.html index 35fdae1c0..2f3aff074 100644 --- a/docs/PIXI.NormalMapFilter.html +++ b/docs/PIXI.NormalMapFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1556,7 +1556,7 @@ Currently the r property of the texture is used offset the x and the g property Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:12 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:38 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PIXI.html b/docs/PIXI.PIXI.html index 9b10ffc90..704a2f973 100644 --- a/docs/PIXI.PIXI.html +++ b/docs/PIXI.PIXI.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1054,7 +1054,7 @@
    -

    Various blend modes supported by pixi.

    +

    Various blend modes supported by pixi. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes.

    @@ -2529,7 +2529,7 @@ the browser then this function will return a canvas renderer

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:12 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:38 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PixelateFilter.html b/docs/PIXI.PixelateFilter.html index 2a1e9a7b3..2aff82f49 100644 --- a/docs/PIXI.PixelateFilter.html +++ b/docs/PIXI.PixelateFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:12 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:38 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PixiFastShader.html b/docs/PIXI.PixiFastShader.html index 4d821450d..348aa6a3d 100644 --- a/docs/PIXI.PixiFastShader.html +++ b/docs/PIXI.PixiFastShader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1533,7 +1533,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:12 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:39 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PixiShader.html b/docs/PIXI.PixiShader.html index 11740c52d..199d55bfd 100644 --- a/docs/PIXI.PixiShader.html +++ b/docs/PIXI.PixiShader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1801,7 +1801,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:13 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:39 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Point.html b/docs/PIXI.Point.html index 4c925561e..611982210 100644 --- a/docs/PIXI.Point.html +++ b/docs/PIXI.Point.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1523,7 +1523,7 @@ If y is omitted, both x and y will be set to x.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:13 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:39 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PolyK.html b/docs/PIXI.PolyK.html index 84c2fd162..2d20ca411 100644 --- a/docs/PIXI.PolyK.html +++ b/docs/PIXI.PolyK.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1140,7 +1140,7 @@ Slightly modified by Mat Groves (matgroves.com);

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:13 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:40 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Polygon.html b/docs/PIXI.Polygon.html index 17ac3fb9a..408401c5f 100644 --- a/docs/PIXI.Polygon.html +++ b/docs/PIXI.Polygon.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1096,6 +1096,138 @@ +

    Members

    + +
    + +
    +

    points :Array.<Point>|Array.<Number>

    + + +
    +
    + + + +
    +

    An array of the points of this polygon

    +
    + + + +
    Type:
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + pixi/geom/Polygon.js, line 33 +
    + + + + + + + +
    + + + +
    + + + +
    +

    type :Number

    + + +
    +
    + + + +
    +

    The type of the object, should be one of the Graphics type consts, PIXI.Graphics.POLY in this case

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source - + pixi/geom/Polygon.js, line 41 +
    + + + + + + + +
    + + + +
    + +
    +

    Methods

    @@ -1167,7 +1299,7 @@
    Source - - pixi/geom/Polygon.js, line 35 + pixi/geom/Polygon.js, line 49
    @@ -1329,7 +1461,7 @@
    Source - - pixi/geom/Polygon.js, line 47 + pixi/geom/Polygon.js, line 61
    @@ -1378,7 +1510,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:13 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:39 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.PrimitiveShader.html b/docs/PIXI.PrimitiveShader.html index 55ea3c0f4..609453fff 100644 --- a/docs/PIXI.PrimitiveShader.html +++ b/docs/PIXI.PrimitiveShader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1358,7 +1358,7 @@
    Source - - pixi/renderers/webgl/shaders/PrimitiveShader.js, line 103 + pixi/renderers/webgl/shaders/PrimitiveShader.js, line 105
    @@ -1428,7 +1428,7 @@
    Source - - pixi/renderers/webgl/shaders/PrimitiveShader.js, line 74 + pixi/renderers/webgl/shaders/PrimitiveShader.js, line 75
    @@ -1477,7 +1477,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:14 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:40 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.RGBSplitFilter.html b/docs/PIXI.RGBSplitFilter.html index 614a38eee..108bb7d1f 100644 --- a/docs/PIXI.RGBSplitFilter.html +++ b/docs/PIXI.RGBSplitFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1435,7 +1435,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:14 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:41 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Rectangle.html b/docs/PIXI.Rectangle.html index 0d2145ae1..a4b39573d 100644 --- a/docs/PIXI.Rectangle.html +++ b/docs/PIXI.Rectangle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1207,6 +1207,65 @@ + + + + + + + + +
    +

    type :Number

    + + +
    +
    + + + +
    +

    The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RECT in this case

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source - + pixi/geom/Rectangle.js, line 45 +
    + + + + + + +
    @@ -1451,7 +1510,7 @@
    Source - - pixi/geom/Rectangle.js, line 46 + pixi/geom/Rectangle.js, line 53
    @@ -1613,7 +1672,7 @@
    Source - - pixi/geom/Rectangle.js, line 57 + pixi/geom/Rectangle.js, line 64
    @@ -1662,7 +1721,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:14 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:40 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.RenderTexture.html b/docs/PIXI.RenderTexture.html index 96e231d42..6625fe9f5 100644 --- a/docs/PIXI.RenderTexture.html +++ b/docs/PIXI.RenderTexture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2629,7 +2629,7 @@ irrespective of the actual frame size or placement (which can be influenced by t Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:14 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:40 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Rope.html b/docs/PIXI.Rope.html index b1ab6ee1d..97cf87d41 100644 --- a/docs/PIXI.Rope.html +++ b/docs/PIXI.Rope.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5277,7 +5277,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:15 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:41 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.RoundedRectangle.html b/docs/PIXI.RoundedRectangle.html index 42db9424b..08b64a6a3 100644 --- a/docs/PIXI.RoundedRectangle.html +++ b/docs/PIXI.RoundedRectangle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1109,7 +1109,7 @@ -

    The overall radius of this corners of this rounded rectangle

    +

    Controls the radius of the rounded corners

    @@ -1285,6 +1285,65 @@ + + + + + + + + +
    +

    type :Number

    + + +
    +
    + + + +
    +

    The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RRECT in this case

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source - + pixi/geom/RoundedRectangle.js, line 53 +
    + + + + + + +
    @@ -1529,7 +1588,7 @@
    Source - - pixi/geom/RoundedRectangle.js, line 54 + pixi/geom/RoundedRectangle.js, line 61
    @@ -1691,7 +1750,7 @@
    Source - - pixi/geom/RoundedRectangle.js, line 65 + pixi/geom/RoundedRectangle.js, line 72
    @@ -1740,7 +1799,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:15 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:41 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SepiaFilter.html b/docs/PIXI.SepiaFilter.html index 1104cc337..69e74ae45 100644 --- a/docs/PIXI.SepiaFilter.html +++ b/docs/PIXI.SepiaFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1323,7 +1323,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:15 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:42 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SmartBlurFilter.html b/docs/PIXI.SmartBlurFilter.html index 89df1523c..f474f43f9 100644 --- a/docs/PIXI.SmartBlurFilter.html +++ b/docs/PIXI.SmartBlurFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1326,7 +1326,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:15 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:42 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Spine.html b/docs/PIXI.Spine.html index 33ac4e602..b0f0bcd83 100644 --- a/docs/PIXI.Spine.html +++ b/docs/PIXI.Spine.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5142,7 +5142,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:16 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:42 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SpineLoader.html b/docs/PIXI.SpineLoader.html index 9497056c0..e5e634284 100644 --- a/docs/PIXI.SpineLoader.html +++ b/docs/PIXI.SpineLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1387,7 +1387,7 @@ When loaded this class will dispatch a "loaded" event

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:16 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:42 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SpineTextureLoader.html b/docs/PIXI.SpineTextureLoader.html index f4a4a417a..719c5dc1b 100644 --- a/docs/PIXI.SpineTextureLoader.html +++ b/docs/PIXI.SpineTextureLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1401,7 +1401,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:16 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:43 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Sprite.html b/docs/PIXI.Sprite.html index 1aef988c7..d0026dfa4 100644 --- a/docs/PIXI.Sprite.html +++ b/docs/PIXI.Sprite.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5687,7 +5687,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:16 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:43 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SpriteBatch.html b/docs/PIXI.SpriteBatch.html index 8b81f3e5d..c43ed5ce1 100644 --- a/docs/PIXI.SpriteBatch.html +++ b/docs/PIXI.SpriteBatch.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1123,7 +1123,7 @@ And here you have a hundred sprites that will be renderer at the speed of light< Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:17 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:43 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.SpriteSheetLoader.html b/docs/PIXI.SpriteSheetLoader.html index 9da9c94e1..d8df30f60 100644 --- a/docs/PIXI.SpriteSheetLoader.html +++ b/docs/PIXI.SpriteSheetLoader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1500,7 +1500,7 @@ When loaded this class will dispatch a 'loaded' event

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:17 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:43 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Stage.html b/docs/PIXI.Stage.html index ed5692327..13725d383 100644 --- a/docs/PIXI.Stage.html +++ b/docs/PIXI.Stage.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5407,7 +5407,7 @@ This is useful for when you have other DOM elements on top of the Canvas element Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:17 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:44 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Strip.html b/docs/PIXI.Strip.html index db7dd5716..70b17d7f1 100644 --- a/docs/PIXI.Strip.html +++ b/docs/PIXI.Strip.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5271,7 +5271,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:18 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:44 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.StripShader.html b/docs/PIXI.StripShader.html index 351db369c..e4a4fda91 100644 --- a/docs/PIXI.StripShader.html +++ b/docs/PIXI.StripShader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1477,7 +1477,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:18 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:44 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Text.html b/docs/PIXI.Text.html index ea0b47daf..c1b37d5f4 100644 --- a/docs/PIXI.Text.html +++ b/docs/PIXI.Text.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3541,7 +3541,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - pixi/text/Text.js, line 510 + pixi/text/Text.js, line 516
    @@ -3874,7 +3874,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/text/Text.js, line 492 + pixi/text/Text.js, line 498
    @@ -6473,7 +6473,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:18 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:45 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.Texture.html b/docs/PIXI.Texture.html index 08c06074d..39dbeda6c 100644 --- a/docs/PIXI.Texture.html +++ b/docs/PIXI.Texture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2720,7 +2720,7 @@ If the image is not in the texture cache it will be created and loaded.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:18 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:45 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.TilingSprite.html b/docs/PIXI.TilingSprite.html index 027f81482..0d89e1a56 100644 --- a/docs/PIXI.TilingSprite.html +++ b/docs/PIXI.TilingSprite.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3833,7 +3833,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/extras/TilingSprite.js, line 373 + pixi/extras/TilingSprite.js, line 371
    @@ -3923,7 +3923,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/extras/TilingSprite.js, line 280 + pixi/extras/TilingSprite.js, line 278
    @@ -5813,7 +5813,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:19 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:45 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.TiltShiftFilter.html b/docs/PIXI.TiltShiftFilter.html index a29801889..fe71592b6 100644 --- a/docs/PIXI.TiltShiftFilter.html +++ b/docs/PIXI.TiltShiftFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1292,7 +1292,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:19 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:45 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.TiltShiftXFilter.html b/docs/PIXI.TiltShiftXFilter.html index c99cf6f6e..4d6580968 100644 --- a/docs/PIXI.TiltShiftXFilter.html +++ b/docs/PIXI.TiltShiftXFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1561,7 +1561,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:19 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:46 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.TiltShiftYFilter.html b/docs/PIXI.TiltShiftYFilter.html index d89a61fd7..e9178d167 100644 --- a/docs/PIXI.TiltShiftYFilter.html +++ b/docs/PIXI.TiltShiftYFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1561,7 +1561,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:20 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:46 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.TwistFilter.html b/docs/PIXI.TwistFilter.html index 22758c794..aa798ce6b 100644 --- a/docs/PIXI.TwistFilter.html +++ b/docs/PIXI.TwistFilter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1435,7 +1435,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:20 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:46 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.VideoTexture.html b/docs/PIXI.VideoTexture.html index 4d79e1ffa..aa14da548 100644 --- a/docs/PIXI.VideoTexture.html +++ b/docs/PIXI.VideoTexture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2539,7 +2539,7 @@ Atexture is still 100% usable and will simply be reuploaded if there is a sprite Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:20 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:46 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.WebGLBlendModeManager.html b/docs/PIXI.WebGLBlendModeManager.html index 62432df17..96d64b092 100644 --- a/docs/PIXI.WebGLBlendModeManager.html +++ b/docs/PIXI.WebGLBlendModeManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1477,7 +1477,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:20 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:47 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.WebGLFastSpriteBatch.html b/docs/PIXI.WebGLFastSpriteBatch.html index 2522ccef3..b0b655f69 100644 --- a/docs/PIXI.WebGLFastSpriteBatch.html +++ b/docs/PIXI.WebGLFastSpriteBatch.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2607,7 +2607,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:20 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:47 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.WebGLFilterManager.html b/docs/PIXI.WebGLFilterManager.html index af911c3a0..4d62bb9f2 100644 --- a/docs/PIXI.WebGLFilterManager.html +++ b/docs/PIXI.WebGLFilterManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1998,7 +1998,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:21 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:47 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.WebGLRenderer.html b/docs/PIXI.WebGLRenderer.html index a1fe5ba7a..98aef84ac 100644 --- a/docs/PIXI.WebGLRenderer.html +++ b/docs/PIXI.WebGLRenderer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2353,7 +2353,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi
    Source - - pixi/renderers/webgl/WebGLRenderer.js, line 487 + pixi/renderers/webgl/WebGLRenderer.js, line 490
    @@ -2489,7 +2489,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi
    Source - - pixi/renderers/webgl/WebGLRenderer.js, line 518 + pixi/renderers/webgl/WebGLRenderer.js, line 521
    @@ -2915,7 +2915,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi
    Source - - pixi/renderers/webgl/WebGLRenderer.js, line 378 + pixi/renderers/webgl/WebGLRenderer.js, line 381
    @@ -3034,7 +3034,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi
    Source - - pixi/renderers/webgl/WebGLRenderer.js, line 404 + pixi/renderers/webgl/WebGLRenderer.js, line 407
    @@ -3083,7 +3083,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:21 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:47 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXI.html b/docs/PIXI.html index c66d41f0d..0098e0465 100644 --- a/docs/PIXI.html +++ b/docs/PIXI.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1736,7 +1736,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:01 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PIXISpine.js.html b/docs/PIXISpine.js.html index 1d8856770..305883c8d 100644 --- a/docs/PIXISpine.js.html +++ b/docs/PIXISpine.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1273,7 +1273,7 @@ PIXI.Spine.prototype.createMesh = function (slot, attachment) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Particle.js.html b/docs/Particle.js.html index 5380eca7c..29a0dc9e2 100644 --- a/docs/Particle.js.html +++ b/docs/Particle.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1146,7 +1146,7 @@ Phaser.Particle.prototype.reset = function(x, y, health) { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Particles.js.html b/docs/Particles.js.html index ce60e9575..ec8d3805e 100644 --- a/docs/Particles.js.html +++ b/docs/Particles.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1043,7 +1043,7 @@ Phaser.Particles.prototype.constructor = Phaser.Particles; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Animation.html b/docs/Phaser.Animation.html index 5a09f6d49..54b3a72a7 100644 --- a/docs/Phaser.Animation.html +++ b/docs/Phaser.Animation.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4206,7 +4206,7 @@ If dispatchComplete is true it will dispatch the complete events, o Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:26 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:50 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.AnimationManager.html b/docs/Phaser.AnimationManager.html index 539afcfa7..1e9afcf85 100644 --- a/docs/Phaser.AnimationManager.html +++ b/docs/Phaser.AnimationManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1249,7 +1249,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 514 + animation/AnimationManager.js, line 517
    @@ -1305,7 +1305,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 450 + animation/AnimationManager.js, line 453
    @@ -1361,7 +1361,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 553 + animation/AnimationManager.js, line 556
    @@ -1417,7 +1417,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 463 + animation/AnimationManager.js, line 466
    @@ -1588,7 +1588,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 497 + animation/AnimationManager.js, line 500
    @@ -1644,7 +1644,7 @@ Any Game Object such as Phaser.Sprite that supports animation contains a single
    Source - - animation/AnimationManager.js, line 477 + animation/AnimationManager.js, line 480
    @@ -3419,7 +3419,7 @@ The currentAnim property of the AnimationManager is automatically set to the ani Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:26 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:51 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.AnimationParser.html b/docs/Phaser.AnimationParser.html index 2b5efed32..c991cc630 100644 --- a/docs/Phaser.AnimationParser.html +++ b/docs/Phaser.AnimationParser.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2000,7 +2000,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:27 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:51 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.ArrayList.html b/docs/Phaser.ArrayList.html index 732983d84..08f01d912 100644 --- a/docs/Phaser.ArrayList.html +++ b/docs/Phaser.ArrayList.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1075,7 +1075,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:27 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:51 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.ArraySet.html b/docs/Phaser.ArraySet.html index 84a2ddd08..98b7d7c01 100644 --- a/docs/Phaser.ArraySet.html +++ b/docs/Phaser.ArraySet.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2370,7 +2370,7 @@ The function is invoked using the item as the context.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:27 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:51 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.ArrayUtils.html b/docs/Phaser.ArrayUtils.html index f6151b4ac..f1a95789e 100644 --- a/docs/Phaser.ArrayUtils.html +++ b/docs/Phaser.ArrayUtils.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2189,7 +2189,7 @@ The "rotation" happens to the left.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:27 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:52 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.AudioSprite.html b/docs/Phaser.AudioSprite.html index 9f6ca4b11..015fc6b19 100644 --- a/docs/Phaser.AudioSprite.html +++ b/docs/Phaser.AudioSprite.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1574,7 +1574,7 @@ The JSON follows the format of that created by Source - - sound/AudioSprite.js, line 122 + sound/AudioSprite.js, line 115 @@ -1770,7 +1770,7 @@ The JSON follows the format of that created by Source - - sound/AudioSprite.js, line 84 + sound/AudioSprite.js, line 77 @@ -1909,7 +1909,7 @@ The JSON follows the format of that created by Source - - sound/AudioSprite.js, line 100 + sound/AudioSprite.js, line 93 @@ -1958,7 +1958,7 @@ The JSON follows the format of that created by Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:28 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:52 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.BitmapData.html b/docs/Phaser.BitmapData.html index 787e17474..76e69cca8 100644 --- a/docs/Phaser.BitmapData.html +++ b/docs/Phaser.BitmapData.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2409,7 +2409,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1785 + gameobjects/BitmapData.js, line 1812
    @@ -3195,7 +3195,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1219 + gameobjects/BitmapData.js, line 1246
    @@ -3285,7 +3285,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1555 + gameobjects/BitmapData.js, line 1582
    @@ -3375,7 +3375,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1737 + gameobjects/BitmapData.js, line 1764
    @@ -3465,7 +3465,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1646 + gameobjects/BitmapData.js, line 1673
    @@ -3555,7 +3555,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1633 + gameobjects/BitmapData.js, line 1660
    @@ -3645,7 +3645,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1607 + gameobjects/BitmapData.js, line 1634
    @@ -3735,7 +3735,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1529 + gameobjects/BitmapData.js, line 1556
    @@ -3825,7 +3825,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1503 + gameobjects/BitmapData.js, line 1530
    @@ -3915,7 +3915,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1516 + gameobjects/BitmapData.js, line 1543
    @@ -4005,7 +4005,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1490 + gameobjects/BitmapData.js, line 1517
    @@ -4095,7 +4095,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1685 + gameobjects/BitmapData.js, line 1712
    @@ -4185,7 +4185,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1698 + gameobjects/BitmapData.js, line 1725
    @@ -4275,7 +4275,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1659 + gameobjects/BitmapData.js, line 1686
    @@ -4365,7 +4365,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1711 + gameobjects/BitmapData.js, line 1738
    @@ -4455,7 +4455,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1620 + gameobjects/BitmapData.js, line 1647
    @@ -4545,7 +4545,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1750 + gameobjects/BitmapData.js, line 1777
    @@ -4635,7 +4635,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1568 + gameobjects/BitmapData.js, line 1595
    @@ -4725,7 +4725,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1594 + gameobjects/BitmapData.js, line 1621
    @@ -4815,7 +4815,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1425 + gameobjects/BitmapData.js, line 1452
    @@ -4905,7 +4905,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1724 + gameobjects/BitmapData.js, line 1751
    @@ -4995,7 +4995,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1581 + gameobjects/BitmapData.js, line 1608
    @@ -5085,7 +5085,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1672 + gameobjects/BitmapData.js, line 1699
    @@ -5175,7 +5175,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1477 + gameobjects/BitmapData.js, line 1504
    @@ -5265,7 +5265,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1451 + gameobjects/BitmapData.js, line 1478
    @@ -5355,7 +5355,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1464 + gameobjects/BitmapData.js, line 1491
    @@ -5445,7 +5445,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1438 + gameobjects/BitmapData.js, line 1465
    @@ -5535,7 +5535,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1542 + gameobjects/BitmapData.js, line 1569
    @@ -5779,7 +5779,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
    Source - - gameobjects/BitmapData.js, line 1330 + gameobjects/BitmapData.js, line 1357
    @@ -6255,7 +6255,7 @@ You can use the more friendly methods like copyRect and draw< -

    The x coordinate to translate to before drawing. If not specified it will default to the x parameter.

    +

    The x coordinate to translate to before drawing. If not specified it will default to the x parameter. If null and source is a Display Object, it will default to source.x.

    @@ -6292,7 +6292,7 @@ You can use the more friendly methods like copyRect and draw< -

    The y coordinate to translate to before drawing. If not specified it will default to the y parameter.

    +

    The y coordinate to translate to before drawing. If not specified it will default to the y parameter. If null and source is a Display Object, it will default to source.y.

    @@ -7123,7 +7123,7 @@ You can use the more friendly methods like copyRect and draw<
    Source - - gameobjects/BitmapData.js, line 1150 + gameobjects/BitmapData.js, line 1153
    @@ -7516,7 +7516,244 @@ When drawing it will take into account the Sprites rotation, scale and alpha val
    Source - - gameobjects/BitmapData.js, line 1169 + gameobjects/BitmapData.js, line 1172 +
    + + + + + + + + + + + + + + + + + + + + + + + +
    +

    drawGroup(group, blendMode, roundPx) → {Phaser.BitmapData}

    + + +
    +
    + + + +
    +

    Draws the immediate children of a Phaser.Group to this BitmapData. +Children are only drawn if they have their exists property set to true. +The children will be drawn at their x and y world space coordinates. If this is outside the bounds of the BitmapData they won't be drawn. +When drawing it will take into account the child's rotation, scale and alpha values. +No iteration takes place. Groups nested inside other Groups will not be iterated through.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    group + + +Phaser.Group + + + + + + + + + + + +

    The Group to draw onto this BitmapData.

    blendMode + + +number + + + + + + <optional>
    + + + + + +
    + + null + +

    The composite blend mode that will be used when drawing the Group children. The default is no blend mode at all.

    roundPx + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    Should the x and y values be rounded to integers before drawing? This prevents anti-aliasing in some instances.

    + + + + +
    Returns:
    +
    + + + +
    + +Phaser.BitmapData + + - +
    + +
    +

    This BitmapData object for method chaining.

    +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + gameobjects/BitmapData.js, line 1194
    @@ -7972,7 +8209,7 @@ the color during extraction.

    Source - - gameobjects/BitmapData.js, line 1253 + gameobjects/BitmapData.js, line 1280
    @@ -10509,7 +10746,7 @@ If a new color object is returned the pixel will be set to the r, g, b and a col
    Source - - gameobjects/BitmapData.js, line 1306 + gameobjects/BitmapData.js, line 1333
    @@ -10601,7 +10838,7 @@ If you wish to suppress this functionality set BitmapData.disableTextureUpload t
    Source - - gameobjects/BitmapData.js, line 1405 + gameobjects/BitmapData.js, line 1432
    @@ -12377,7 +12614,7 @@ Note: At the time of writing (October 2014) Chrome still doesn't support shadowB
    Source - - gameobjects/BitmapData.js, line 1191 + gameobjects/BitmapData.js, line 1218
    @@ -12885,7 +13122,7 @@ The hue is wrapped to keep it within the range 0 to 1. Saturation and lightness
    Source - - gameobjects/BitmapData.js, line 1357 + gameobjects/BitmapData.js, line 1384
    @@ -13208,7 +13445,7 @@ If not given the dimensions defaults to the full size of the context.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:28 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:52 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.BitmapText.html b/docs/Phaser.BitmapText.html index 36b88ebdf..4cb6c0228 100644 --- a/docs/Phaser.BitmapText.html +++ b/docs/Phaser.BitmapText.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -7007,7 +7007,7 @@ This can be quite useful if your displayObject is static / complicated and needs Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:28 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:53 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Button.html b/docs/Phaser.Button.html index 3d2130be4..bed9ce723 100644 --- a/docs/Phaser.Button.html +++ b/docs/Phaser.Button.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -12264,7 +12264,7 @@ then you need to update the crop frame by calling this method.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:29 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:53 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Cache.html b/docs/Phaser.Cache.html index 7a6e74b09..7d7220b96 100644 --- a/docs/Phaser.Cache.html +++ b/docs/Phaser.Cache.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -12688,7 +12688,7 @@ Be aware that every call to this function makes a DOM src query, so use carefull Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:29 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:54 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Camera.html b/docs/Phaser.Camera.html index d95586b42..6bcc2bb89 100644 --- a/docs/Phaser.Camera.html +++ b/docs/Phaser.Camera.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3601,7 +3601,7 @@ without having to use game.camera.x and game.camera.y.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:30 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:54 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Canvas.html b/docs/Phaser.Canvas.html index a92099a35..81d45a194 100644 --- a/docs/Phaser.Canvas.html +++ b/docs/Phaser.Canvas.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1431,12 +1431,12 @@ If no parent is given it will be added as a child of the document.body.

    - '' + (none) -

    If given this will be set as the ID of the canvas element, otherwise no ID will be set.

    +

    If specified, and not the empty string, this will be set as the ID of the canvas element. Otherwise no ID will be set.

    @@ -3410,7 +3410,7 @@ patchy on earlier browsers, especially on mobile.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:30 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:54 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Circle.html b/docs/Phaser.Circle.html index f1aa862b2..8f4c601f8 100644 --- a/docs/Phaser.Circle.html +++ b/docs/Phaser.Circle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4480,7 +4480,7 @@ This method checks the radius distances between the two Circle objects to see if Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:30 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:55 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Color.html b/docs/Phaser.Color.html index 13499aa96..4b8d20861 100644 --- a/docs/Phaser.Color.html +++ b/docs/Phaser.Color.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -7600,7 +7600,7 @@ endian-independent method, use fromRGBA(rgba) and toRGBA(r, g, b, a).

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:31 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:55 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.DOM.html b/docs/Phaser.DOM.html index 691a346e8..810e9d0f2 100644 --- a/docs/Phaser.DOM.html +++ b/docs/Phaser.DOM.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2543,7 +2543,7 @@ inViewport(element, -100) is true if the element is in the viewport Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:31 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:56 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Device.html b/docs/Phaser.Device.html index 22415f71b..44546fbf2 100644 --- a/docs/Phaser.Device.html +++ b/docs/Phaser.Device.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1103,7 +1103,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 456 + system/Device.js, line 464
    @@ -1221,7 +1221,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 239 + system/Device.js, line 245
    @@ -1280,7 +1280,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 325 + system/Device.js, line 331
    @@ -1336,7 +1336,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 430 + system/Device.js, line 438
    @@ -1404,6 +1404,65 @@ added before new Phaser.Game(..) it is probably too late.< +
    + + + +
    + + + +
    +

    canvasBitBltShift :boolean

    + + +
    +
    + + + +
    +

    True if canvas supports a 'copy' bitblt onto itself when the source and destination regions overlap.

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • null
    + + + +
    Source - + system/Device.js, line 150 +
    + + + + + + +
    @@ -1454,7 +1513,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 245 + system/Device.js, line 251
    @@ -1808,7 +1867,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 180 + system/Device.js, line 186
    @@ -2048,7 +2107,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 251 + system/Device.js, line 257
    @@ -2107,7 +2166,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 150 + system/Device.js, line 162
    @@ -2166,7 +2225,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 156 + system/Device.js, line 168
    @@ -2225,7 +2284,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 257 + system/Device.js, line 263
    @@ -2284,7 +2343,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 418 + system/Device.js, line 426
    @@ -2343,7 +2402,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 436 + system/Device.js, line 444
    @@ -2402,7 +2461,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 204 + system/Device.js, line 210
    @@ -2461,7 +2520,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 263 + system/Device.js, line 269
    @@ -2520,7 +2579,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 269 + system/Device.js, line 275
    @@ -2701,7 +2760,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 388 + system/Device.js, line 394
    @@ -2760,7 +2819,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 376 + system/Device.js, line 382
    @@ -2819,7 +2878,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 382 + system/Device.js, line 388
    @@ -2937,7 +2996,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 406 + system/Device.js, line 414
    @@ -2996,7 +3055,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 400 + system/Device.js, line 408
    @@ -3055,7 +3114,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 162 + system/Device.js, line 174
    @@ -3114,7 +3173,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 362 + system/Device.js, line 368
    @@ -3232,7 +3291,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 293 + system/Device.js, line 299
    @@ -3291,7 +3350,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 287 + system/Device.js, line 293
    @@ -3350,7 +3409,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 349 + system/Device.js, line 355
    @@ -3409,7 +3468,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 224 + system/Device.js, line 230
    @@ -3586,7 +3645,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 337 + system/Device.js, line 343
    @@ -3645,7 +3704,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 299 + system/Device.js, line 305
    @@ -3704,7 +3763,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 343 + system/Device.js, line 349
    @@ -3763,7 +3822,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 394 + system/Device.js, line 402
    @@ -3822,7 +3881,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 186 + system/Device.js, line 192
    @@ -3881,7 +3940,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 210 + system/Device.js, line 216
    @@ -3937,7 +3996,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 424 + system/Device.js, line 432
    @@ -3996,7 +4055,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 305 + system/Device.js, line 311
    @@ -4055,7 +4114,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 317 + system/Device.js, line 323
    @@ -4114,7 +4173,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 412 + system/Device.js, line 420
    @@ -4173,7 +4232,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 218 + system/Device.js, line 224
    @@ -4232,7 +4291,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 275 + system/Device.js, line 281
    @@ -4291,7 +4350,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 281 + system/Device.js, line 287
    @@ -4350,7 +4409,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 192 + system/Device.js, line 198
    @@ -4409,7 +4468,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 198 + system/Device.js, line 204
    @@ -4468,7 +4527,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 355 + system/Device.js, line 361
    @@ -4527,7 +4586,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 311 + system/Device.js, line 317
    @@ -4586,7 +4645,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 331 + system/Device.js, line 337
    @@ -4645,7 +4704,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 168 + system/Device.js, line 156
    @@ -4704,7 +4763,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 368 + system/Device.js, line 374
    @@ -4752,6 +4811,8 @@ added before new Phaser.Game(..) it is probably too late.< Type + Argument + @@ -4771,15 +4832,20 @@ added before new Phaser.Game(..) it is probably too late.< string -| - -null + + + + + <nullable>
    + + + @@ -4821,7 +4887,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 231 + system/Device.js, line 237
    @@ -4998,7 +5064,7 @@ added before new Phaser.Game(..) it is probably too late.<
    Source - - system/Device.js, line 174 + system/Device.js, line 180
    @@ -5211,7 +5277,7 @@ if the device is already "ready". See Source - - system/Device.js, line 472 + system/Device.js, line 480 @@ -5350,7 +5416,7 @@ if the device is already "ready". See Source - - system/Device.js, line 1061 + system/Device.js, line 1078 @@ -5422,7 +5488,7 @@ This is available before the device "ready" event.

    Source - - system/Device.js, line 1135 + system/Device.js, line 1152
    @@ -5500,7 +5566,7 @@ It used to work in Chrome, but then they removed the ability: ">http://src.chrom
    Source - - system/Device.js, line 1100 + system/Device.js, line 1117
    @@ -5549,7 +5615,7 @@ It used to work in Chrome, but then they removed the ability: ">http://src.chrom Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:31 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:55 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.html b/docs/Phaser.Easing.html index 4a68b7b39..65d1682b6 100644 --- a/docs/Phaser.Easing.html +++ b/docs/Phaser.Easing.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1064,7 +1064,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:32 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:56 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Ellipse.html b/docs/Phaser.Ellipse.html index cddb2eca6..2858a2349 100644 --- a/docs/Phaser.Ellipse.html +++ b/docs/Phaser.Ellipse.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1267,7 +1267,7 @@
    Source - - geom/Ellipse.js, line 219 + geom/Ellipse.js, line 221
    @@ -1324,7 +1324,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 244 + geom/Ellipse.js, line 246
    @@ -1436,7 +1436,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 158 + geom/Ellipse.js, line 160
    @@ -1492,7 +1492,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 177 + geom/Ellipse.js, line 179
    @@ -1548,7 +1548,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 202 + geom/Ellipse.js, line 204
    @@ -1899,97 +1899,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 267 -
    - - - - - - - - - - - - - - - - - - - - - - - -
    -

    <static> getBounds() → {Phaser.Rectangle}

    - - -
    -
    - - - -
    -

    Returns the framing rectangle of the ellipse as a Phaser.Rectangle object.

    -
    - - - - - - - - - -
    Returns:
    -
    - - - -
    - -Phaser.Rectangle - - - -
    - -
    -

    The framing rectangle

    -
    - - - -
    - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source - - geom/Ellipse.js, line 293 + geom/Ellipse.js, line 269
    @@ -2128,7 +2038,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 111 + geom/Ellipse.js, line 113
    @@ -2290,7 +2200,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 132 + geom/Ellipse.js, line 134
    @@ -2429,7 +2339,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 82 + geom/Ellipse.js, line 83
    @@ -2568,7 +2478,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 94 + geom/Ellipse.js, line 96
    @@ -2628,7 +2538,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    -

    The bounds of the Circle.

    +

    The bounds of the Ellipse.

    @@ -2956,7 +2866,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
    Source - - geom/Ellipse.js, line 145 + geom/Ellipse.js, line 147
    @@ -3005,7 +2915,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:32 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:56 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Events.html b/docs/Phaser.Events.html index 2f5541bb5..3a2f029ae 100644 --- a/docs/Phaser.Events.html +++ b/docs/Phaser.Events.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1135,7 +1135,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 71 + gameobjects/Events.js, line 72
    @@ -1191,7 +1191,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 146 + gameobjects/Events.js, line 147
    @@ -1247,7 +1247,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 151 + gameobjects/Events.js, line 152
    @@ -1303,7 +1303,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 141 + gameobjects/Events.js, line 142
    @@ -1359,7 +1359,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 86 + gameobjects/Events.js, line 87
    @@ -1415,7 +1415,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 131 + gameobjects/Events.js, line 132
    @@ -1471,7 +1471,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 136 + gameobjects/Events.js, line 137
    @@ -1527,7 +1527,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 106 + gameobjects/Events.js, line 107
    @@ -1583,7 +1583,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 121 + gameobjects/Events.js, line 122
    @@ -1639,7 +1639,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 116 + gameobjects/Events.js, line 117
    @@ -1695,7 +1695,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 111 + gameobjects/Events.js, line 112
    @@ -1751,7 +1751,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 126 + gameobjects/Events.js, line 127
    @@ -1807,7 +1807,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 91 + gameobjects/Events.js, line 92
    @@ -1863,7 +1863,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 101 + gameobjects/Events.js, line 102
    @@ -1919,7 +1919,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 76 + gameobjects/Events.js, line 77
    @@ -1975,7 +1975,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 81 + gameobjects/Events.js, line 82
    @@ -2031,7 +2031,7 @@ and the Animation-related events only apply to game objects with animations like
    Source - - gameobjects/Events.js, line 96 + gameobjects/Events.js, line 97
    @@ -2204,7 +2204,7 @@ and the Animation-related events only apply to game objects with animations like Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:32 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:56 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Filter.html b/docs/Phaser.Filter.html index 7ee6a04b6..e7574b390 100644 --- a/docs/Phaser.Filter.html +++ b/docs/Phaser.Filter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2090,7 +2090,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:33 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:57 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.FlexGrid.html b/docs/Phaser.FlexGrid.html index 91b16062d..c8f4aa730 100644 --- a/docs/Phaser.FlexGrid.html +++ b/docs/Phaser.FlexGrid.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2818,7 +2818,7 @@ to provide for game object positioning in a responsive manner.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:33 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:57 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.FlexLayer.html b/docs/Phaser.FlexLayer.html index 350ecbfc3..4a236c895 100644 --- a/docs/Phaser.FlexLayer.html +++ b/docs/Phaser.FlexLayer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1277,7 +1277,7 @@ This is also why the documentation is incomplete.

    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1341,7 +1341,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -2323,7 +2323,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2714,7 +2714,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -3419,7 +3419,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -3749,7 +3749,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -4003,7 +4003,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -4249,7 +4249,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2022 + core/Group.js, line 2021
    @@ -4312,7 +4312,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2024 + core/Group.js, line 2023
    @@ -4767,7 +4767,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -5672,7 +5672,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -6034,7 +6034,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -6233,7 +6233,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -6410,7 +6410,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -6703,7 +6703,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -6972,7 +6972,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -7067,7 +7067,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -7162,7 +7162,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -7910,7 +7910,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -8134,7 +8134,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -8318,7 +8318,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -8512,7 +8512,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -8717,7 +8717,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -8976,7 +8976,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -9193,7 +9193,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -9410,7 +9410,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -9627,7 +9627,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -10061,7 +10061,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -10540,7 +10540,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -10636,7 +10636,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -10800,7 +10800,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -11242,7 +11242,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -11338,7 +11338,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -11506,7 +11506,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -11865,7 +11865,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -12347,7 +12347,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -12525,7 +12525,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -12607,7 +12607,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -12943,7 +12943,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -13126,7 +13126,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -13381,7 +13381,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -14900,7 +14900,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -15234,7 +15234,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -15568,7 +15568,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -16029,7 +16029,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -16338,7 +16338,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -16532,7 +16532,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -17240,7 +17240,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1241 + core/Group.js, line 1240
    @@ -17617,7 +17617,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:33 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:57 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Frame.html b/docs/Phaser.Frame.html index a9b17c794..5bb402073 100644 --- a/docs/Phaser.Frame.html +++ b/docs/Phaser.Frame.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2955,7 +2955,7 @@ Note that all properties are cloned, including the name, index and UUID.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:34 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:58 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.FrameData.html b/docs/Phaser.FrameData.html index 17832d64e..4e0d9ffbf 100644 --- a/docs/Phaser.FrameData.html +++ b/docs/Phaser.FrameData.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2451,7 +2451,7 @@ The frames are returned in the output array, or if none is provided in a new Arr Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:34 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:58 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Game.html b/docs/Phaser.Game.html index 9375cd42e..78fd6dcdd 100644 --- a/docs/Phaser.Game.html +++ b/docs/Phaser.Game.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3038,7 +3038,7 @@ When a game is paused the onPause event is dispatched. When it is resumed the on
    Source - - core/Game.js, line 1032 + core/Game.js, line 1037
    @@ -4357,7 +4357,7 @@ will be 1 unless there are catch-ups required (and allowed).

    Source - - core/Game.js, line 894 + core/Game.js, line 899
    @@ -4427,7 +4427,7 @@ will be 1 unless there are catch-ups required (and allowed).

    Source - - core/Game.js, line 869 + core/Game.js, line 874
    @@ -4498,7 +4498,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
    Source - - core/Game.js, line 855 + core/Game.js, line 860
    @@ -4624,7 +4624,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
    Source - - core/Game.js, line 1010 + core/Game.js, line 1015
    @@ -4750,7 +4750,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
    Source - - core/Game.js, line 992 + core/Game.js, line 997
    @@ -4876,7 +4876,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
    Source - - core/Game.js, line 951 + core/Game.js, line 956
    @@ -5002,7 +5002,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
    Source - - core/Game.js, line 971 + core/Game.js, line 976
    @@ -5304,7 +5304,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
    Source - - core/Game.js, line 881 + core/Game.js, line 886
    @@ -5556,7 +5556,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
    Source - - core/Game.js, line 779 + core/Game.js, line 783
    @@ -5690,7 +5690,7 @@ Phaser will only render when this boolean is false.

    Source - - core/Game.js, line 824 + core/Game.js, line 829
    @@ -5739,7 +5739,7 @@ Phaser will only render when this boolean is false.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:34 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:58 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.GameObjectCreator.html b/docs/Phaser.GameObjectCreator.html index 774374284..972627ce6 100644 --- a/docs/Phaser.GameObjectCreator.html +++ b/docs/Phaser.GameObjectCreator.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6439,7 +6439,7 @@ Note that all Tilemaps use a base tile size to calculate dimensions from, but th Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:34 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:59 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.GameObjectFactory.html b/docs/Phaser.GameObjectFactory.html index b5aa6d300..3d89c1fb4 100644 --- a/docs/Phaser.GameObjectFactory.html +++ b/docs/Phaser.GameObjectFactory.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -7452,7 +7452,7 @@ Note that all Tilemaps use a base tile size to calculate dimensions from, but th Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:35 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:59 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Gamepad.html b/docs/Phaser.Gamepad.html index f3d1daa33..07a7d6987 100644 --- a/docs/Phaser.Gamepad.html +++ b/docs/Phaser.Gamepad.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3123,7 +3123,7 @@ This MUST be called manually before Phaser will start polling the Gamepad API. Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:35 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:59 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.GamepadButton.html b/docs/Phaser.GamepadButton.html index c2dfc6249..36235ed96 100644 --- a/docs/Phaser.GamepadButton.html +++ b/docs/Phaser.GamepadButton.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2730,7 +2730,7 @@ If the button is up it holds the duration of the previous down session. The numb Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:35 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:00 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Graphics.html b/docs/Phaser.Graphics.html index 3bb427a58..ca9842a8a 100644 --- a/docs/Phaser.Graphics.html +++ b/docs/Phaser.Graphics.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1245,7 +1245,7 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
    Source - - gameobjects/Graphics.js, line 305 + gameobjects/Graphics.js, line 321
    @@ -1614,7 +1614,7 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
    Source - - gameobjects/Graphics.js, line 356 + gameobjects/Graphics.js, line 372
    @@ -1927,7 +1927,7 @@ So if this Graphics was in a Group that has x: 200, then this will be added to t
    Source - - gameobjects/Graphics.js, line 325 + gameobjects/Graphics.js, line 341
    @@ -4911,7 +4911,7 @@ This ability allows you to check any of the matrix values and perform actions su

    drawCircle(x, y, radius) → {PIXI.Graphics}

    + id="drawCircle">drawCircle(x, y, radius) → {Phaser.Graphics}
    @@ -4920,7 +4920,8 @@ This ability allows you to check any of the matrix values and perform actions su
    -

    Draws a circle.

    +

    /* +Draws a circle.

    @@ -4970,7 +4971,7 @@ This ability allows you to check any of the matrix values and perform actions su -

    The X coordinate of the center of the circle

    +

    The X coordinate of the center of the circle.

    @@ -4993,7 +4994,7 @@ This ability allows you to check any of the matrix values and perform actions su -

    The Y coordinate of the center of the circle

    +

    The Y coordinate of the center of the circle.

    @@ -5016,7 +5017,7 @@ This ability allows you to check any of the matrix values and perform actions su -

    The radius of the circle

    +

    The diameter of the circle.

    @@ -5033,13 +5034,13 @@ This ability allows you to check any of the matrix values and perform actions su
    - +

    This Graphics object.

    @@ -5056,11 +5057,6 @@ This ability allows you to check any of the matrix values and perform actions su -
    Inherited From:
    -
    - @@ -5074,7 +5070,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - pixi/primitives/Graphics.js, line 570 + gameobjects/Graphics.js, line 197
    @@ -6183,7 +6179,7 @@ Draws a single {Phaser.Polygon} triangle from a {Phaser.Point} array

    Source - - gameobjects/Graphics.js, line 197 + gameobjects/Graphics.js, line 213
    @@ -6396,7 +6392,7 @@ Draws {Phaser.Polygon} triangles

    Source - - gameobjects/Graphics.js, line 229 + gameobjects/Graphics.js, line 245
    @@ -9544,7 +9540,7 @@ Based on: Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:36 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:00 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Group.html b/docs/Phaser.Group.html index 780403cf9..b127ba39d 100644 --- a/docs/Phaser.Group.html +++ b/docs/Phaser.Group.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1694,7 +1694,7 @@ For instance, all children are also moved/rotated/scaled when the group is moved
    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1753,7 +1753,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -2492,7 +2492,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2812,7 +2812,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -3346,7 +3346,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -3519,7 +3519,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -3763,7 +3763,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -4004,7 +4004,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2022 + core/Group.js, line 2021
    @@ -4062,7 +4062,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2024 + core/Group.js, line 2023
    @@ -4502,7 +4502,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -5392,7 +5392,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -5744,7 +5744,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -5938,7 +5938,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -6110,7 +6110,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -6398,7 +6398,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -6662,7 +6662,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -6752,7 +6752,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -6842,7 +6842,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -7575,7 +7575,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -7724,7 +7724,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -7903,7 +7903,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -8092,7 +8092,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -8292,7 +8292,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -8546,7 +8546,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -8758,7 +8758,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -8970,7 +8970,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -9182,7 +9182,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -9606,7 +9606,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -10080,7 +10080,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -10171,7 +10171,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -10330,7 +10330,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -10762,7 +10762,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -10853,7 +10853,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -11016,7 +11016,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -11370,7 +11370,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -11837,7 +11837,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -12005,7 +12005,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -12082,7 +12082,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -12408,7 +12408,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -12586,7 +12586,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -12836,7 +12836,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -14260,7 +14260,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -14589,7 +14589,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -14918,7 +14918,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -15374,7 +15374,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -15678,7 +15678,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -15867,7 +15867,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -16565,7 +16565,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1241 + core/Group.js, line 1240
    @@ -16932,7 +16932,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:36 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:00 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Image.html b/docs/Phaser.Image.html index 7d150fbca..062f1f776 100644 --- a/docs/Phaser.Image.html +++ b/docs/Phaser.Image.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -8766,7 +8766,7 @@ then you need to update the crop frame by calling this method.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:37 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:01 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Input.html b/docs/Phaser.Input.html index 81ac6f0ec..f8fbf1f2a 100644 --- a/docs/Phaser.Input.html +++ b/docs/Phaser.Input.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6592,7 +6592,7 @@ This is called automatically and should not normally need to be invoked.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:37 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:01 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.InputHandler.html b/docs/Phaser.InputHandler.html index ce4213fae..eab126fd9 100644 --- a/docs/Phaser.InputHandler.html +++ b/docs/Phaser.InputHandler.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -8248,7 +8248,7 @@ This is called by Phaser.Pointer and shouldn't typically be called directly.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:37 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:02 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Key.html b/docs/Phaser.Key.html index d07c5a1e2..a9b27a9b9 100644 --- a/docs/Phaser.Key.html +++ b/docs/Phaser.Key.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2852,7 +2852,7 @@ or was pressed down longer ago than then given duration.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:38 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:02 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Keyboard.html b/docs/Phaser.Keyboard.html index 24ebc91bc..e17d3b7ba 100644 --- a/docs/Phaser.Keyboard.html +++ b/docs/Phaser.Keyboard.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3932,7 +3932,7 @@ or was pressed down longer ago than then given duration.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:38 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:02 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Line.html b/docs/Phaser.Line.html index 57ad552b3..ec39d896b 100644 --- a/docs/Phaser.Line.html +++ b/docs/Phaser.Line.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1267,7 +1267,7 @@
    Source - - geom/Line.js, line 220 + geom/Line.js, line 257
    @@ -1323,7 +1323,7 @@
    Source - - geom/Line.js, line 324 + geom/Line.js, line 361
    @@ -1435,7 +1435,7 @@
    Source - - geom/Line.js, line 350 + geom/Line.js, line 387
    @@ -1491,7 +1491,7 @@
    Source - - geom/Line.js, line 285 + geom/Line.js, line 322
    @@ -1547,7 +1547,175 @@
    Source - - geom/Line.js, line 207 + geom/Line.js, line 244 +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> normalAngle :number

    + + +
    +
    + + + +
    +

    Gets the angle in radians of the normal of this line (line.angle - 90 degrees.)

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 426 +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> normalX :number

    + + +
    +
    + + + +
    +

    Gets the x component of the left-hand normal of this line.

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 400 +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> normalY :number

    + + +
    +
    + + + +
    +

    Gets the y component of the left-hand normal of this line.

    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 413
    @@ -1603,7 +1771,7 @@
    Source - - geom/Line.js, line 246 + geom/Line.js, line 283
    @@ -1659,7 +1827,7 @@
    Source - - geom/Line.js, line 298 + geom/Line.js, line 335
    @@ -1715,7 +1883,7 @@
    Source - - geom/Line.js, line 233 + geom/Line.js, line 270
    @@ -1827,7 +1995,7 @@
    Source - - geom/Line.js, line 311 + geom/Line.js, line 348
    @@ -1883,7 +2051,7 @@
    Source - - geom/Line.js, line 337 + geom/Line.js, line 374
    @@ -1939,7 +2107,7 @@
    Source - - geom/Line.js, line 259 + geom/Line.js, line 296
    @@ -1995,7 +2163,7 @@
    Source - - geom/Line.js, line 272 + geom/Line.js, line 309
    @@ -2263,7 +2431,7 @@ Adapted from code by Keith Hair

    Source - - geom/Line.js, line 415 + geom/Line.js, line 495
    @@ -2526,6 +2694,9 @@ Adapted from code by Keith Hair

    Phaser.Point +| + +object @@ -2602,7 +2773,170 @@ Adapted from code by Keith Hair

    Source - - geom/Line.js, line 363 + geom/Line.js, line 439 +
    + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +

    <static> reflect(a, b) → {number}

    + + +
    +
    + + + +
    +

    Returns the reflected angle between two lines. +This is the outgoing angle based on the angle of Line 1 and the normalAngle of Line 2.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    a + + +Phaser.Line + + + +

    The base line.

    b + + +Phaser.Line + + + +

    The line to be reflected from the base line.

    + + + + +
    Returns:
    +
    + + + +
    + +number + + - +
    + +
    +

    The reflected angle in radians.

    +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 515
    @@ -2741,7 +3075,7 @@ Adapted from code by Keith Hair

    Source - - geom/Line.js, line 184 + geom/Line.js, line 221
    @@ -2938,7 +3272,215 @@ The start and end points are rounded before this runs as the algorithm works on
    Source - - geom/Line.js, line 126 + geom/Line.js, line 163 +
    + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +

    fromAngle(x, y, angle, length) → {Phaser.Line}

    + + +
    +
    + + + +
    +

    Sets this line to start at the given x and y coordinates and for the segment to extend at angle for the given length.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x coordinate of the start of the line.

    y + + +number + + + +

    The y coordinate of the start of the line.

    angle + + +number + + + +

    The angle of the line in radians.

    length + + +number + + + +

    The length of the line in pixels.

    + + + + +
    Returns:
    +
    + + + +
    + +Phaser.Line + + - +
    + +
    +

    This line object

    +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 80
    @@ -3168,7 +3710,7 @@ Can optionally be calculated from their center coordinates.

    Source - - geom/Line.js, line 56 + geom/Line.js, line 57
    @@ -3401,7 +3943,7 @@ Returns the intersection segment of AB and EF as a Point, or null if there is no
    Source - - geom/Line.js, line 78 + geom/Line.js, line 99
    @@ -3563,7 +4105,7 @@ Returns the intersection segment of AB and EF as a Point, or null if there is no
    Source - - geom/Line.js, line 95 + geom/Line.js, line 130
    @@ -3725,7 +4267,147 @@ Returns the intersection segment of AB and EF as a Point, or null if there is no
    Source - - geom/Line.js, line 108 + geom/Line.js, line 144 +
    + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +

    reflect(line) → {number}

    + + +
    +
    + + + +
    +

    Returns the reflected angle between two lines. +This is the outgoing angle based on the angle of this line and the normalAngle of the given line.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    line + + +Phaser.Line + + + +

    The line to reflect off this line.

    + + + + +
    Returns:
    +
    + + + +
    + +number + + - +
    + +
    +

    The reflected angle in radians.

    +
    + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + geom/Line.js, line 116
    @@ -4050,7 +4732,7 @@ Returns the intersection segment of AB and EF as a Point, or null if there is no Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:38 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:03 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.LinkedList.html b/docs/Phaser.LinkedList.html index 8fcd3609f..e670a45b2 100644 --- a/docs/Phaser.LinkedList.html +++ b/docs/Phaser.LinkedList.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1819,7 +1819,7 @@ The function must exist on the member.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:38 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:03 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Loader.html b/docs/Phaser.Loader.html index 8e2911a1c..fe674a0c1 100644 --- a/docs/Phaser.Loader.html +++ b/docs/Phaser.Loader.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3529,7 +3529,7 @@ This property is an object containing: sprite, rect, direction, width and height -

    An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL.

    +

    An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL. BLOB urls are supported, but note that Phaser will not validate the audio file's type if a BLOB is provided; the user should ensure that a BLOB url is playable.

    @@ -4666,7 +4666,7 @@ Use Phaser.Cache to access loaded assets, e.g. Phaser.Cache#checkImageKey

    Source - - loader/Loader.js, line 1636 + loader/Loader.js, line 1642
    @@ -4785,7 +4785,7 @@ Use Phaser.Cache to access loaded assets, e.g. Phaser.Cache#checkImageKey

    Source - - loader/Loader.js, line 1661 + loader/Loader.js, line 1667
    @@ -4904,7 +4904,7 @@ Use Phaser.Cache to access loaded assets, e.g. Phaser.Cache#checkImageKey

    Source - - loader/Loader.js, line 1445 + loader/Loader.js, line 1451
    @@ -5023,7 +5023,7 @@ Use Phaser.Cache to access loaded assets, e.g. Phaser.Cache#checkImageKey

    Source - - loader/Loader.js, line 1426 + loader/Loader.js, line 1432
    @@ -5924,7 +5924,7 @@ Use Phaser.Cache to access loaded assets, e.g. Phaser.Cache#checkImageKey

    Source - - loader/Loader.js, line 1592 + loader/Loader.js, line 1598
    @@ -8521,7 +8521,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible
    Source - - loader/Loader.js, line 1792 + loader/Loader.js, line 1798
    @@ -8611,7 +8611,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible
    Source - - loader/Loader.js, line 1836 + loader/Loader.js, line 1842
    @@ -8701,7 +8701,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible
    Source - - loader/Loader.js, line 1814 + loader/Loader.js, line 1820
    @@ -8791,7 +8791,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible
    Source - - loader/Loader.js, line 1858 + loader/Loader.js, line 1864
    @@ -9139,7 +9139,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible
    Source - - loader/Loader.js, line 1680 + loader/Loader.js, line 1686
    @@ -9188,7 +9188,7 @@ This allows you to easily make loading bars for games. Note that Sprite.visible Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:39 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:03 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.LoaderParser.html b/docs/Phaser.LoaderParser.html index 6a205b5da..38dad298e 100644 --- a/docs/Phaser.LoaderParser.html +++ b/docs/Phaser.LoaderParser.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1351,7 +1351,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:39 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:03 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.MSPointer.html b/docs/Phaser.MSPointer.html index 33182c0b8..03dfd6061 100644 --- a/docs/Phaser.MSPointer.html +++ b/docs/Phaser.MSPointer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1791,7 +1791,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:40 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:04 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Math.html b/docs/Phaser.Math.html index dafc68412..3ae41b37a 100644 --- a/docs/Phaser.Math.html +++ b/docs/Phaser.Math.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4221,7 +4221,7 @@ Roughly the same as Math.max(x, a), except for NaN handling.

    -

    Returns the distance between the two given set of coordinates.

    +

    Returns the euclidian distance between the two given set of coordinates.

    @@ -13998,7 +13998,7 @@ you should get the results via getSinTable() and getCosTable(). This generator i Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:39 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:04 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Mouse.html b/docs/Phaser.Mouse.html index 9ceb6ef0a..37c670503 100644 --- a/docs/Phaser.Mouse.html +++ b/docs/Phaser.Mouse.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1128,7 +1128,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 163 + input/Mouse.js, line 164
    @@ -1180,7 +1180,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 169 + input/Mouse.js, line 170
    @@ -1232,7 +1232,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 157 + input/Mouse.js, line 158
    @@ -1284,7 +1284,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 175 + input/Mouse.js, line 176
    @@ -1336,7 +1336,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 187 + input/Mouse.js, line 188
    @@ -1388,7 +1388,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 181 + input/Mouse.js, line 182
    @@ -1492,7 +1492,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 68 + input/Mouse.js, line 69
    @@ -1604,7 +1604,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 62 + input/Mouse.js, line 63
    @@ -1663,7 +1663,7 @@ is used to capture the mouse being released when not over the game.

    Source - - input/Mouse.js, line 80 + input/Mouse.js, line 81
    @@ -1736,7 +1736,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 106 + input/Mouse.js, line 107
    @@ -1851,7 +1851,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 86 + input/Mouse.js, line 87
    @@ -1925,17 +1925,21 @@ Access this property only inside a Mouse event handler and do not keep reference
    -

    mouseMoveCallback :function

    +
    + This method is deprecated and should not be used. It may be removed in the future. +
    +
    -

    A callback that can be fired when the mouse is moved while pressed down.

    +

    A callback that can be fired when the mouse is moved.

    @@ -1952,6 +1956,13 @@ Access this property only inside a Mouse event handler and do not keep reference +
    Deprecated:
    +
      + + +
    • Will be removed soon. Please use `Input.addMoveCallback` instead.
    • +
    + @@ -1963,7 +1974,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 37 + input/Mouse.js, line 38
    @@ -2019,7 +2030,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 47 + input/Mouse.js, line 48
    @@ -2075,7 +2086,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 52 + input/Mouse.js, line 53
    @@ -2131,7 +2142,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 42 + input/Mouse.js, line 43
    @@ -2187,7 +2198,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 57 + input/Mouse.js, line 58
    @@ -2243,7 +2254,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 98 + input/Mouse.js, line 99
    @@ -2302,7 +2313,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 92 + input/Mouse.js, line 93
    @@ -2358,7 +2369,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 73 + input/Mouse.js, line 74
    @@ -2475,7 +2486,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 267 + input/Mouse.js, line 268
    @@ -2594,7 +2605,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 299 + input/Mouse.js, line 300
    @@ -2713,7 +2724,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 385 + input/Mouse.js, line 386
    @@ -2832,7 +2843,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 450 + input/Mouse.js, line 451
    @@ -2951,7 +2962,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 329 + input/Mouse.js, line 330
    @@ -3070,7 +3081,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 361 + input/Mouse.js, line 362
    @@ -3189,7 +3200,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 421 + input/Mouse.js, line 422
    @@ -3308,7 +3319,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 508 + input/Mouse.js, line 509
    @@ -3378,7 +3389,7 @@ Access this property only inside a Mouse event handler and do not keep reference
    Source - - input/Mouse.js, line 533 + input/Mouse.js, line 534
    @@ -3450,7 +3461,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer
    Source - - input/Mouse.js, line 479 + input/Mouse.js, line 480
    @@ -3520,7 +3531,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer
    Source - - input/Mouse.js, line 191 + input/Mouse.js, line 192
    @@ -3590,7 +3601,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer
    Source - - input/Mouse.js, line 549 + input/Mouse.js, line 550
    @@ -3639,7 +3650,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:40 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:04 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Net.html b/docs/Phaser.Net.html index 1881f3c0e..7aa30c3e3 100644 --- a/docs/Phaser.Net.html +++ b/docs/Phaser.Net.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1863,7 +1863,7 @@ Optionally you can redirect to the new url, or just return it as a string.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:40 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:05 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particle.html b/docs/Phaser.Particle.html index da96f0237..3996ddbaf 100644 --- a/docs/Phaser.Particle.html +++ b/docs/Phaser.Particle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4634,7 +4634,7 @@ To remove a mask, set this property to null.

    Source - - gameobjects/BitmapData.js, line 1765 + gameobjects/BitmapData.js, line 1792
    @@ -10726,7 +10726,7 @@ then you need to update the crop frame by calling this method.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:40 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:05 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particles.Arcade.Emitter.html b/docs/Phaser.Particles.Arcade.Emitter.html index 082bd7c65..445c03db8 100644 --- a/docs/Phaser.Particles.Arcade.Emitter.html +++ b/docs/Phaser.Particles.Arcade.Emitter.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1340,7 +1340,7 @@ All it really does is launch Particle objects out at set intervals, and fixes th
    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1460,7 +1460,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -1799,7 +1799,7 @@ and on-screen orientation and position.

    Source - - particles/arcade/Emitter.js, line 806 + particles/arcade/Emitter.js, line 818
    @@ -2745,7 +2745,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2764,7 +2764,7 @@ So if this group was in a Group that has x: 200, then this will be added to the

    frequency :boolean

    + id="frequency">frequency :number
    @@ -2987,7 +2987,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - particles/arcade/Emitter.js, line 719 + particles/arcade/Emitter.js, line 731
    @@ -3188,7 +3188,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - particles/arcade/Emitter.js, line 767 + particles/arcade/Emitter.js, line 779
    @@ -3249,7 +3249,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -4714,7 +4714,7 @@ To remove a mask, set this property to null.

    Source - - particles/arcade/Emitter.js, line 780 + particles/arcade/Emitter.js, line 792
    @@ -4777,7 +4777,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -5011,7 +5011,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - particles/arcade/Emitter.js, line 793 + particles/arcade/Emitter.js, line 805
    @@ -5072,7 +5072,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -5321,7 +5321,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -5377,7 +5377,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - particles/arcade/Emitter.js, line 703 + particles/arcade/Emitter.js, line 715
    @@ -5555,7 +5555,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - particles/arcade/Emitter.js, line 735 + particles/arcade/Emitter.js, line 747
    @@ -5611,7 +5611,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - particles/arcade/Emitter.js, line 751 + particles/arcade/Emitter.js, line 763
    @@ -6066,7 +6066,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -6971,7 +6971,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -7106,7 +7106,7 @@ If the object doesn't have a center property it will be set to object.x + object
    Source - - particles/arcade/Emitter.js, line 681 + particles/arcade/Emitter.js, line 693
    @@ -7468,7 +7468,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -7667,7 +7667,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -7844,7 +7844,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -8137,7 +8137,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -8406,7 +8406,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -8501,7 +8501,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -8596,7 +8596,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -9344,7 +9344,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -9498,7 +9498,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -9682,7 +9682,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -9876,7 +9876,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -9903,7 +9903,7 @@ It should return -1 if a > b, 1 if a < b or 0 if

    emitParticle()

    + id="emitParticle">emitParticle() → {boolean}
    @@ -9923,6 +9923,26 @@ It should return -1 if a > b, 1 if a < b or 0 if +
    Returns:
    +
    + + + +
    + +boolean + + - +
    + +
    +

    True if a particle was emitted, otherwise false.

    +
    + + + +
    +
    @@ -9946,7 +9966,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - particles/arcade/Emitter.js, line 444 + particles/arcade/Emitter.js, line 453
    @@ -10124,7 +10144,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - particles/arcade/Emitter.js, line 375 + particles/arcade/Emitter.js, line 379
    @@ -10329,7 +10349,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -10546,7 +10566,7 @@ healthyList.callAll('attack');
    Source - - particles/arcade/Emitter.js, line 388 + particles/arcade/Emitter.js, line 392
    @@ -10805,7 +10825,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -11022,7 +11042,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -11239,7 +11259,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -11456,7 +11476,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -11890,7 +11910,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -12369,7 +12389,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -12465,7 +12485,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -12629,7 +12649,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -13071,7 +13091,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -13167,7 +13187,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -13335,7 +13355,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -13694,7 +13714,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -13764,7 +13784,7 @@ element and the entire array will be applied to the callback function.

    Source - - particles/arcade/Emitter.js, line 350 + particles/arcade/Emitter.js, line 354
    @@ -13949,7 +13969,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    -

    The number of particles to generate. If not given it will use the value of Emitter.maxParticles.

    +

    The number of particles to generate. If not given it will use the value of Emitter.maxParticles. If the value is greater than Emitter.maxParticles it will use Emitter.maxParticles as the quantity.

    @@ -14080,7 +14100,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - particles/arcade/Emitter.js, line 283 + particles/arcade/Emitter.js, line 282
    @@ -14562,7 +14582,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -14740,7 +14760,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -14822,7 +14842,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -15158,7 +15178,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -15341,7 +15361,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -15596,7 +15616,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -16584,7 +16604,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - particles/arcade/Emitter.js, line 363 + particles/arcade/Emitter.js, line 367
    @@ -17115,7 +17135,7 @@ The particles are stored internally waiting to be emitted via Emitter.start.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -17449,7 +17469,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -17783,7 +17803,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -18080,7 +18100,7 @@ If rate is zero, which is the default, the particle won't change alpha - instead
    Source - - particles/arcade/Emitter.js, line 594 + particles/arcade/Emitter.js, line 606
    @@ -18541,7 +18561,7 @@ If rate is zero, which is the default, the particle won't change alpha - instead
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -18719,7 +18739,7 @@ If rate is zero, which is the default, the particle won't change alpha - instead
    Source - - particles/arcade/Emitter.js, line 577 + particles/arcade/Emitter.js, line 589
    @@ -19094,7 +19114,7 @@ If rate is zero, which is the default, the particle won't change scale during up
    Source - - particles/arcade/Emitter.js, line 633 + particles/arcade/Emitter.js, line 645
    @@ -19236,7 +19256,7 @@ If rate is zero, which is the default, the particle won't change scale during up
    Source - - particles/arcade/Emitter.js, line 531 + particles/arcade/Emitter.js, line 543
    @@ -19538,7 +19558,7 @@ If rate is zero, which is the default, the particle won't change scale during up
    Source - - particles/arcade/Emitter.js, line 545 + particles/arcade/Emitter.js, line 557
    @@ -19716,7 +19736,7 @@ If rate is zero, which is the default, the particle won't change scale during up
    Source - - particles/arcade/Emitter.js, line 561 + particles/arcade/Emitter.js, line 573
    @@ -19901,7 +19921,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -20124,7 +20144,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou -

    How many particles to launch. 0 = "all of the particles".

    +

    How many particles to launch. 0 = "all of the particles" which will keep emitting until Emitter.maxParticles is reached.

    @@ -20163,7 +20183,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou -

    If true and creating a particle flow, the quantity emitted will be forced to the be quantity given in this call.

    +

    If true and creating a particle flow, the quantity emitted will be forced to the be quantity given in this call. This can never exceed Emitter.maxParticles.

    @@ -20196,7 +20216,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - particles/arcade/Emitter.js, line 402 + particles/arcade/Emitter.js, line 406
    @@ -20390,7 +20410,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -21463,7 +21483,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:41 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:06 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particles.Arcade.html b/docs/Phaser.Particles.Arcade.html index 7bb3e70d4..2494f646a 100644 --- a/docs/Phaser.Particles.Arcade.html +++ b/docs/Phaser.Particles.Arcade.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1078,7 +1078,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:41 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:06 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particles.html b/docs/Phaser.Particles.html index df86c89e1..e0aed8435 100644 --- a/docs/Phaser.Particles.html +++ b/docs/Phaser.Particles.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1641,7 +1641,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:41 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:05 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Arcade.Body.html b/docs/Phaser.Physics.Arcade.Body.html index fe320121b..2de316619 100644 --- a/docs/Phaser.Physics.Arcade.Body.html +++ b/docs/Phaser.Physics.Arcade.Body.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6257,7 +6257,7 @@ is the position of the Body relative to the top-left of the Sprite.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:42 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:07 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Arcade.html b/docs/Phaser.Physics.Arcade.html index 0f06b4483..cd6fc5cfd 100644 --- a/docs/Phaser.Physics.Arcade.html +++ b/docs/Phaser.Physics.Arcade.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3742,7 +3742,7 @@ NOTE: This function is not recursive, and will not test against children of obje
    -

    True if a collision occured otherwise false.

    +

    True if a collision occurred otherwise false.

    @@ -7715,7 +7715,7 @@ One way to use this is: velocityFromRotation(rotation, 200, sprite.velocity) whi Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:42 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:07 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Ninja.AABB.html b/docs/Phaser.Physics.Ninja.AABB.html index b3ef88962..14e3d437b 100644 --- a/docs/Phaser.Physics.Ninja.AABB.html +++ b/docs/Phaser.Physics.Ninja.AABB.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5031,7 +5031,7 @@ Note: This class could be massively optimised and reduced in size. I leave that Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:43 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:08 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Ninja.Body.html b/docs/Phaser.Physics.Ninja.Body.html index 27cba9c9c..36db6d1c4 100644 --- a/docs/Phaser.Physics.Ninja.Body.html +++ b/docs/Phaser.Physics.Ninja.Body.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4006,7 +4006,7 @@ touching.up = true means the collision happened to the top of this Body for exam Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:43 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:08 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Ninja.Circle.html b/docs/Phaser.Physics.Ninja.Circle.html index 854631d29..49c1ff4fc 100644 --- a/docs/Phaser.Physics.Ninja.Circle.html +++ b/docs/Phaser.Physics.Ninja.Circle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5214,7 +5214,7 @@ Note: This class could be massively optimised and reduced in size. I leave that Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:44 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:08 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Ninja.Tile.html b/docs/Phaser.Physics.Ninja.Tile.html index 31f519eb9..66fb7877a 100644 --- a/docs/Phaser.Physics.Ninja.Tile.html +++ b/docs/Phaser.Physics.Ninja.Tile.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2866,7 +2866,7 @@ Also note that as Tiles are primarily used for levels they have gravity disabled Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:44 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:09 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Ninja.html b/docs/Phaser.Physics.Ninja.html index f53466e5d..c4beb4720 100644 --- a/docs/Phaser.Physics.Ninja.html +++ b/docs/Phaser.Physics.Ninja.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4073,7 +4073,7 @@ The second parameter can be an array of objects, of differing types.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:43 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:07 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.Body.html b/docs/Phaser.Physics.P2.Body.html index b3366806e..19972c436 100644 --- a/docs/Phaser.Physics.P2.Body.html +++ b/docs/Phaser.Physics.P2.Body.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -11144,7 +11144,7 @@ The speed is represented in pixels per second. So a value of 100 would move 100 Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:45 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:09 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.BodyDebug.html b/docs/Phaser.Physics.P2.BodyDebug.html index 8719b176a..e3948d1fc 100644 --- a/docs/Phaser.Physics.P2.BodyDebug.html +++ b/docs/Phaser.Physics.P2.BodyDebug.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1253,7 +1253,7 @@ So use sparingly and rarely (if ever) in production code.

    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1317,7 +1317,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -2203,7 +2203,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2538,7 +2538,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -3148,7 +3148,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -3331,7 +3331,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -3585,7 +3585,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -3831,7 +3831,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2022 + core/Group.js, line 2021
    @@ -3894,7 +3894,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2024 + core/Group.js, line 2023
    @@ -4349,7 +4349,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -5254,7 +5254,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -5616,7 +5616,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -5815,7 +5815,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -5992,7 +5992,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -6285,7 +6285,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -6554,7 +6554,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -6719,7 +6719,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -6814,7 +6814,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -7562,7 +7562,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -7716,7 +7716,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -7900,7 +7900,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -8094,7 +8094,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -8789,7 +8789,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -9048,7 +9048,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -9265,7 +9265,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -9482,7 +9482,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -9699,7 +9699,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -10133,7 +10133,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -10612,7 +10612,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -10708,7 +10708,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -10872,7 +10872,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -11314,7 +11314,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -11410,7 +11410,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -11578,7 +11578,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -11937,7 +11937,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -12419,7 +12419,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -12597,7 +12597,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -12679,7 +12679,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -13085,7 +13085,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -13268,7 +13268,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -13523,7 +13523,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -15042,7 +15042,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -15376,7 +15376,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -15710,7 +15710,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -16171,7 +16171,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -16480,7 +16480,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -16674,7 +16674,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -17382,7 +17382,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1241 + core/Group.js, line 1240
    @@ -17829,7 +17829,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:45 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:10 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.CollisionGroup.html b/docs/Phaser.Physics.P2.CollisionGroup.html index d2b1a7e23..5e5c407ef 100644 --- a/docs/Phaser.Physics.P2.CollisionGroup.html +++ b/docs/Phaser.Physics.P2.CollisionGroup.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1173,7 +1173,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:46 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:10 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.ContactMaterial.html b/docs/Phaser.Physics.P2.ContactMaterial.html index f1817746d..dfe672f15 100644 --- a/docs/Phaser.Physics.P2.ContactMaterial.html +++ b/docs/Phaser.Physics.P2.ContactMaterial.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1187,7 +1187,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:46 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:10 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.DistanceConstraint.html b/docs/Phaser.Physics.P2.DistanceConstraint.html index b75737332..d4d2806d4 100644 --- a/docs/Phaser.Physics.P2.DistanceConstraint.html +++ b/docs/Phaser.Physics.P2.DistanceConstraint.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1463,7 +1463,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:46 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:11 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.FixtureList.html b/docs/Phaser.Physics.P2.FixtureList.html index 4d2669476..0424f0b7d 100644 --- a/docs/Phaser.Physics.P2.FixtureList.html +++ b/docs/Phaser.Physics.P2.FixtureList.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2286,7 +2286,7 @@ during runtime (to remove parts, set masks, categories & sensor properties)< Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:46 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:11 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.GearConstraint.html b/docs/Phaser.Physics.P2.GearConstraint.html index 9c5413bfc..db7f68bc5 100644 --- a/docs/Phaser.Physics.P2.GearConstraint.html +++ b/docs/Phaser.Physics.P2.GearConstraint.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1393,7 +1393,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:47 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:11 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.InversePointProxy.html b/docs/Phaser.Physics.P2.InversePointProxy.html index 199f960d5..0b2cf16de 100644 --- a/docs/Phaser.Physics.P2.InversePointProxy.html +++ b/docs/Phaser.Physics.P2.InversePointProxy.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1364,7 +1364,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:47 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:12 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.LockConstraint.html b/docs/Phaser.Physics.P2.LockConstraint.html index f932980bc..c7968c07f 100644 --- a/docs/Phaser.Physics.P2.LockConstraint.html +++ b/docs/Phaser.Physics.P2.LockConstraint.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1428,7 +1428,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:47 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:12 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.Material.html b/docs/Phaser.Physics.P2.Material.html index 58e30af8f..20ebd3646 100644 --- a/docs/Phaser.Physics.P2.Material.html +++ b/docs/Phaser.Physics.P2.Material.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1177,7 +1177,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:47 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:12 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.PointProxy.html b/docs/Phaser.Physics.P2.PointProxy.html index 9fd8daf24..b212afc01 100644 --- a/docs/Phaser.Physics.P2.PointProxy.html +++ b/docs/Phaser.Physics.P2.PointProxy.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1364,7 +1364,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:47 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:13 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.PrismaticConstraint.html b/docs/Phaser.Physics.P2.PrismaticConstraint.html index cfda08673..ca4c702c0 100644 --- a/docs/Phaser.Physics.P2.PrismaticConstraint.html +++ b/docs/Phaser.Physics.P2.PrismaticConstraint.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1502,7 +1502,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:48 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:13 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.RevoluteConstraint.html b/docs/Phaser.Physics.P2.RevoluteConstraint.html index 27d1ed5d7..4e8b46c48 100644 --- a/docs/Phaser.Physics.P2.RevoluteConstraint.html +++ b/docs/Phaser.Physics.P2.RevoluteConstraint.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1464,7 +1464,7 @@ The pivot points are given in world (pixel) coordinates.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:48 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:13 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.RotationalSpring.html b/docs/Phaser.Physics.P2.RotationalSpring.html index e59dda62a..d683cee64 100644 --- a/docs/Phaser.Physics.P2.RotationalSpring.html +++ b/docs/Phaser.Physics.P2.RotationalSpring.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1486,7 +1486,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:48 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:13 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.Spring.html b/docs/Phaser.Physics.P2.Spring.html index f273eb641..eb2551f30 100644 --- a/docs/Phaser.Physics.P2.Spring.html +++ b/docs/Phaser.Physics.P2.Spring.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1636,7 +1636,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:48 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:14 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.P2.html b/docs/Phaser.Physics.P2.html index 3d467ccb2..bd6fd5bb7 100644 --- a/docs/Phaser.Physics.P2.html +++ b/docs/Phaser.Physics.P2.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1300,7 +1300,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1826 + physics/p2/World.js, line 1838
    @@ -1356,7 +1356,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1846 + physics/p2/World.js, line 1858
    @@ -1412,7 +1412,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1806 + physics/p2/World.js, line 1818
    @@ -1468,7 +1468,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 174 + physics/p2/World.js, line 186
    @@ -1524,7 +1524,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 164 + physics/p2/World.js, line 176
    @@ -1580,7 +1580,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 126 + physics/p2/World.js, line 138
    @@ -1636,7 +1636,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 154 + physics/p2/World.js, line 166
    @@ -1699,7 +1699,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 36 + physics/p2/World.js, line 48
    @@ -1755,7 +1755,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1786 + physics/p2/World.js, line 1798
    @@ -1811,7 +1811,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1901 + physics/p2/World.js, line 1913
    @@ -1867,7 +1867,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 169 + physics/p2/World.js, line 181
    @@ -1923,7 +1923,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 48 + physics/p2/World.js, line 60
    @@ -1979,7 +1979,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1746 + physics/p2/World.js, line 1758
    @@ -2091,7 +2091,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 71 + physics/p2/World.js, line 83
    @@ -2164,7 +2164,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 66 + physics/p2/World.js, line 78
    @@ -2220,7 +2220,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 159 + physics/p2/World.js, line 171
    @@ -2276,7 +2276,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 131 + physics/p2/World.js, line 143
    @@ -2332,7 +2332,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 81 + physics/p2/World.js, line 93
    @@ -2388,7 +2388,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 86 + physics/p2/World.js, line 98
    @@ -2444,7 +2444,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 101 + physics/p2/World.js, line 113
    @@ -2500,7 +2500,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 106 + physics/p2/World.js, line 118
    @@ -2556,7 +2556,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 111 + physics/p2/World.js, line 123
    @@ -2612,7 +2612,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 116 + physics/p2/World.js, line 128
    @@ -2668,7 +2668,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 136 + physics/p2/World.js, line 148
    @@ -2724,7 +2724,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 91 + physics/p2/World.js, line 103
    @@ -2780,7 +2780,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 96 + physics/p2/World.js, line 108
    @@ -2839,7 +2839,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 60 + physics/p2/World.js, line 72
    @@ -2895,7 +2895,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 121 + physics/p2/World.js, line 133
    @@ -2951,7 +2951,7 @@ From here you can create materials, listen for events and add bodies into the ph
    Source - - physics/p2/World.js, line 1766 + physics/p2/World.js, line 1778
    @@ -3008,7 +3008,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1921 + physics/p2/World.js, line 1933
    @@ -3064,7 +3064,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1866 + physics/p2/World.js, line 1878
    @@ -3120,7 +3120,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1886 + physics/p2/World.js, line 1898
    @@ -3176,7 +3176,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1943 + physics/p2/World.js, line 1955
    @@ -3235,7 +3235,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 54 + physics/p2/World.js, line 66
    @@ -3291,7 +3291,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 76 + physics/p2/World.js, line 88
    @@ -3354,7 +3354,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 42 + physics/p2/World.js, line 54
    @@ -3491,7 +3491,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 796 + physics/p2/World.js, line 808
    @@ -3630,7 +3630,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1028 + physics/p2/World.js, line 1040
    @@ -3769,7 +3769,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1062 + physics/p2/World.js, line 1074
    @@ -3914,7 +3914,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 840 + physics/p2/World.js, line 852
    @@ -4033,7 +4033,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 412 + physics/p2/World.js, line 424
    @@ -4112,7 +4112,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 712 + physics/p2/World.js, line 724
    @@ -4280,7 +4280,7 @@ If sleeping is enabled, you might need to wake up the bodies if they fall asleep
    Source - - physics/p2/World.js, line 1573 + physics/p2/World.js, line 1585
    @@ -4518,7 +4518,7 @@ Note that the polylines must be created in such a way that they can withstand po
    Source - - physics/p2/World.js, line 1532 + physics/p2/World.js, line 1544
    @@ -4797,7 +4797,7 @@ Therefore understand it's a very expensive operation and not to be done in a cor
    Source - - physics/p2/World.js, line 1595 + physics/p2/World.js, line 1607
    @@ -5286,7 +5286,7 @@ Therefore understand it's a very expensive operation and not to be done in a cor
    Source - - physics/p2/World.js, line 1449 + physics/p2/World.js, line 1461
    @@ -5421,7 +5421,7 @@ Collision Groups are handled using bitmasks, therefore you have a fixed limit yo
    Source - - physics/p2/World.js, line 1318 + physics/p2/World.js, line 1330
    @@ -5638,7 +5638,7 @@ Collision Groups are handled using bitmasks, therefore you have a fixed limit yo
    Source - - physics/p2/World.js, line 1155 + physics/p2/World.js, line 1167
    @@ -5960,7 +5960,7 @@ Collision Groups are handled using bitmasks, therefore you have a fixed limit yo
    Source - - physics/p2/World.js, line 888 + physics/p2/World.js, line 900
    @@ -6240,7 +6240,7 @@ Collision Groups are handled using bitmasks, therefore you have a fixed limit yo
    Source - - physics/p2/World.js, line 916 + physics/p2/World.js, line 928
    @@ -6555,7 +6555,7 @@ Collision Groups are handled using bitmasks, therefore you have a fixed limit yo
    Source - - physics/p2/World.js, line 971 + physics/p2/World.js, line 983
    @@ -6741,7 +6741,7 @@ Contact Materials have properties such as friction and restitution that allow fo
    Source - - physics/p2/World.js, line 1128 + physics/p2/World.js, line 1140
    @@ -7210,7 +7210,7 @@ Contact Materials have properties such as friction and restitution that allow fo
    Source - - physics/p2/World.js, line 1491 + physics/p2/World.js, line 1503
    @@ -7600,7 +7600,7 @@ See http://www.iforce2
    Source - - physics/p2/World.js, line 998 + physics/p2/World.js, line 1010
    @@ -7951,7 +7951,7 @@ The pivot points are given in world (pixel) coordinates.

    Source - - physics/p2/World.js, line 942 + physics/p2/World.js, line 954
    @@ -8268,7 +8268,7 @@ The pivot points are given in world (pixel) coordinates.

    Source - - physics/p2/World.js, line 1422 + physics/p2/World.js, line 1434
    @@ -8735,7 +8735,7 @@ The pivot points are given in world (pixel) coordinates.

    Source - - physics/p2/World.js, line 1391 + physics/p2/World.js, line 1403
    @@ -8805,7 +8805,7 @@ The pivot points are given in world (pixel) coordinates.

    Source - - physics/p2/World.js, line 783 + physics/p2/World.js, line 795
    @@ -9026,7 +9026,7 @@ Note: When the game object is enabled for P2 physics it has its anchor x/y set t
    Source - - physics/p2/World.js, line 225 + physics/p2/World.js, line 237
    @@ -9169,7 +9169,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 284 + physics/p2/World.js, line 296
    @@ -9288,7 +9288,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 434 + physics/p2/World.js, line 446
    @@ -9378,7 +9378,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1175 + physics/p2/World.js, line 1187
    @@ -9517,7 +9517,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1195 + physics/p2/World.js, line 1207
    @@ -9607,7 +9607,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1244 + physics/p2/World.js, line 1256
    @@ -9772,7 +9772,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1096 + physics/p2/World.js, line 1108
    @@ -9862,7 +9862,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1224 + physics/p2/World.js, line 1236
    @@ -10133,7 +10133,7 @@ A game object can only have 1 physics body active at any one time, and it can't
    Source - - physics/p2/World.js, line 1264 + physics/p2/World.js, line 1276
    @@ -10274,7 +10274,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1684 + physics/p2/World.js, line 1696
    @@ -10415,7 +10415,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1714 + physics/p2/World.js, line 1726
    @@ -10485,7 +10485,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 645 + physics/p2/World.js, line 657
    @@ -10555,7 +10555,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 207 + physics/p2/World.js, line 219
    @@ -10696,7 +10696,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1699 + physics/p2/World.js, line 1711
    @@ -10837,7 +10837,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1729 + physics/p2/World.js, line 1741
    @@ -10976,7 +10976,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 820 + physics/p2/World.js, line 832
    @@ -11095,7 +11095,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 195 + physics/p2/World.js, line 207
    @@ -11234,7 +11234,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1045 + physics/p2/World.js, line 1057
    @@ -11373,7 +11373,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 1079 + physics/p2/World.js, line 1091
    @@ -11512,7 +11512,7 @@ If you need to modify this you can over-ride these functions via the Physics Con
    Source - - physics/p2/World.js, line 864 + physics/p2/World.js, line 876
    @@ -11583,7 +11583,7 @@ Starts the begin and end Contact listeners again.

    Source - - physics/p2/World.js, line 691 + physics/p2/World.js, line 703
    @@ -11653,7 +11653,7 @@ Starts the begin and end Contact listeners again.

    Source - - physics/p2/World.js, line 656 + physics/p2/World.js, line 668
    @@ -12089,7 +12089,7 @@ You can optionally set which 'walls' to create: left, right, top or bottom.

    Source - - physics/p2/World.js, line 548 + physics/p2/World.js, line 560
    @@ -12209,7 +12209,7 @@ In a busy world hundreds of impact events can be generated every step, so only e
    Source - - physics/p2/World.js, line 303 + physics/p2/World.js, line 315
    @@ -12351,7 +12351,7 @@ In a busy world hundreds of impact events can be generated every step, so only e
    Source - - physics/p2/World.js, line 1110 + physics/p2/World.js, line 1122
    @@ -12496,7 +12496,7 @@ Returning true from the callback will ensure they are checked in th
    Source - - physics/p2/World.js, line 323 + physics/p2/World.js, line 335
    @@ -12586,7 +12586,7 @@ Returning true from the callback will ensure they are checked in th
    Source - - physics/p2/World.js, line 1306 + physics/p2/World.js, line 1318
    @@ -12656,7 +12656,7 @@ Returning true from the callback will ensure they are checked in th
    Source - - physics/p2/World.js, line 667 + physics/p2/World.js, line 679
    @@ -12797,7 +12797,7 @@ To fix this you need to adjust the bounds to use its own collision group first B
    Source - - physics/p2/World.js, line 512 + physics/p2/World.js, line 524
    @@ -12846,7 +12846,7 @@ To fix this you need to adjust the bounds to use its own collision group first B Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:44 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:09 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.html b/docs/Phaser.Physics.html index 944960662..54d2d5289 100644 --- a/docs/Phaser.Physics.html +++ b/docs/Phaser.Physics.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2628,7 +2628,7 @@ You can optionally set which 'walls' to create: left, right, top or bottom.

    Source - - physics/p2/World.js, line 456 + physics/p2/World.js, line 468
    @@ -2996,7 +2996,7 @@ You can optionally set which 'walls' to create: left, right, top or bottom.

    Source - - physics/p2/World.js, line 473 + physics/p2/World.js, line 485
    @@ -3251,7 +3251,7 @@ then set Phaser.Physics.p2 (or whichever system you want to recreate) to n Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:42 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:06 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Plugin.html b/docs/Phaser.Plugin.html index 75c2a4dce..9dddb4a3c 100644 --- a/docs/Phaser.Plugin.html +++ b/docs/Phaser.Plugin.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2023,7 +2023,7 @@ It is only called if active is set to true.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:49 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:14 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.PluginManager.html b/docs/Phaser.PluginManager.html index 58eaaa7b1..ad51f4ada 100644 --- a/docs/Phaser.PluginManager.html +++ b/docs/Phaser.PluginManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2044,7 +2044,7 @@ It only calls plugins who have active=true.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:49 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:14 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Point.html b/docs/Phaser.Point.html index 6ba41fa00..8292036a6 100644 --- a/docs/Phaser.Point.html +++ b/docs/Phaser.Point.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1459,7 +1459,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 498 + geom/Point.js, line 485
    @@ -1621,169 +1621,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 592 -
    - - - - - - - -
    - - - - - - - - - - - -
    - - - -
    -

    <static> angleSq(a, b) → {number}

    - - -
    -
    - - - -
    -

    Returns the angle squared between two Point objects.

    -
    - - - - - - - -
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    a - - -Phaser.Point - - - -

    The first Point object.

    b - - -Phaser.Point - - - -

    The second Point object.

    - - - - -
    Returns:
    -
    - - - -
    - -number - - - -
    - -
    -

    The angle squared between the two Points.

    -
    - - - -
    - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source - - geom/Point.js, line 607 + geom/Point.js, line 579
    @@ -1965,7 +1803,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 842 + geom/Point.js, line 815
    @@ -2001,7 +1839,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    -

    Returns the distance of this Point object to the given object (can be a Circle, Point or anything with x/y properties).

    +

    Returns the euclidian distance of this Point object to the given object (can be a Circle, Point or anything with x/y properties).

    @@ -2194,7 +2032,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 705 + geom/Point.js, line 678
    @@ -2407,7 +2245,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 558 + geom/Point.js, line 545
    @@ -2569,7 +2407,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 578 + geom/Point.js, line 565
    @@ -2813,7 +2651,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 655 + geom/Point.js, line 628
    @@ -3026,7 +2864,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 538 + geom/Point.js, line 525
    @@ -3270,7 +3108,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 637 + geom/Point.js, line 610
    @@ -3452,7 +3290,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 621 + geom/Point.js, line 594
    @@ -3634,7 +3472,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 785 + geom/Point.js, line 758
    @@ -3816,7 +3654,7 @@ You can also use them as 2D Vectors and you'll find different vector related met
    Source - - geom/Point.js, line 769 + geom/Point.js, line 742
    @@ -4050,7 +3888,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 883 + geom/Point.js, line 856
    @@ -4232,7 +4070,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 673 + geom/Point.js, line 646
    @@ -4445,7 +4283,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 721 + geom/Point.js, line 694
    @@ -4658,7 +4496,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 745 + geom/Point.js, line 718
    @@ -4994,7 +4832,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 808 + geom/Point.js, line 781
    @@ -5176,7 +5014,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 689 + geom/Point.js, line 662
    @@ -5389,7 +5227,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 518 + geom/Point.js, line 505
    @@ -5769,148 +5607,6 @@ If the object doesn't contain those properties a Point with x/y of zero will be -
    - - - -
    -

    angleSq(a) → {number}

    - - -
    -
    - - - -
    -

    Returns the angle squared between this Point object and another object with public x and y properties.

    -
    - - - - - - - -
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    a - - -Phaser.Point -| - -any - - - -

    The object to get the angleSq from this Point to.

    - - - - -
    Returns:
    -
    - - - -
    - -number - - - -
    - -
    -

    The angleSq between the two objects.

    -
    - - - -
    - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source - - geom/Point.js, line 298 -
    - - - - - - - -
    - - - - - - - - - - -
    @@ -5980,7 +5676,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 470 + geom/Point.js, line 457
    @@ -7034,7 +6730,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 409 + geom/Point.js, line 396
    @@ -7517,7 +7213,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 396 + geom/Point.js, line 383
    @@ -7749,7 +7445,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 458 + geom/Point.js, line 445
    @@ -7839,7 +7535,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 328 + geom/Point.js, line 315
    @@ -7929,7 +7625,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 340 + geom/Point.js, line 327
    @@ -8109,7 +7805,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 384 + geom/Point.js, line 371
    @@ -8361,7 +8057,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 365 + geom/Point.js, line 352
    @@ -8451,7 +8147,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 446 + geom/Point.js, line 433
    @@ -8541,7 +8237,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 422 + geom/Point.js, line 409
    @@ -8816,7 +8512,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 311 + geom/Point.js, line 298
    @@ -8906,7 +8602,7 @@ If the object doesn't contain those properties a Point with x/y of zero will be
    Source - - geom/Point.js, line 434 + geom/Point.js, line 421
    @@ -9229,7 +8925,7 @@ If you omit the y value then the x value will be appli
    Source - - geom/Point.js, line 352 + geom/Point.js, line 339
    @@ -9665,7 +9361,7 @@ If you omit the y value then the x value will be appli
    Source - - geom/Point.js, line 482 + geom/Point.js, line 469
    @@ -9714,7 +9410,7 @@ If you omit the y value then the x value will be appli Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:49 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:15 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Pointer.html b/docs/Phaser.Pointer.html index 99d0af55d..d3dde0cfd 100644 --- a/docs/Phaser.Pointer.html +++ b/docs/Phaser.Pointer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4924,7 +4924,7 @@ If you wish to check if the Pointer was released just once then see the Sprite.e Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:49 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:15 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Polygon.html b/docs/Phaser.Polygon.html index 9b7c80cdb..fa83a8f2d 100644 --- a/docs/Phaser.Polygon.html +++ b/docs/Phaser.Polygon.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1865,7 +1865,7 @@ This is a deep clone, the resulting copy contains new Phaser.Point objects

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:50 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:15 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.QuadTree.html b/docs/Phaser.QuadTree.html index b11d16782..f96a2086d 100644 --- a/docs/Phaser.QuadTree.html +++ b/docs/Phaser.QuadTree.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2849,7 +2849,7 @@ Original version at https Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:50 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:16 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RandomDataGenerator.html b/docs/Phaser.RandomDataGenerator.html index bcf50b6e4..66539d8e5 100644 --- a/docs/Phaser.RandomDataGenerator.html +++ b/docs/Phaser.RandomDataGenerator.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -967,9 +967,12 @@
    -

    An extremely useful repeatable random data generator. -Based on Nonsense by Josh Faul https://github.com/jocafa/Nonsense. -Random number generator from http://baagoe.org/en/wiki/Better_random_numbers_for_javascript

    +

    An extremely useful repeatable random data generator.

    +

    Based on Nonsense by Josh Faul https://github.com/jocafa/Nonsense.

    +

    The random number genererator is based on the Alea PRNG, but is modified. + - https://github.com/coverslide/node-alea + - https://github.com/nquinlan/better-random-numbers-for-javascript-mirror + - http://baagoe.org/en/wiki/Better_random_numbers_for_javascript (original, perm. 404)

    @@ -1064,7 +1067,7 @@ Random number generator from Source - - math/RandomDataGenerator.js, line 18 + math/RandomDataGenerator.js, line 23 @@ -1172,7 +1175,7 @@ Random number generator from Source - - math/RandomDataGenerator.js, line 279 + math/RandomDataGenerator.js, line 291 @@ -1335,7 +1338,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 179 + math/RandomDataGenerator.js, line 191
    @@ -1425,7 +1428,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 141 + math/RandomDataGenerator.js, line 153
    @@ -1515,7 +1518,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 129 + math/RandomDataGenerator.js, line 141
    @@ -1677,7 +1680,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 165 + math/RandomDataGenerator.js, line 177
    @@ -1767,7 +1770,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 208 + math/RandomDataGenerator.js, line 220
    @@ -1906,7 +1909,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 239 + math/RandomDataGenerator.js, line 251
    @@ -1996,7 +1999,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 153 + math/RandomDataGenerator.js, line 165
    @@ -2158,7 +2161,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 194 + math/RandomDataGenerator.js, line 206
    @@ -2195,6 +2198,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Reset the seed of the random data generator.

    +

    Note: the seed array is only processed up to the first undefined (or null) value, should such be present.

    @@ -2244,7 +2248,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    - +

    The array of seeds: the toString() of each value is used.

    @@ -2277,7 +2281,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 71 + math/RandomDataGenerator.js, line 76
    @@ -2439,7 +2443,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 265 + math/RandomDataGenerator.js, line 277
    @@ -2529,7 +2533,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 220 + math/RandomDataGenerator.js, line 232
    @@ -2668,7 +2672,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Source - - math/RandomDataGenerator.js, line 252 + math/RandomDataGenerator.js, line 264
    @@ -2717,7 +2721,7 @@ This method is an alias for RandomDataGenerator.integerInRange.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:50 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:16 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Rectangle.html b/docs/Phaser.Rectangle.html index ee1311789..946dd4587 100644 --- a/docs/Phaser.Rectangle.html +++ b/docs/Phaser.Rectangle.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6642,7 +6642,7 @@ This method compares the x, y, width and height properties of each Rectangle.

    intersects(b, tolerance) → {boolean}

    + id="intersects">intersects(b) → {boolean} @@ -6651,8 +6651,8 @@ This method compares the x, y, width and height properties of each Rectangle.

    -

    Determines whether the two Rectangles intersect with each other. -This method checks the x, y, width, and height properties of the Rectangles.

    +

    Determines whether this Rectangle and another given Rectangle intersect with each other. +This method checks the x, y, width, and height properties of the two Rectangles.

    @@ -6706,29 +6706,6 @@ This method checks the x, y, width, and height properties of the Rectangles.

    - - - - tolerance - - - - - -number - - - - - - - - - -

    A tolerance value to allow for an intersection test with padding, default to 0.

    - - - @@ -8172,7 +8149,7 @@ This method checks the x, y, width, and height properties of the Rectangles.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:51 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:16 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RenderTexture.html b/docs/Phaser.RenderTexture.html index 1c9e776a0..277aa0899 100644 --- a/docs/Phaser.RenderTexture.html +++ b/docs/Phaser.RenderTexture.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3434,7 +3434,7 @@ irrespective of the actual frame size or placement (which can be influenced by t Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:51 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:17 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RequestAnimationFrame.html b/docs/Phaser.RequestAnimationFrame.html index 55f79e98c..3eedc648a 100644 --- a/docs/Phaser.RequestAnimationFrame.html +++ b/docs/Phaser.RequestAnimationFrame.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1807,7 +1807,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:51 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:17 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RetroFont.html b/docs/Phaser.RetroFont.html index 1f0f3f1a5..9cfa3bfa5 100644 --- a/docs/Phaser.RetroFont.html +++ b/docs/Phaser.RetroFont.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -6455,7 +6455,7 @@ So if the current offsetY is 8 and you want it to start rendering from y16 you w Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:51 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:17 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Rope.html b/docs/Phaser.Rope.html index e9fd5b9a4..f2af69aa7 100644 --- a/docs/Phaser.Rope.html +++ b/docs/Phaser.Rope.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -7787,7 +7787,7 @@ This is primarily an internal method used by Rope.loadTexture, although you may Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:52 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:17 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.ScaleManager.html b/docs/Phaser.ScaleManager.html index 6a16133ba..2a260c7e5 100644 --- a/docs/Phaser.ScaleManager.html +++ b/docs/Phaser.ScaleManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -955,7 +955,7 @@ Game size and the game Display canvas.

    dimenstions of the Display canvas's Parent container/element - the effective CSS rules of the canvas's Parent element play an important role in the operation of the ScaleManager.

    The Display canvas - or Game size, depending scaleMode - is updated to best utilize the Parent size. -When in Fullscreen mode or with parentIsWindow the Parent size is that of the visual viewport (see getParentBounds).

    +When in Fullscreen mode or with parentIsWindow the Parent size is that of the visual viewport (see getParentBounds).

    Parent and Display canvas containment guidelines:

    • Style the Parent element (of the game canvas) to control the Parent size and @@ -964,7 +964,9 @@ thus the Display canvas's size and layout.

    • The Parent element's CSS styles should effectively apply maximum (and minimum) bounding behavior.

    • The Parent element should not apply a padding as this is not accounted for. -If a padding is required apply it to the Parent's parent or apply a margin to the Parent.

      +If a padding is required apply it to the Parent's parent or apply a margin to the Parent. +If you need to add a border, margin or any other CSS around your game container, then use a parent element and +apply the CSS to this instead, otherwise you'll be constantly resizing the shape of the game container.

    • The Display canvas layout CSS styles (ie. margins, size) should not be altered/specified as they may be updated by the ScaleManager.

      @@ -1126,7 +1128,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 44 + core/ScaleManager.js, line 46
      @@ -1206,7 +1208,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 628 + core/ScaleManager.js, line 644
      @@ -1262,7 +1264,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 636 + core/ScaleManager.js, line 652
      @@ -1318,7 +1320,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 652 + core/ScaleManager.js, line 668
      @@ -1374,7 +1376,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 644 + core/ScaleManager.js, line 660
      @@ -1430,7 +1432,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 660 + core/ScaleManager.js, line 676
      @@ -1486,7 +1488,7 @@ they may be updated by the ScaleManager.

      Source - - core/ScaleManager.js, line 394 + core/ScaleManager.js, line 396
      @@ -1515,7 +1517,7 @@ they may be updated by the ScaleManager.

      The DOM element that is considered the Parent bounding element, if any.

      -

      This null if parentIsWindow is true or if fullscreen mode is entered and fullScreenTarget is specified. +

      This null if parentIsWindow is true or if fullscreen mode is entered and fullScreenTarget is specified. It will also be null if there is no game canvas or if the game canvas has no parent.

      @@ -1544,7 +1546,7 @@ It will also be null if there is no game canvas or if the game canvas has no par
      Source - - core/ScaleManager.js, line 2145 + core/ScaleManager.js, line 2169
      @@ -1600,7 +1602,7 @@ It will also be null if there is no game canvas or if the game canvas has no par
      Source - - core/ScaleManager.js, line 387 + core/ScaleManager.js, line 389
      @@ -1629,7 +1631,8 @@ It will also be null if there is no game canvas or if the game canvas has no par

      Various compatibility settings. -The (auto) value indicates the setting is configured based on device and runtime information.

      +A value of "(auto)" indicates the setting is configured based on device and runtime information.

      +

      A refresh may need to be peformed after making changes.

      @@ -1849,7 +1852,8 @@ The (auto) value indicates the setting is configured based on devic -

      If enabled the document elements minimum height is explicity set on updates.

      +

      If enabled the document elements minimum height is explicity set on updates. + The height set varies by device and may either be the height of the window or the viewport.

      @@ -1890,6 +1894,46 @@ The (auto) value indicates the setting is configured based on devic + + + + clickTrampoline + + + + + +string + + + + + + + + + <optional>
      + + + + + + + + + + (auto) + + + + +

      On certain browsers (eg. IE) FullScreen events need to be triggered via 'click' events. + A value of 'when-not-mouse' uses a click trampoline when a pointer that is not the primary mouse is used. + Any other string value (including the empty string) prevents using click trampolines. + For more details on click trampolines see Phaser.Pointer#addClickTrampoline.

      + + + @@ -1921,7 +1965,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 446 + core/ScaleManager.js, line 457
      @@ -1985,7 +2029,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 2275 + core/ScaleManager.js, line 2299
      @@ -2048,7 +2092,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 60 + core/ScaleManager.js, line 62
      @@ -2115,7 +2159,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 327 + core/ScaleManager.js, line 329
      @@ -2143,7 +2187,7 @@ The (auto) value indicates the setting is configured based on devic
      -

      This signal is dispatched when the browser enters an incorrect orientation, as defined by forceOrientation.

      +

      This signal is dispatched when the browser enters an incorrect orientation, as defined by forceOrientation.

      This is signaled from preUpdate (or pauseUpdate) even when the game is paused.

      @@ -2172,7 +2216,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 240 + core/ScaleManager.js, line 242
      @@ -2240,7 +2284,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 219 + core/ScaleManager.js, line 221
      @@ -2308,7 +2352,7 @@ The (auto) value indicates the setting is configured based on devic
      Source - - core/ScaleManager.js, line 230 + core/ScaleManager.js, line 232
      @@ -2337,7 +2381,7 @@ The (auto) value indicates the setting is configured based on devic

      If true, the game should only run in a landscape orientation. -Change with forceOrientation.

      +Change with forceOrientation.

      @@ -2375,7 +2419,7 @@ Change with forceOrientation.

      Source - - core/ScaleManager.js, line 138 + core/ScaleManager.js, line 140
      @@ -2404,7 +2448,7 @@ Change with forceOrientation.

      If true, the game should only run in a portrait -Change with forceOrientation.

      +Change with forceOrientation.

      @@ -2442,7 +2486,7 @@ Change with forceOrientation.

      Source - - core/ScaleManager.js, line 148 + core/ScaleManager.js, line 150
      @@ -2475,7 +2519,7 @@ Change with forceOrientation.

      This signal is dispatched when the browser fails to enter fullscreen mode; -or if the device does not support fullscreen mode and startFullScreen is invoked.

      +or if the device does not support fullscreen mode and startFullScreen is invoked.

      @@ -2510,7 +2554,7 @@ or if the device does not support fullscreen mode and startFullScreenSource - - core/ScaleManager.js, line 346 + core/ScaleManager.js, line 348 @@ -2567,7 +2611,7 @@ or if the device does not support fullscreen mode and startFullScreenSource - - core/ScaleManager.js, line 2234 + core/ScaleManager.js, line 2258 @@ -2631,7 +2675,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 265 + core/ScaleManager.js, line 267
      @@ -2694,7 +2738,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 52 + core/ScaleManager.js, line 54
      @@ -2750,7 +2794,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 67 + core/ScaleManager.js, line 69
      @@ -2806,7 +2850,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 81 + core/ScaleManager.js, line 83
      @@ -2834,7 +2878,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      -

      True if the forceLandscape or forcePortrait are set and do not agree with the browser orientation.

      +

      True if forceLandscape or forcePortrait are set and do not agree with the browser orientation.

      This value is not updated immediately.

      @@ -2870,7 +2914,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 159 + core/ScaleManager.js, line 161
      @@ -2926,7 +2970,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 2359 + core/ScaleManager.js, line 2390
      @@ -2982,7 +3026,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 2391 + core/ScaleManager.js, line 2422
      @@ -3038,7 +3082,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 2376 + core/ScaleManager.js, line 2407
      @@ -3105,7 +3149,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 336 + core/ScaleManager.js, line 338
      @@ -3133,7 +3177,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      -

      This signal is dispatched when the browser leaves an incorrect orientation, as defined by forceOrientation.

      +

      This signal is dispatched when the browser leaves an incorrect orientation, as defined by forceOrientation.

      This is signaled from preUpdate (or pauseUpdate) even when the game is paused.

      @@ -3162,7 +3206,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 250 + core/ScaleManager.js, line 252
      @@ -3235,7 +3279,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef
      Source - - core/ScaleManager.js, line 380 + core/ScaleManager.js, line 382
      @@ -3265,7 +3309,7 @@ An attempt is made to restore relevant style changes when fullscreen mode is lef

      Maximum height the canvas should be scaled to (in pixels). If null it will scale to whatever height the browser can handle. -Change with setMinMax.

      +Change with setMinMax.

      @@ -3300,7 +3344,7 @@ Change with setMinMax.

      Source - - core/ScaleManager.js, line 119 + core/ScaleManager.js, line 121
      @@ -3368,7 +3412,7 @@ Change with setMinMax.

      Source - - core/ScaleManager.js, line 182 + core/ScaleManager.js, line 184
      @@ -3405,7 +3449,7 @@ Change with setMinMax.

      Maximum width the canvas should be scaled to (in pixels). If null it will scale to whatever width the browser can handle. -Change with setMinMax.

      +Change with setMinMax.

      @@ -3440,7 +3484,7 @@ Change with setMinMax.

      Source - - core/ScaleManager.js, line 100 + core/ScaleManager.js, line 102
      @@ -3469,7 +3513,7 @@ Change with setMinMax.

      Minimum height the canvas should be scaled to (in pixels). -Change with setMinMax.

      +Change with setMinMax.

      @@ -3504,7 +3548,7 @@ Change with setMinMax.

      Source - - core/ScaleManager.js, line 109 + core/ScaleManager.js, line 111
      @@ -3533,7 +3577,7 @@ Change with setMinMax.

      Minimum width the canvas should be scaled to (in pixels). -Change with setMinMax.

      +Change with setMinMax.

      @@ -3568,7 +3612,7 @@ Change with setMinMax.

      Source - - core/ScaleManager.js, line 90 + core/ScaleManager.js, line 92
      @@ -3632,7 +3676,7 @@ The is used internally by Phaser.Pointer (for Input) and possibly other types.Source - - core/ScaleManager.js, line 128 + core/ScaleManager.js, line 130 @@ -3690,7 +3734,7 @@ if currently running in Fullscreen mode.

      Source - - core/ScaleManager.js, line 307 + core/ScaleManager.js, line 309
      @@ -3748,7 +3792,7 @@ or if the device does not support fullscreen mode and startFullScreenSource - - core/ScaleManager.js, line 318 + core/ScaleManager.js, line 320 @@ -3782,7 +3826,7 @@ before the fullscreen request.

      The targetElement is the fullScreenTarget element, if such is assigned, or a new element created by createFullScreenTarget.

      Custom CSS styling or resets can be applied to targetElement as required.

      -

      If targetElement is not the same element as Phaser.ScaleManager.fullScreenTarget: +

      If targetElement is not the same element as fullScreenTarget: - After initialization the Display canvas is moved onto the targetElement for the duration of the fullscreen mode, and restored to it's original DOM location when fullscreen is exited. - The targetElement is moved/reparanted within the DOM and may have its CSS styles updated.

      @@ -3814,7 +3858,7 @@ if such is assigned, or a new element created by Source - - core/ScaleManager.js, line 296 + core/ScaleManager.js, line 298 @@ -3853,7 +3897,7 @@ Thus the following tests can be done:

      scale.screenOrientation !== prevOrientation // The orientation just became incorrect: scale.incorrectOrientation && !wasIncorrect
      -

      It is possible that this signal is triggered after forceOrientation so the orientation +

      It is possible that this signal is triggered after forceOrientation so the orientation correctness changes even if the orientation itself does not change.

      This is signaled from preUpdate (or pauseUpdate) even when the game is paused.

      @@ -3883,7 +3927,7 @@ correctness changes even if the orientation itself does not change.

      Source - - core/ScaleManager.js, line 208 + core/ScaleManager.js, line 210
      @@ -3945,7 +3989,7 @@ then this signal will not be triggered.

      Source - - core/ScaleManager.js, line 518 + core/ScaleManager.js, line 534
      @@ -4005,7 +4049,7 @@ then this signal will not be triggered.

        -
      • 2.2.0 - Use `ScaleManager.screenOrientation` instead.
      • +
      • 2.2.0 - Use #screenOrientation instead.
      @@ -4019,7 +4063,7 @@ then this signal will not be triggered.

      Source - - core/ScaleManager.js, line 2406 + core/ScaleManager.js, line 2437
      @@ -4047,10 +4091,10 @@ then this signal will not be triggered.

      -

      If true then the Display canvas will be horizontally-aligned in the parent container.

      -

      To align across the page the Display canvas should be added directly to page; -or the parent container should itself be aligned.

      -

      This is not applicable for the RESIZE scaling mode.

      +

      When enabled the Display canvas will be horizontally-aligned in the Parent container (or window).

      +

      To align horizontally across the page the Display canvas should be added directly to page; +or the parent container should itself be horizontally aligned.

      +

      Horizontal alignment is not applicable with the RESIZE scaling mode.

      @@ -4081,7 +4125,7 @@ or the parent container should itself be aligned.

      Source - - core/ScaleManager.js, line 2295 + core/ScaleManager.js, line 2319
      @@ -4109,10 +4153,15 @@ or the parent container should itself be aligned.

      -

      If true then the Display canvas will be vertically-aligned in the parent container.

      -

      To align across the page the Display canvas should be added directly to page; -or the parent container should itself be aligned.

      -

      This is not applicable for the RESIZE scaling mode.

      +

      When enabled the Display canvas will be vertically-aligned in the Parent container (or window).

      +

      To align vertically the Parent element should have a non-collapsible height, such that it will maintain +a height larger than the height of the contained Game canvas - the game canvas will then be scaled vertically +within the remaining available height dictated by the Parent element.

      +

      One way to prevent the parent from collapsing is to add an absolute "min-height" CSS property to the parent element. +If specifying a relative "min-height/height" or adjusting margins, the Parent height must still be non-collapsible (see note).

      +

      Note: In version 2.2 the minimum document height is not automatically set to the viewport/window height. +To automatically update the minimum document height set compatibility.forceMinimumDocumentHeight to true.

      +

      Vertical alignment is not applicable with the RESIZE scaling mode.

      @@ -4143,7 +4192,7 @@ or the parent container should itself be aligned.

      Source - - core/ScaleManager.js, line 2327 + core/ScaleManager.js, line 2351
      @@ -4162,7 +4211,7 @@ or the parent container should itself be aligned.

      <readonly> parentIsWindow :boolean

      + id="parentIsWindow">parentIsWindow :boolean
      @@ -4171,7 +4220,9 @@ or the parent container should itself be aligned.

      -

      If the parent container of the game is the browser window (ie. document.body), rather than a div, this should set to true.

      +

      If the parent container of the Game canvas is the browser window itself (ie. document.body), +rather than another div, this should set to true.

      +

      The parentNode property is generally ignored while this is in effect.

      @@ -4199,7 +4250,7 @@ or the parent container should itself be aligned.

      Source - - core/ScaleManager.js, line 474 + core/ScaleManager.js, line 489
      @@ -4218,7 +4269,7 @@ or the parent container should itself be aligned.

      <readonly> parentNode :DOMElement

      + id="parentNode">parentNode :DOMElement
      @@ -4228,7 +4279,8 @@ or the parent container should itself be aligned.

      The original DOM element for the parent of the Display canvas. -This may be different in fullscreen - see createFullScreenTarget.

      +This may be different in fullscreen - see createFullScreenTarget.

      +

      This should only be changed after moving the Game canvas to a different DOM parent.

      @@ -4256,7 +4308,7 @@ This may be different in fullscreen - see createFullScreenTarget.Source - - core/ScaleManager.js, line 483 + core/ScaleManager.js, line 499 @@ -4312,7 +4364,7 @@ This may be different in fullscreen - see createFullScreenTarget.Source - - core/ScaleManager.js, line 490 + core/ScaleManager.js, line 506 @@ -4368,7 +4420,7 @@ This may be different in fullscreen - see createFullScreenTarget.Source - - core/ScaleManager.js, line 363 + core/ScaleManager.js, line 365 @@ -4431,7 +4483,7 @@ This may be different in fullscreen - see createFullScreenTarget.Source - - core/ScaleManager.js, line 371 + core/ScaleManager.js, line 373 @@ -4480,7 +4532,7 @@ This may be different in fullscreen - see createFullScreenTarget.changes the Game size to match the display size. <p> - Any manually set Game size (see setGameSize) is ignored while in effect. + Any manually set Game size (see setGameSize) is ignored while in effect. </dd> <dt>Phaser.ScaleManager.USER_SCALE</dt> <dd> @@ -4517,7 +4569,7 @@ This may be different in fullscreen - see createFullScreenTarget.Source - - core/ScaleManager.js, line 2170 + core/ScaleManager.js, line 2194 @@ -4574,7 +4626,7 @@ See Phaser.DOM.getScreenOrientati
      Source - - core/ScaleManager.js, line 356 + core/ScaleManager.js, line 358
      @@ -4630,7 +4682,7 @@ See Phaser.DOM.getScreenOrientati
      Source - - core/ScaleManager.js, line 401 + core/ScaleManager.js, line 403
      @@ -4697,7 +4749,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 501 + core/ScaleManager.js, line 517
      @@ -4760,7 +4812,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 74 + core/ScaleManager.js, line 76
      @@ -4898,7 +4950,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 424 + core/ScaleManager.js, line 426
      @@ -4978,7 +5030,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 2087 + core/ScaleManager.js, line 2110
      @@ -5018,7 +5070,8 @@ Update checks normally happen quicker in response to other events.

      -

      Checks if the browser is in the correct orientation for the game, dependent upon forceLandscape and forcePortrait, and updates the state.

      +

      Checks if the browser is in the correct orientation for the game, +dependent upon forceLandscape and forcePortrait, and updates the state.

      The appropriate event is dispatched if the orientation became valid or invalid.

      @@ -5081,7 +5134,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 2123 + core/ScaleManager.js, line 2146
      @@ -5163,7 +5216,7 @@ Update checks normally happen quicker in response to other events.

      Source - - core/ScaleManager.js, line 2078 + core/ScaleManager.js, line 2101
      @@ -5248,7 +5301,7 @@ use the USER_SCALE scale mode.<
      Source - - core/ScaleManager.js, line 2109 + core/ScaleManager.js, line 2132
      @@ -5325,7 +5378,7 @@ use the USER_SCALE scale mode.<
      Source - - core/ScaleManager.js, line 665 + core/ScaleManager.js, line 681
      @@ -5362,7 +5415,7 @@ use the USER_SCALE scale mode.<

      Creates a fullscreen target. This is called automatically as as needed when entering -fullscreen mode and the resulting element is supplied to onFullScreenInit.

      +fullscreen mode and the resulting element is supplied to onFullScreenInit.

      Use onFullScreenInit to customize the created object.

      @@ -5404,7 +5457,7 @@ fullscreen mode and the resulting element is supplied to onFullScreenInit<
      Source - - core/ScaleManager.js, line 1727 + core/ScaleManager.js, line 1746
      @@ -5482,7 +5535,7 @@ This should probably only be called when the game is destroyed.

      Source - - core/ScaleManager.js, line 2045 + core/ScaleManager.js, line 2068
      @@ -5657,7 +5710,7 @@ This should probably only be called when the game is destroyed.

      Source - - core/ScaleManager.js, line 1156 + core/ScaleManager.js, line 1174
      @@ -5696,7 +5749,7 @@ This should probably only be called when the game is destroyed.

      Returns the computed Parent size/bounds that the Display canvas is allowed/expected to fill.

      If in fullscreen mode or without parent (see parentIsWindow), this will be the bounds of the visual viewport itself.

      -

      This function takes the windowConstraints into consideration - if the parent is partially outside +

      This function takes the windowConstraints into consideration - if the parent is partially outside the viewport then this function may return a smaller than expected size.

      Values are rounded to the nearest pixel.

      @@ -5828,7 +5881,7 @@ the viewport then this function may return a smaller than expected size.

      Source - - core/ScaleManager.js, line 1408 + core/ScaleManager.js, line 1427
      @@ -5954,7 +6007,7 @@ the viewport then this function may return a smaller than expected size.

      Source - - core/ScaleManager.js, line 753 + core/ScaleManager.js, line 771
      @@ -6031,7 +6084,7 @@ the viewport then this function may return a smaller than expected size.

      Source - - core/ScaleManager.js, line 1022 + core/ScaleManager.js, line 1040
      @@ -6067,16 +6120,17 @@ the viewport then this function may return a smaller than expected size.

      -

      The refresh methods informs the ScaleManager that a layout refresh is required.

      +

      The "refresh" methods informs the ScaleManager that a layout refresh is required.

      The ScaleManager automatically queues a layout refresh (eg. updates the Game size or Display canvas layout) when the browser is resized, the orientation changes, or when there is a detected change of the Parent size. Refreshing is also done automatically when public properties, -such as scaleMode, are updated or state-changing methods are invoked.

      -

      The refresh method may need to be used in a few (rare) situtations when

      +such as scaleMode, are updated or state-changing methods are invoked.

      +

      The "refresh" method may need to be used in a few (rare) situtations when

      • a device change event is not correctly detected; or
      • the Parent size changes (and an immediate reflow is desired); or
      • -
      • the ScaleManager state is updated by non-standard means.
      • +
      • the ScaleManager state is updated by non-standard means; or
      • +
      • certain compatibility properties are manually changed.

      The queued layout refresh is not immediate but will run promptly in an upcoming preRender.

      @@ -6112,7 +6166,7 @@ such as scaleMode, are updated or state-changing methods are invoke
      Source - - core/ScaleManager.js, line 1302 + core/ScaleManager.js, line 1320
      @@ -6397,7 +6451,7 @@ the horizontal or vertical sides of the target dimensions. If you wish to stop t
      Source - - core/ScaleManager.js, line 1981 + core/ScaleManager.js, line 2004
      @@ -6545,7 +6599,7 @@ Use this instead of directly changing game.width or game.heig
      Source - - core/ScaleManager.js, line 878 + core/ScaleManager.js, line 896
      @@ -6774,7 +6828,7 @@ Use this instead of directly changing game.width or game.heig
      Source - - core/ScaleManager.js, line 990 + core/ScaleManager.js, line 1008
      @@ -6818,14 +6872,14 @@ Use this instead of directly changing game.width or game.heig

      Sets the callback that will be invoked before sizing calculations.

      -

      This is the appropriate place to call setUserScale if needing custom dynamic scaling.

      +

      This is the appropriate place to call setUserScale if needing custom dynamic scaling.

      The callback is supplied with two arguments scale and parentBounds where scale is the ScaleManager and parentBounds, a Phaser.Rectangle, is the size of the Parent element.

      This callback - May be invoked even though the parent container or canvas sizes have not changed -- Unlike onSizeChange, it runs before the canvas is guaranteed to be updated +- Unlike onSizeChange, it runs before the canvas is guaranteed to be updated - Will be invoked from preUpdate, even when the game is paused

      -

      See onSizeChange for a better way of reacting to layout updates.

      +

      See onSizeChange for a better way of reacting to layout updates.

      @@ -6931,7 +6985,7 @@ and parentBounds, a Phaser.Rectangle, is the size of the Parent ele
      Source - - core/ScaleManager.js, line 930 + core/ScaleManager.js, line 948
      @@ -7016,7 +7070,7 @@ use the USER_SCALE scale mode.<
      Source - - core/ScaleManager.js, line 2096 + core/ScaleManager.js, line 2119
      @@ -7172,7 +7226,7 @@ use the USER_SCALE scale mode.<
      Source - - core/ScaleManager.js, line 779 + core/ScaleManager.js, line 797
      @@ -7424,7 +7478,7 @@ canvas.height = (game.height * vScale) - vTrim
      Source - - core/ScaleManager.js, line 906 + core/ScaleManager.js, line 924
      @@ -7462,9 +7516,9 @@ canvas.height = (game.height * vScale) - vTrim

      Start the browsers fullscreen mode - this must be called from a user input Pointer or Mouse event.

      The Fullscreen API must be supported by the browser for this to work - it is not the same as setting -the game size to fill the browser window. See compatibility.supportsFullScreen to check if the current +the game size to fill the browser window. See compatibility.supportsFullScreen to check if the current device is reported to support fullscreen mode.

      -

      The fullScreenFailed signal will be dispatched if the fullscreen change request failed or the game does not support the Fullscreen API.

      +

      The fullScreenFailed signal will be dispatched if the fullscreen change request failed or the game does not support the Fullscreen API.

      @@ -7624,7 +7678,7 @@ device is reported to support fullscreen mode.

      Source - - core/ScaleManager.js, line 1748 + core/ScaleManager.js, line 1767
      @@ -7714,7 +7768,7 @@ device is reported to support fullscreen mode.

      Source - - core/ScaleManager.js, line 1833 + core/ScaleManager.js, line 1856
      @@ -7763,7 +7817,7 @@ device is reported to support fullscreen mode.

      Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:52 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:18 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Signal.html b/docs/Phaser.Signal.html index 5952f4ae2..458dd87ae 100644 --- a/docs/Phaser.Signal.html +++ b/docs/Phaser.Signal.html @@ -841,7 +841,7 @@
    • State Manager
    • Tween Manager
    • Sound Manager
    • -
    • Input Manager
    • +
    • Input Manager
    • Scale Manager
    @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2664,7 +2664,7 @@ See active to enable/disable the signal Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:52 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:18 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.SignalBinding.html b/docs/Phaser.SignalBinding.html index 82c4f38c1..3c30fec6d 100644 --- a/docs/Phaser.SignalBinding.html +++ b/docs/Phaser.SignalBinding.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2204,7 +2204,7 @@ If binding was added using Signal.addOnce() it will be automaticall Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:53 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:19 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.SinglePad.html b/docs/Phaser.SinglePad.html index 45341e330..27359d537 100644 --- a/docs/Phaser.SinglePad.html +++ b/docs/Phaser.SinglePad.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3932,7 +3932,7 @@ The GamepadButton object can then be polled, have events attached to it, etc.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:53 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:19 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Sound.html b/docs/Phaser.Sound.html index 07c203f6c..e845349f4 100644 --- a/docs/Phaser.Sound.html +++ b/docs/Phaser.Sound.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1822,7 +1822,7 @@
    Source - - sound/Sound.js, line 927 + sound/Sound.js, line 938
    @@ -1878,7 +1878,7 @@
    Source - - sound/Sound.js, line 914 + sound/Sound.js, line 925
    @@ -2217,7 +2217,7 @@
    Source - - sound/Sound.js, line 940 + sound/Sound.js, line 951
    @@ -3458,7 +3458,7 @@
    Source - - sound/Sound.js, line 991 + sound/Sound.js, line 1002
    @@ -3935,7 +3935,7 @@ This allows you to bundle multiple sounds together into a single audio file and
    Source - - sound/Sound.js, line 875 + sound/Sound.js, line 886
    @@ -4116,7 +4116,7 @@ and the final volume (1) as the second parameter.

    Source - - sound/Sound.js, line 789 + sound/Sound.js, line 800
    @@ -4257,7 +4257,7 @@ and the final volume (0) as the second parameter.

    Source - - sound/Sound.js, line 814 + sound/Sound.js, line 825
    @@ -4435,7 +4435,7 @@ and the final volume (volume) as the second parameter.

    Source - - sound/Sound.js, line 828 + sound/Sound.js, line 839
    @@ -4505,7 +4505,7 @@ and the final volume (volume) as the second parameter.

    Source - - sound/Sound.js, line 668 + sound/Sound.js, line 679
    @@ -5195,7 +5195,7 @@ and the final volume (volume) as the second parameter.

    Source - - sound/Sound.js, line 648 + sound/Sound.js, line 659
    @@ -5265,7 +5265,7 @@ and the final volume (volume) as the second parameter.

    Source - - sound/Sound.js, line 686 + sound/Sound.js, line 697
    @@ -5461,7 +5461,7 @@ and the final volume (volume) as the second parameter.

    Source - - sound/Sound.js, line 739 + sound/Sound.js, line 750
    @@ -5587,7 +5587,7 @@ and the final volume (volume) as the second parameter.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:53 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:19 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.SoundManager.html b/docs/Phaser.SoundManager.html index 6d3839e4d..5f9121a76 100644 --- a/docs/Phaser.SoundManager.html +++ b/docs/Phaser.SoundManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3340,7 +3340,7 @@ The removed Sounds are destroyed before removal.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:54 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:19 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Sprite.html b/docs/Phaser.Sprite.html index 3cf63c461..76a9032c0 100644 --- a/docs/Phaser.Sprite.html +++ b/docs/Phaser.Sprite.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4225,7 +4225,7 @@ To remove a mask, set this property to null.

    Source - - gameobjects/BitmapData.js, line 1765 + gameobjects/BitmapData.js, line 1792
    @@ -10003,7 +10003,7 @@ then you need to update the crop frame by calling this method.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:54 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:20 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.SpriteBatch.html b/docs/Phaser.SpriteBatch.html index 5c495a3f9..7b958aaaa 100644 --- a/docs/Phaser.SpriteBatch.html +++ b/docs/Phaser.SpriteBatch.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1343,7 +1343,7 @@ Sprites as it skips all of the Canvas setTransform calls, which helps performanc
    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1407,7 +1407,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -2181,7 +2181,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2516,7 +2516,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -3070,7 +3070,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -3253,7 +3253,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -3502,7 +3502,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -3748,7 +3748,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2022 + core/Group.js, line 2021
    @@ -3811,7 +3811,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2024 + core/Group.js, line 2023
    @@ -4266,7 +4266,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -5171,7 +5171,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -5533,7 +5533,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -5732,7 +5732,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -5909,7 +5909,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -6202,7 +6202,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -6471,7 +6471,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -6566,7 +6566,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -6661,7 +6661,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -7409,7 +7409,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -7563,7 +7563,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -7747,7 +7747,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -7941,7 +7941,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -8146,7 +8146,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -8405,7 +8405,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -8622,7 +8622,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -8839,7 +8839,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -9056,7 +9056,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -9490,7 +9490,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -9969,7 +9969,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -10065,7 +10065,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -10229,7 +10229,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -10671,7 +10671,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -10767,7 +10767,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -10935,7 +10935,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -11294,7 +11294,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -11776,7 +11776,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -11954,7 +11954,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -12036,7 +12036,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -12372,7 +12372,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -12555,7 +12555,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -12810,7 +12810,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -14259,7 +14259,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -14593,7 +14593,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -14927,7 +14927,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -15388,7 +15388,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -15697,7 +15697,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -15891,7 +15891,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -16599,7 +16599,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1241 + core/Group.js, line 1240
    @@ -16976,7 +16976,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:54 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:20 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Stage.html b/docs/Phaser.Stage.html index e2dd23250..1f06c6720 100644 --- a/docs/Phaser.Stage.html +++ b/docs/Phaser.Stage.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1211,7 +1211,7 @@ It also handles browser visibility handling and the pausing due to loss of focus
    Source - - core/Stage.js, line 326 + core/Stage.js, line 343
    @@ -1518,7 +1518,7 @@ To remove simply set this property to 'null'

    Source - - core/Stage.js, line 306 + core/Stage.js, line 323
    @@ -2576,7 +2576,7 @@ To remove a mask, set this property to null.

    Source - - core/Stage.js, line 286 + core/Stage.js, line 303
    @@ -2632,7 +2632,7 @@ To remove a mask, set this property to null.

    Source - - core/Stage.js, line 349 + core/Stage.js, line 366
    @@ -3563,7 +3563,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Stage.js, line 194 + core/Stage.js, line 211
    @@ -6150,6 +6150,77 @@ This is useful for when you have other DOM elements on top of the Canvas element + + + + +
    +

    updateTransform()

    + + +
    +
    + + + +
    +

    Updates the transforms for all objects on the display list. +This overrides the Pixi default as we don't need the interactionManager, but do need the game property check.

    +
    + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + core/Stage.js, line 194 +
    + + + + + + + +
    + + + + + + + + + + +
    @@ -6248,7 +6319,7 @@ This is useful for when you have other DOM elements on top of the Canvas element
    Source - - core/Stage.js, line 248 + core/Stage.js, line 265
    @@ -6297,7 +6368,7 @@ This is useful for when you have other DOM elements on top of the Canvas element Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:55 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:21 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.State.html b/docs/Phaser.State.html index 259959771..3d9940865 100644 --- a/docs/Phaser.State.html +++ b/docs/Phaser.State.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2047,7 +2047,79 @@ If you don't have a preload method then create is the first method called in you
    Source - - core/State.js, line 132 + core/State.js, line 142 +
    + + + + + + + + + + + + + + + + + + + + + + + +
    +

    init()

    + + +
    +
    + + + +
    +

    init is the very first function called when your State starts up. It's called before preload, create or anything else. +If you need to route the game away to another State you could do so here, or if you need to prepare a set of variables +or objects before the preloading starts.

    +
    + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source - + core/State.js, line 105
    @@ -2118,7 +2190,7 @@ The difference between loadRender and render is that any objects you render in t
    Source - - core/State.js, line 123 + core/State.js, line 133
    @@ -2188,7 +2260,7 @@ The difference between loadRender and render is that any objects you render in t
    Source - - core/State.js, line 115 + core/State.js, line 125
    @@ -2258,7 +2330,7 @@ The difference between loadRender and render is that any objects you render in t
    Source - - core/State.js, line 169 + core/State.js, line 179
    @@ -2328,7 +2400,7 @@ The difference between loadRender and render is that any objects you render in t
    Source - - core/State.js, line 177 + core/State.js, line 187
    @@ -2400,7 +2472,7 @@ they won't yet be available.

    Source - - core/State.js, line 105 + core/State.js, line 115
    @@ -2472,7 +2544,7 @@ final post-processing style effects here. Note that this happens before plugins
    Source - - core/State.js, line 151 + core/State.js, line 161
    @@ -2542,7 +2614,7 @@ final post-processing style effects here. Note that this happens before plugins
    Source - - core/State.js, line 161 + core/State.js, line 171
    @@ -2612,7 +2684,7 @@ final post-processing style effects here. Note that this happens before plugins
    Source - - core/State.js, line 185 + core/State.js, line 195
    @@ -2684,7 +2756,7 @@ If is called BEFORE Stage, Tweens, Sounds, Input, Physics, Particles and Plugins
    Source - - core/State.js, line 141 + core/State.js, line 151
    @@ -2733,7 +2805,7 @@ If is called BEFORE Stage, Tweens, Sounds, Input, Physics, Particles and Plugins Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:55 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:21 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.StateManager.html b/docs/Phaser.StateManager.html index fab14e073..af3bb4566 100644 --- a/docs/Phaser.StateManager.html +++ b/docs/Phaser.StateManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4195,7 +4195,7 @@ You don't recover from this without rebuilding the Phaser instance again.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:55 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:21 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Text.html b/docs/Phaser.Text.html index 774ec3fce..bb75b0477 100644 --- a/docs/Phaser.Text.html +++ b/docs/Phaser.Text.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5831,7 +5831,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/text/Text.js, line 492 + pixi/text/Text.js, line 498
    @@ -8748,7 +8748,7 @@ To remove a shadow already in place you can call this method with no parameters Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:56 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:22 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tile.html b/docs/Phaser.Tile.html index 5b45da815..a63b2a867 100644 --- a/docs/Phaser.Tile.html +++ b/docs/Phaser.Tile.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4169,7 +4169,7 @@ The callback must true true for collision processing to take place.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:56 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:22 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TileSprite.html b/docs/Phaser.TileSprite.html index b01a05122..4aaee3836 100644 --- a/docs/Phaser.TileSprite.html +++ b/docs/Phaser.TileSprite.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -5522,7 +5522,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/extras/TilingSprite.js, line 373 + pixi/extras/TilingSprite.js, line 371
    @@ -5617,7 +5617,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - pixi/extras/TilingSprite.js, line 280 + pixi/extras/TilingSprite.js, line 278
    @@ -8492,7 +8492,7 @@ This is primarily an internal method used by TileSprite.loadTexture, although yo Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:58 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:24 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tilemap.html b/docs/Phaser.Tilemap.html index 9d6f3e759..240acc2c3 100644 --- a/docs/Phaser.Tilemap.html +++ b/docs/Phaser.Tilemap.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -13232,7 +13232,7 @@ If you want to set a callback for a tile at a specific location on the map then Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:56 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:22 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TilemapLayer.html b/docs/Phaser.TilemapLayer.html index 804ae6425..985740065 100644 --- a/docs/Phaser.TilemapLayer.html +++ b/docs/Phaser.TilemapLayer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -968,8 +968,8 @@

    A TilemapLayer is a Phaser.Image/Sprite that renders a specific TileLayer of a Tilemap.

    -

    Since a TilemapLayer is a Sprite it can be moved around the display, added to other groups or display objects, etc. -By default TilemapLayers have fixedToCamera set to true. Changing this will break Camera follow and scrolling behaviour.

    +

    Since a TilemapLayer is a Sprite it can be moved around the display, added to other groups or display objects, etc.

    +

    By default TilemapLayers have fixedToCamera set to true. Changing this will break Camera follow and scrolling behaviour.

    @@ -1144,7 +1144,7 @@ By default TilemapLayers have fixedToCamera set to true. Changing t
    Source - - tilemap/TilemapLayer.js, line 22 + tilemap/TilemapLayer.js, line 23
    @@ -1616,7 +1616,7 @@ Be advised this is quite an expensive operation, as it has to calculate the boun
    Source - - tilemap/TilemapLayer.js, line 78 + tilemap/TilemapLayer.js, line 79
    @@ -1860,7 +1860,7 @@ To remove simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 122 + tilemap/TilemapLayer.js, line 123
    @@ -1923,7 +1923,7 @@ To remove simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 64 + tilemap/TilemapLayer.js, line 65
    @@ -2117,7 +2117,7 @@ To remove simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 144 + tilemap/TilemapLayer.js, line 154
    @@ -2386,7 +2386,7 @@ To remove simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 162 + tilemap/TilemapLayer.js, line 172
    @@ -2693,7 +2693,7 @@ To remove simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 196 + tilemap/TilemapLayer.js, line 206
    @@ -3064,7 +3064,7 @@ To remove filters simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 116 + tilemap/TilemapLayer.js, line 117
    @@ -3249,7 +3249,7 @@ To remove filters simply set this property to 'null'

    Source - - tilemap/TilemapLayer.js, line 33 + tilemap/TilemapLayer.js, line 34
    @@ -3515,7 +3515,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - tilemap/TilemapLayer.js, line 49 + tilemap/TilemapLayer.js, line 50
    @@ -3855,7 +3855,7 @@ activated for this object and it will then start to process click/touch events a
    Source - - tilemap/TilemapLayer.js, line 57 + tilemap/TilemapLayer.js, line 58
    @@ -3918,7 +3918,7 @@ activated for this object and it will then start to process click/touch events a
    Source - - tilemap/TilemapLayer.js, line 41 + tilemap/TilemapLayer.js, line 42
    @@ -4037,7 +4037,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 100 + tilemap/TilemapLayer.js, line 101
    @@ -4279,7 +4279,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 203 + tilemap/TilemapLayer.js, line 213
    @@ -4453,8 +4453,12 @@ To remove a mask, set this property to null.

    Type + Argument + + Default + Description @@ -4478,10 +4482,101 @@ To remove a mask, set this property to null.

    + + + <optional>
    + + + -

    When enabled, only new newly exposed areas of the layer are redraw after scrolling. This can greatly improve scrolling rendering performance, especially when there are many small tiles.

    + + + + true + + + + +

    Delta scroll rendering only draws tiles/edges as them come into view. + This can greatly improve scrolling rendering performance, especially when there are many small tiles. + It should only be disabled in rare cases.

    + + + + + + + copyCanvas + + + + + +DOMCanvasElement + + + + + + + + + <optional>
    + + + + <nullable>
    + + + + + + + + (auto) + + + + +

    [Internal] If set, force using a separate (shared) copy canvas. + Using a canvas bitblt/copy when the source and destinations region overlap produces unexpected behavior + in some browsers, notably Safari.

    + + + + + + + copySliceCount + + + + + +integer + + + + + + + + + + + + + + + + + + + +

    [Internal] The number of vertical slices to copy when using a copyCanvas. + This is ratio of the pixel count of the primary canvas to the copy canvas.

    @@ -4507,12 +4602,12 @@ To remove a mask, set this property to null.

    Default Value:
    -
    • {enableScrollDelta: true, overdrawRatio: 0.20}
    +
    • {enableScrollDelta: true, overdrawRatio: 0.20, copyCanvas: null, copySliceCount: 4}
    Source - - tilemap/TilemapLayer.js, line 131 + tilemap/TilemapLayer.js, line 141
    @@ -4693,7 +4788,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 181 + tilemap/TilemapLayer.js, line 191
    @@ -4752,7 +4847,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 189 + tilemap/TilemapLayer.js, line 199
    @@ -5001,7 +5096,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 85 + tilemap/TilemapLayer.js, line 86
    @@ -5064,7 +5159,7 @@ To remove a mask, set this property to null.

    Source - - tilemap/TilemapLayer.js, line 92 + tilemap/TilemapLayer.js, line 93
    @@ -5319,7 +5414,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - tilemap/TilemapLayer.js, line 109 + tilemap/TilemapLayer.js, line 110
    @@ -5830,6 +5925,84 @@ This ability allows you to check any of the matrix values and perform actions su
    +
    +

    <internal, static> ensureSharedCopyCanvas()

    + + +
    +
    + + + +
    +

    Create if needed (and return) a shared copy canvas that is shared across all TilemapLayers.

    +

    Code that uses the canvas is responsible to ensure the dimensions and save/restore state as appropriate.

    +
    + + + + + + + + + + + +
    + + + + + + + + + +
    Internal:
    +
      + +
    • This member is internal (protected) and may be modified or removed in the future.
    • + +
    + + + + + + + + + + + +
    Source - + tilemap/TilemapLayer.js, line 293 +
    + + + + + + + +
    + + + + + + + + + + + +
    + + +

    addChild(child) → {PIXI.DisplayObject}

    @@ -7533,7 +7706,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - tilemap/TilemapLayer.js, line 465 + tilemap/TilemapLayer.js, line 504
    @@ -7871,7 +8044,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - tilemap/TilemapLayer.js, line 512 + tilemap/TilemapLayer.js, line 551
    @@ -8010,7 +8183,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - tilemap/TilemapLayer.js, line 416 + tilemap/TilemapLayer.js, line 455
    @@ -8201,7 +8374,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - tilemap/TilemapLayer.js, line 446 + tilemap/TilemapLayer.js, line 485
    @@ -8340,7 +8513,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - tilemap/TilemapLayer.js, line 431 + tilemap/TilemapLayer.js, line 470
    @@ -8675,7 +8848,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
    Source - - tilemap/TilemapLayer.js, line 286 + tilemap/TilemapLayer.js, line 325
    @@ -9337,7 +9510,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
    Source - - tilemap/TilemapLayer.js, line 900 + tilemap/TilemapLayer.js, line 984
    @@ -9615,7 +9788,8 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
    -

    The TilemapLayer caches tileset look-ups. Call this method of clear the cache if tilesets have been added or updated after the layer has been rendered.

    +

    The TilemapLayer caches tileset look-ups.

    +

    Call this method of clear the cache if tilesets have been added or updated after the layer has been rendered.

    @@ -9649,7 +9823,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
    Source - - tilemap/TilemapLayer.js, line 626 + tilemap/TilemapLayer.js, line 663
    @@ -9719,7 +9893,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
    Source - - tilemap/TilemapLayer.js, line 318 + tilemap/TilemapLayer.js, line 357
    @@ -11303,7 +11477,7 @@ then you need to update the crop frame by calling this method.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:57 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:23 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TilemapParser.html b/docs/Phaser.TilemapParser.html index 7b6fda211..38f98e66c 100644 --- a/docs/Phaser.TilemapParser.html +++ b/docs/Phaser.TilemapParser.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1876,7 +1876,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:57 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:23 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tileset.html b/docs/Phaser.Tileset.html index d77e2947e..496cee3fd 100644 --- a/docs/Phaser.Tileset.html +++ b/docs/Phaser.Tileset.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2626,7 +2626,7 @@ Use setSpacing to change.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:57 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:23 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Time.html b/docs/Phaser.Time.html index 720d2c5f3..1c5bb648c 100644 --- a/docs/Phaser.Time.html +++ b/docs/Phaser.Time.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3472,7 +3472,7 @@ is unable to consistently maintain the desired FPS.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:58 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:24 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Timer.html b/docs/Phaser.Timer.html index b7c145a8e..ceae28cd7 100644 --- a/docs/Phaser.Timer.html +++ b/docs/Phaser.Timer.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -4114,7 +4114,7 @@ The delay is in relation to when the Timer starts, not the time it was added. If Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:58 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:24 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TimerEvent.html b/docs/Phaser.TimerEvent.html index d1d6653bd..ddc6f5a6d 100644 --- a/docs/Phaser.TimerEvent.html +++ b/docs/Phaser.TimerEvent.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1847,7 +1847,7 @@ When the event fires it calls a specific callback with the specified arguments.< Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:59 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Touch.html b/docs/Phaser.Touch.html index 3fea503c4..a46650e34 100644 --- a/docs/Phaser.Touch.html +++ b/docs/Phaser.Touch.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2673,7 +2673,7 @@ Doesn't appear to be supported by most browsers on a canvas element yet.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:59 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tween.html b/docs/Phaser.Tween.html index d5385c628..fa4bab46c 100644 --- a/docs/Phaser.Tween.html +++ b/docs/Phaser.Tween.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2271,7 +2271,7 @@ If a tweens duration is 1 second but timeScale is 0.5 then it will take 2 second
    Source - - tween/Tween.js, line 853 + tween/Tween.js, line 862
    @@ -2426,7 +2426,7 @@ Any previously chained tweens that may have been set will be overwritten.

    Source - - tween/Tween.js, line 536 + tween/Tween.js, line 545
    @@ -2464,6 +2464,7 @@ Any previously chained tweens that may have been set will be overwritten.

    Sets the delay in milliseconds before this tween will start. If there are child tweens it sets the delay before the first child starts. The delay is invoked as soon as you call Tween.start. If the tween is already running this method doesn't do anything for the current active tween. +If you have not yet called Tween.to or Tween.from at least once then this method will do nothing, as there are no tweens to delay. If you have child tweens and pass -1 as the index value it sets the delay across all of them.

    @@ -2822,7 +2823,7 @@ If you have child tweens and pass -1 as the index value it sets the easing funct
    Source - - tween/Tween.js, line 450 + tween/Tween.js, line 459
    @@ -3767,7 +3768,7 @@ Just one play through of the tween data is returned, including yoyo if set.

    Source - - tween/Tween.js, line 801 + tween/Tween.js, line 810
    @@ -3964,7 +3965,7 @@ If you have child tweens and pass -1 as the index value it sets the interpolatio
    Source - - tween/Tween.js, line 486 + tween/Tween.js, line 495
    @@ -4131,7 +4132,7 @@ game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true)
    Source - - tween/Tween.js, line 570 + tween/Tween.js, line 579
    @@ -4293,7 +4294,7 @@ game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true)
    Source - - tween/Tween.js, line 602 + tween/Tween.js, line 611
    @@ -4363,7 +4364,7 @@ game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true)
    Source - - tween/Tween.js, line 619 + tween/Tween.js, line 628
    @@ -4400,6 +4401,7 @@ game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true)

    Sets the number of times this tween will repeat. +If you have not yet called Tween.to or Tween.from at least once then this method will do nothing, as there are no tweens to repeat. If you have child tweens and pass -1 as the index value it sets the number of times they'll repeat across all of them. If you wish to define how many times this Tween and all children will repeat see Tween.repeatAll.

    @@ -4559,7 +4561,7 @@ If you wish to define how many times this Tween and all children will repeat see
    Source - - tween/Tween.js, line 389 + tween/Tween.js, line 392
    @@ -4700,7 +4702,7 @@ When all child tweens have completed Tween.onLoop will be dispatched.

    Source - - tween/Tween.js, line 517 + tween/Tween.js, line 526
    @@ -4770,7 +4772,7 @@ When all child tweens have completed Tween.onLoop will be dispatched.

    Source - - tween/Tween.js, line 651 + tween/Tween.js, line 660
    @@ -5977,7 +5979,7 @@ For example a Sprite with an x coordinate of 100 could be tweened t
    Source - - tween/Tween.js, line 693 + tween/Tween.js, line 702
    @@ -6015,6 +6017,7 @@ For example a Sprite with an x coordinate of 100 could be tweened t

    A Tween that has yoyo set to true will run through from its starting values to its end values and then play back in reverse from end to start. Used in combination with repeat you can create endless loops. +If you have not yet called Tween.to or Tween.from at least once then this method will do nothing, as there are no tweens to yoyo. If you have child tweens and pass -1 as the index value it sets the yoyo property across all of them. If you wish to yoyo this Tween and all of its children then see Tween.yoyoAll.

    @@ -6174,7 +6177,7 @@ If you wish to yoyo this Tween and all of its children then see Tween.yoyoAll.Source - - tween/Tween.js, line 419 + tween/Tween.js, line 425 @@ -6223,7 +6226,7 @@ If you wish to yoyo this Tween and all of its children then see Tween.yoyoAll. Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:59 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TweenData.html b/docs/Phaser.TweenData.html index 96e3f1522..3e3a56469 100644 --- a/docs/Phaser.TweenData.html +++ b/docs/Phaser.TweenData.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2599,7 +2599,7 @@ Just one play through of the tween data is returned, including yoyo if set.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:59 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TweenManager.html b/docs/Phaser.TweenManager.html index f73b5aa41..b87530420 100644 --- a/docs/Phaser.TweenManager.html +++ b/docs/Phaser.TweenManager.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2288,7 +2288,7 @@ Please see https://github.com/sole/tw Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:00 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Utils.Debug.html b/docs/Phaser.Utils.Debug.html index 899b92792..dcd57d55d 100644 --- a/docs/Phaser.Utils.Debug.html +++ b/docs/Phaser.Utils.Debug.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -7206,7 +7206,7 @@ the Box2D engine.

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:00 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Utils.html b/docs/Phaser.Utils.html index 98a9acb33..60d128434 100644 --- a/docs/Phaser.Utils.html +++ b/docs/Phaser.Utils.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2937,7 +2937,7 @@ Based on original code by @mudcube

    Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:00 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.World.html b/docs/Phaser.World.html index 96fb68d7a..15dad2d99 100644 --- a/docs/Phaser.World.html +++ b/docs/Phaser.World.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1472,7 +1472,7 @@ the world at world-based coordinates. By default a world is created the same siz
    Source - - core/Group.js, line 2030 + core/Group.js, line 2029
    @@ -1536,7 +1536,7 @@ and on-screen orientation and position.

    Source - - core/Group.js, line 1962 + core/Group.js, line 1961
    @@ -2537,7 +2537,7 @@ So if this group was in a Group that has x: 200, then this will be added to the
    Source - - core/Group.js, line 1985 + core/Group.js, line 1984
    @@ -2867,7 +2867,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
    Source - - core/Group.js, line 1945 + core/Group.js, line 1944
    @@ -3533,7 +3533,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 2026 + core/Group.js, line 2025
    @@ -3716,7 +3716,7 @@ This will have no impact on the rotation value of its children, but it will upda
    Source - - core/Group.js, line 1928 + core/Group.js, line 1927
    @@ -3970,7 +3970,7 @@ This ability allows you to check any of the matrix values and perform actions su
    Source - - core/Group.js, line 2028 + core/Group.js, line 2027
    @@ -4211,7 +4211,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2022 + core/Group.js, line 2021
    @@ -4274,7 +4274,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
    Source - - core/Group.js, line 2024 + core/Group.js, line 2023
    @@ -4729,7 +4729,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 999 + core/Group.js, line 998
    @@ -5634,7 +5634,7 @@ This value must be unique for each child in a Group.

    Source - - core/Group.js, line 1500 + core/Group.js, line 1499
    @@ -6073,7 +6073,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1149 + core/Group.js, line 1148
    @@ -6272,7 +6272,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1067 + core/Group.js, line 1066
    @@ -6449,7 +6449,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1096 + core/Group.js, line 1095
    @@ -6742,7 +6742,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 966 + core/Group.js, line 965
    @@ -7011,7 +7011,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 830 + core/Group.js, line 829
    @@ -7106,7 +7106,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1722 + core/Group.js, line 1721
    @@ -7201,7 +7201,7 @@ After the method parameter and context you can add as many extra parameters as y
    Source - - core/Group.js, line 1710 + core/Group.js, line 1709
    @@ -7949,7 +7949,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1476 + core/Group.js, line 1475
    @@ -8103,7 +8103,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1532 + core/Group.js, line 1531
    @@ -8287,7 +8287,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1892 + core/Group.js, line 1891
    @@ -8481,7 +8481,7 @@ It should return -1 if a > b, 1 if a < b or 0 if
    Source - - core/Group.js, line 1050 + core/Group.js, line 1049
    @@ -8686,7 +8686,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1281 + core/Group.js, line 1280
    @@ -8945,7 +8945,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1321 + core/Group.js, line 1320
    @@ -9162,7 +9162,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1394 + core/Group.js, line 1393
    @@ -9379,7 +9379,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1417 + core/Group.js, line 1416
    @@ -9596,7 +9596,7 @@ healthyList.callAll('attack');
    Source - - core/Group.js, line 1371 + core/Group.js, line 1370
    @@ -10030,7 +10030,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1693 + core/Group.js, line 1692
    @@ -10509,7 +10509,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1648 + core/Group.js, line 1647
    @@ -10605,7 +10605,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1662 + core/Group.js, line 1661
    @@ -10769,7 +10769,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1630 + core/Group.js, line 1629
    @@ -11211,7 +11211,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1734 + core/Group.js, line 1733
    @@ -11307,7 +11307,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 1676 + core/Group.js, line 1675
    @@ -11475,7 +11475,7 @@ This can be quite useful if your displayObject is static / complicated and needs
    Source - - core/Group.js, line 717 + core/Group.js, line 716
    @@ -11834,7 +11834,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1557 + core/Group.js, line 1556
    @@ -12316,7 +12316,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1033 + core/Group.js, line 1032
    @@ -12494,7 +12494,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1257 + core/Group.js, line 1256
    @@ -12576,7 +12576,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1217 + core/Group.js, line 1216
    @@ -12912,7 +12912,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1756 + core/Group.js, line 1755
    @@ -13095,7 +13095,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1802 + core/Group.js, line 1801
    @@ -13350,7 +13350,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 1839 + core/Group.js, line 1838
    @@ -14941,7 +14941,7 @@ element and the entire array will be applied to the callback function.

    Source - - core/Group.js, line 859 + core/Group.js, line 858
    @@ -15275,7 +15275,7 @@ If you need that ability please see Group.setAllChildren.

    Source - - core/Group.js, line 890 + core/Group.js, line 889
    @@ -15609,7 +15609,7 @@ Unlike with setAll the property is NOT set on child Groups itself.<
    Source - - core/Group.js, line 925 + core/Group.js, line 924
    @@ -16259,7 +16259,7 @@ The Camera bounds and Physics bounds (if set) are also updated to match the new
    Source - - core/Group.js, line 752 + core/Group.js, line 751
    @@ -16638,7 +16638,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1440 + core/Group.js, line 1439
    @@ -16832,7 +16832,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1016 + core/Group.js, line 1015
    @@ -17540,7 +17540,7 @@ For example to depth sort Sprites for Zelda-style game you might call grou
    Source - - core/Group.js, line 1241 + core/Group.js, line 1240
    @@ -18219,7 +18219,7 @@ If sprite has a P2 body then the body (sprite.body) should be passed as first pa Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:33:00 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:32:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.html b/docs/Phaser.html index 6c085a85d..6eff5d0df 100644 --- a/docs/Phaser.html +++ b/docs/Phaser.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1732,7 +1732,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:26 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:50 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.js.html b/docs/Phaser.js.html index ea461e314..cbb680421 100644 --- a/docs/Phaser.js.html +++ b/docs/Phaser.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -954,7 +954,7 @@ */ var Phaser = Phaser || { - VERSION: '2.2.1', + VERSION: '2.2.2', GAMES: [], AUTO: 0, @@ -1048,7 +1048,7 @@ PIXI.dontSayHello = true; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Physics.js.html b/docs/Physics.js.html index 67a7f3c2e..d2cf14d96 100644 --- a/docs/Physics.js.html +++ b/docs/Physics.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1308,7 +1308,7 @@ Phaser.Physics.prototype.constructor = Phaser.Physics; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PixelateFilter.js.html b/docs/PixelateFilter.js.html index 16d8cedb6..0e40ba907 100644 --- a/docs/PixelateFilter.js.html +++ b/docs/PixelateFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1025,7 +1025,7 @@ Object.defineProperty(PIXI.PixelateFilter.prototype, 'size', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Pixi.js.html b/docs/Pixi.js.html index d2d6c3416..d1b6c24ac 100644 --- a/docs/Pixi.js.html +++ b/docs/Pixi.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -983,7 +983,7 @@ PIXI.CANVAS_RENDERER = 1; PIXI.VERSION = "v2.2.0"; /** - * Various blend modes supported by pixi. + * Various blend modes supported by pixi. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. * @property {Object} blendModes * @property {Number} blendModes.NORMAL * @property {Number} blendModes.ADD @@ -1176,7 +1176,7 @@ PIXI.sayHello = function (type) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PixiFastShader.js.html b/docs/PixiFastShader.js.html index 091e050cb..d088acbb3 100644 --- a/docs/PixiFastShader.js.html +++ b/docs/PixiFastShader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1118,7 +1118,7 @@ PIXI.PixiFastShader.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PixiShader.js.html b/docs/PixiShader.js.html index db934fd5b..ec9b47dd0 100644 --- a/docs/PixiShader.js.html +++ b/docs/PixiShader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1351,7 +1351,7 @@ PIXI.PixiShader.defaultVertexSrc = [ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Plugin.js.html b/docs/Plugin.js.html index c64863378..f71285d39 100644 --- a/docs/Plugin.js.html +++ b/docs/Plugin.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1085,7 +1085,7 @@ Phaser.Plugin.prototype.constructor = Phaser.Plugin; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PluginManager.js.html b/docs/PluginManager.js.html index 3418ddaf2..5dff00fbe 100644 --- a/docs/PluginManager.js.html +++ b/docs/PluginManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1250,7 +1250,7 @@ Phaser.PluginManager.prototype.constructor = Phaser.PluginManager; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Point.js.html b/docs/Point.js.html index e08ed28c9..c4a6fa7ce 100644 --- a/docs/Point.js.html +++ b/docs/Point.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1018,7 +1018,7 @@ PIXI.Point.prototype.constructor = PIXI.Point; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Point.js_.html b/docs/Point.js_.html index 2f99948b3..7d58675b3 100644 --- a/docs/Point.js_.html +++ b/docs/Point.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1239,19 +1239,6 @@ Phaser.Point.prototype = { }, - /** - * Returns the angle squared between this Point object and another object with public x and y properties. - * - * @method Phaser.Point#angleSq - * @param {Phaser.Point|any} a - The object to get the angleSq from this Point to. - * @return {number} The angleSq between the two objects. - */ - angleSq: function (a) { - - return this.subtract(a).angle(a.subtract(this)); - - }, - /** * Rotates this Point around the x/y coordinates given to the desired angle. * @@ -1548,20 +1535,6 @@ Phaser.Point.angle = function (a, b) { }; -/** -* Returns the angle squared between two Point objects. -* -* @method Phaser.Point.angleSq -* @param {Phaser.Point} a - The first Point object. -* @param {Phaser.Point} b - The second Point object. -* @return {number} The angle squared between the two Points. -*/ -Phaser.Point.angleSq = function (a, b) { - - return a.subtract(b).angle(b.subtract(a)); - -}; - /** * Creates a negative Point. * @@ -1647,7 +1620,7 @@ Phaser.Point.rperp = function (a, out) { }; /** -* Returns the distance of this Point object to the given object (can be a Circle, Point or anything with x/y properties). +* Returns the euclidian distance of this Point object to the given object (can be a Circle, Point or anything with x/y properties). * * @method Phaser.Point.distance * @param {object} a - The target object. Must have visible x and y properties that represent the center of the object. @@ -1879,7 +1852,7 @@ PIXI.Point = Phaser.Point; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PointProxy.js.html b/docs/PointProxy.js.html index 987def015..4b321bc79 100644 --- a/docs/PointProxy.js.html +++ b/docs/PointProxy.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1065,7 +1065,7 @@ Object.defineProperty(Phaser.Physics.P2.PointProxy.prototype, "my", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Pointer.js.html b/docs/Pointer.js.html index bd850d19e..0590989af 100644 --- a/docs/Pointer.js.html +++ b/docs/Pointer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1830,7 +1830,7 @@ Object.defineProperty(Phaser.Pointer.prototype, "worldY", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Polygon.js.html b/docs/Polygon.js.html index a09f5ee9b..a54e1d914 100644 --- a/docs/Polygon.js.html +++ b/docs/Polygon.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -973,7 +973,21 @@ PIXI.Polygon = function(points) } this.closed = true; + + /** + * An array of the points of this polygon + * @property points + * @type Array(Point)|Array(Number) + * + */ this.points = points; + + /** + * The type of the object, should be one of the Graphics type consts, PIXI.Graphics.POLY in this case + * @property type + * @type Number + * @default 0 + */ }; /** @@ -1039,7 +1053,7 @@ PIXI.Polygon.prototype.constructor = PIXI.Polygon; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Polygon.js_.html b/docs/Polygon.js_.html index 22742b471..b85736958 100644 --- a/docs/Polygon.js_.html +++ b/docs/Polygon.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1209,7 +1209,7 @@ Object.defineProperty(Phaser.Polygon.prototype, 'points', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Polyk.js.html b/docs/Polyk.js.html index 009815759..665c7ad1f 100644 --- a/docs/Polyk.js.html +++ b/docs/Polyk.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1131,7 +1131,7 @@ PIXI.PolyK._convex = function(ax, ay, bx, by, cx, cy, sign) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PrimitiveShader.js.html b/docs/PrimitiveShader.js.html index 3f49ab835..ee7f16bb9 100644 --- a/docs/PrimitiveShader.js.html +++ b/docs/PrimitiveShader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -999,13 +999,14 @@ PIXI.PrimitiveShader = function(gl) 'uniform vec2 projectionVector;', 'uniform vec2 offsetVector;', 'uniform float alpha;', + 'uniform float flipY;', 'uniform vec3 tint;', 'varying vec4 vColor;', 'void main(void) {', ' vec3 v = translationMatrix * vec3(aVertexPosition , 1.0);', ' v -= offsetVector.xyx;', - ' gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / -projectionVector.y + 1.0 , 0.0, 1.0);', + ' gl_Position = vec4( v.x / projectionVector.x -1.0, (v.y / projectionVector.y * -flipY) + flipY , 0.0, 1.0);', ' vColor = aColor * vec4(tint * alpha, alpha);', '}' ]; @@ -1031,6 +1032,7 @@ PIXI.PrimitiveShader.prototype.init = function() this.projectionVector = gl.getUniformLocation(program, 'projectionVector'); this.offsetVector = gl.getUniformLocation(program, 'offsetVector'); this.tintColor = gl.getUniformLocation(program, 'tint'); + this.flipY = gl.getUniformLocation(program, 'flipY'); // get and store the attributes this.aVertexPosition = gl.getAttribLocation(program, 'aVertexPosition'); @@ -1078,7 +1080,7 @@ PIXI.PrimitiveShader.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PrismaticConstraint.js.html b/docs/PrismaticConstraint.js.html index 381c9fedb..f080eb4a2 100644 --- a/docs/PrismaticConstraint.js.html +++ b/docs/PrismaticConstraint.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1012,7 +1012,7 @@ Phaser.Physics.P2.PrismaticConstraint.prototype.constructor = Phaser.Physics.P2. Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/QuadTree.js.html b/docs/QuadTree.js.html index 9f90e05b5..ac7c2cd5f 100644 --- a/docs/QuadTree.js.html +++ b/docs/QuadTree.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1315,7 +1315,7 @@ Phaser.QuadTree.prototype.constructor = Phaser.QuadTree; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RGBSplitFilter.js.html b/docs/RGBSplitFilter.js.html index 3e8307851..836fb3868 100644 --- a/docs/RGBSplitFilter.js.html +++ b/docs/RGBSplitFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1054,7 +1054,7 @@ Object.defineProperty(PIXI.RGBSplitFilter.prototype, 'blue', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RandomDataGenerator.js.html b/docs/RandomDataGenerator.js.html index 4811572ca..bf446c8a3 100644 --- a/docs/RandomDataGenerator.js.html +++ b/docs/RandomDataGenerator.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -952,8 +952,13 @@ /** * An extremely useful repeatable random data generator. +* * Based on Nonsense by Josh Faul https://github.com/jocafa/Nonsense. -* Random number generator from http://baagoe.org/en/wiki/Better_random_numbers_for_javascript +* +* The random number genererator is based on the Alea PRNG, but is modified. +* - https://github.com/coverslide/node-alea +* - https://github.com/nquinlan/better-random-numbers-for-javascript-mirror +* - http://baagoe.org/en/wiki/Better_random_numbers_for_javascript (original, perm. 404) * * @class Phaser.RandomDataGenerator * @constructor @@ -1015,22 +1020,29 @@ Phaser.RandomDataGenerator.prototype = { /** * Reset the seed of the random data generator. * + * _Note_: the seed array is only processed up to the first `undefined` (or `null`) value, should such be present. + * * @method Phaser.RandomDataGenerator#sow - * @param {any[]} seeds + * @param {any[]} seeds - The array of seeds: the `toString()` of each value is used. */ sow: function (seeds) { - if (typeof seeds === "undefined") { seeds = []; } - + // Always reset to default seed this.s0 = this.hash(' '); this.s1 = this.hash(this.s0); this.s2 = this.hash(this.s1); this.c = 1; - var seed; - - for (var i = 0; seed = seeds[i++]; ) + if (!seeds) { + return; + } + + // Apply any seeds + for (var i = 0; i < seeds.length && (seeds[i] != null); i++) + { + var seed = seeds[i]; + this.s0 -= this.hash(seed); this.s0 += ~~(this.s0 < 0); this.s1 -= this.hash(seed); @@ -1256,7 +1268,7 @@ Phaser.RandomDataGenerator.prototype.constructor = Phaser.RandomDataGenerator; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Rectangle.js.html b/docs/Rectangle.js.html index db04f226a..4e41f42d4 100644 --- a/docs/Rectangle.js.html +++ b/docs/Rectangle.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -985,6 +985,13 @@ PIXI.Rectangle = function(x, y, width, height) * @default 0 */ this.height = height || 0; + + /** + * The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RECT in this case + * @property type + * @type Number + * @default 0 + */ }; /** @@ -1049,7 +1056,7 @@ PIXI.EmptyRectangle = new PIXI.Rectangle(0,0,0,0); Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Rectangle.js_.html b/docs/Rectangle.js_.html index d33f56af6..caf0c24f1 100644 --- a/docs/Rectangle.js_.html +++ b/docs/Rectangle.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1217,16 +1217,16 @@ Phaser.Rectangle.prototype = { }, /** - * Determines whether the two Rectangles intersect with each other. - * This method checks the x, y, width, and height properties of the Rectangles. + * Determines whether this Rectangle and another given Rectangle intersect with each other. + * This method checks the x, y, width, and height properties of the two Rectangles. + * * @method Phaser.Rectangle#intersects * @param {Phaser.Rectangle} b - The second Rectangle object. - * @param {number} tolerance - A tolerance value to allow for an intersection test with padding, default to 0. * @return {boolean} A value of true if the specified object intersects with this Rectangle object; otherwise false. */ - intersects: function (b, tolerance) { + intersects: function (b) { - return Phaser.Rectangle.intersects(this, b, tolerance); + return Phaser.Rectangle.intersects(this, b); }, @@ -1879,7 +1879,7 @@ PIXI.EmptyRectangle = new Phaser.Rectangle(0, 0, 0, 0); Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RenderTexture.js.html b/docs/RenderTexture.js.html index ca0e54382..4ce84d40a 100644 --- a/docs/RenderTexture.js.html +++ b/docs/RenderTexture.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1299,7 +1299,7 @@ PIXI.RenderTexture.tempMatrix = new PIXI.Matrix(); Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RenderTexture.js_.html b/docs/RenderTexture.js_.html index e46b43d25..d5e40b6b4 100644 --- a/docs/RenderTexture.js_.html +++ b/docs/RenderTexture.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1067,7 +1067,7 @@ Phaser.RenderTexture.prototype.render = function (displayObject, position, clear Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RequestAnimationFrame.js.html b/docs/RequestAnimationFrame.js.html index 63e38ec51..27b8914cd 100644 --- a/docs/RequestAnimationFrame.js.html +++ b/docs/RequestAnimationFrame.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1131,7 +1131,7 @@ Phaser.RequestAnimationFrame.prototype.constructor = Phaser.RequestAnimationFram Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RetroFont.js.html b/docs/RetroFont.js.html index 2def5a912..030db0489 100644 --- a/docs/RetroFont.js.html +++ b/docs/RetroFont.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1580,7 +1580,7 @@ Object.defineProperty(Phaser.RetroFont.prototype, "smoothed", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RevoluteConstraint.js.html b/docs/RevoluteConstraint.js.html index 42fb138e6..0e090d6ee 100644 --- a/docs/RevoluteConstraint.js.html +++ b/docs/RevoluteConstraint.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1014,7 +1014,7 @@ Phaser.Physics.P2.RevoluteConstraint.prototype.constructor = Phaser.Physics.P2.R Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Rope.js.html b/docs/Rope.js.html index dd1acdea6..1784166a3 100644 --- a/docs/Rope.js.html +++ b/docs/Rope.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1137,7 +1137,7 @@ PIXI.Rope.prototype.setTexture = function(texture) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Rope.js_.html b/docs/Rope.js_.html index b2a82f07a..1ec831442 100644 --- a/docs/Rope.js_.html +++ b/docs/Rope.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1792,7 +1792,7 @@ Object.defineProperty(Phaser.Rope.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RotationalSpring.js.html b/docs/RotationalSpring.js.html index 774415db2..2848c3dd8 100644 --- a/docs/RotationalSpring.js.html +++ b/docs/RotationalSpring.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1018,7 +1018,7 @@ Phaser.Physics.P2.Spring.prototype.constructor = Phaser.Physics.P2.Spring; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RoundedRectangle.js.html b/docs/RoundedRectangle.js.html index 98811caa4..8a8fef5a4 100644 --- a/docs/RoundedRectangle.js.html +++ b/docs/RoundedRectangle.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -955,7 +955,7 @@ * @param y {Number} The Y coordinate of the upper-left corner of the rounded rectangle * @param width {Number} The overall width of this rounded rectangle * @param height {Number} The overall height of this rounded rectangle - * @param radius {Number} The overall radius of this corners of this rounded rectangle + * @param radius {Number} Controls the radius of the rounded corners */ PIXI.RoundedRectangle = function(x, y, width, height, radius) { @@ -993,6 +993,13 @@ PIXI.RoundedRectangle = function(x, y, width, height, radius) * @default 20 */ this.radius = radius || 20; + + /** + * The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RRECT in this case + * @property type + * @type Number + * @default 0 + */ }; /** @@ -1057,7 +1064,7 @@ PIXI.RoundedRectangle.prototype.constructor = PIXI.RoundedRectangle; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ScaleManager.js.html b/docs/ScaleManager.js.html index 6c9245475..ef9e0a89b 100644 --- a/docs/ScaleManager.js.html +++ b/docs/ScaleManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -959,8 +959,8 @@ * dimenstions of the Display canvas's Parent container/element - the _effective CSS rules of the * canvas's Parent element play an important role_ in the operation of the ScaleManager. * -* The Display canvas - or Game size, depending {@link Phaser.ScaleManager#scaleMode scaleMode} - is updated to best utilize the Parent size. -* When in Fullscreen mode or with `parentIsWindow` the Parent size is that of the visual viewport (see {@link Phaser.ScaleManager#getParentBounds getParentBounds}). +* The Display canvas - or Game size, depending {@link #scaleMode} - is updated to best utilize the Parent size. +* When in Fullscreen mode or with {@link #parentIsWindow} the Parent size is that of the visual viewport (see {@link Phaser.ScaleManager#getParentBounds getParentBounds}). * * Parent and Display canvas containment guidelines: * @@ -971,6 +971,8 @@ * * - The Parent element should _not_ apply a padding as this is not accounted for. * If a padding is required apply it to the Parent's parent or apply a margin to the Parent. +* If you need to add a border, margin or any other CSS around your game container, then use a parent element and +* apply the CSS to this instead, otherwise you'll be constantly resizing the shape of the game container. * * - The Display canvas layout CSS styles (ie. margins, size) should not be altered/specified as * they may be updated by the ScaleManager. @@ -1026,8 +1028,8 @@ Phaser.ScaleManager = function (game, width, height) { /** * Minimum width the canvas should be scaled to (in pixels). - * Change with `setMinMax`. - * @property {number} minWidth + * Change with {@link #setMinMax}. + * @property {?number} minWidth * @readonly * @protected */ @@ -1036,8 +1038,8 @@ Phaser.ScaleManager = function (game, width, height) { /** * Maximum width the canvas should be scaled to (in pixels). * If null it will scale to whatever width the browser can handle. - * Change with `setMinMax`. - * @property {number} maxWidth + * Change with {@link #setMinMax}. + * @property {?number} maxWidth * @readonly * @protected */ @@ -1045,8 +1047,8 @@ Phaser.ScaleManager = function (game, width, height) { /** * Minimum height the canvas should be scaled to (in pixels). - * Change with `setMinMax`. - * @property {number} minHeight + * Change with {@link #setMinMax}. + * @property {?number} minHeight * @readonly * @protected */ @@ -1055,8 +1057,8 @@ Phaser.ScaleManager = function (game, width, height) { /** * Maximum height the canvas should be scaled to (in pixels). * If null it will scale to whatever height the browser can handle. - * Change with `setMinMax`. - * @property {number} maxHeight + * Change with {@link #setMinMax}. + * @property {?number} maxHeight * @readonly * @protected */ @@ -1073,7 +1075,7 @@ Phaser.ScaleManager = function (game, width, height) { /** * If true, the game should only run in a landscape orientation. - * Change with `forceOrientation`. + * Change with {@link #forceOrientation}. * @property {boolean} forceLandscape * @readonly * @default @@ -1083,7 +1085,7 @@ Phaser.ScaleManager = function (game, width, height) { /** * If true, the game should only run in a portrait - * Change with `forceOrientation`. + * Change with {@link #forceOrientation}. * @property {boolean} forcePortrait * @readonly * @default @@ -1092,7 +1094,7 @@ Phaser.ScaleManager = function (game, width, height) { this.forcePortrait = false; /** - * True if the `forceLandscape` or `forcePortrait` are set and do not agree with the browser orientation. + * True if {@link #forceLandscape} or {@link #forcePortrait} are set and do not agree with the browser orientation. * * This value is not updated immediately. * @@ -1103,14 +1105,14 @@ Phaser.ScaleManager = function (game, width, height) { this.incorrectOrientation = false; /** - * See `pageAlignHorizontally`. + * See {@link #pageAlignHorizontally}. * @property {boolean} _pageAlignHorizontally * @private */ this._pageAlignHorizontally = false; /** - * See `pageAlignVertically`. + * See {@link #pageAlignVertically}. * @property {boolean} _pageAlignVertically * @private */ @@ -1141,7 +1143,7 @@ Phaser.ScaleManager = function (game, width, height) { * // The orientation just became incorrect: * scale.incorrectOrientation && !wasIncorrect * - * It is possible that this signal is triggered after `forceOrientation` so the orientation + * It is possible that this signal is triggered after {@link #forceOrientation} so the orientation * correctness changes even if the orientation itself does not change. * * This is signaled from `preUpdate` (or `pauseUpdate`) _even when_ the game is paused. @@ -1174,7 +1176,7 @@ Phaser.ScaleManager = function (game, width, height) { this.enterPortrait = new Phaser.Signal(); /** - * This signal is dispatched when the browser enters an incorrect orientation, as defined by `forceOrientation`. + * This signal is dispatched when the browser enters an incorrect orientation, as defined by {@link #forceOrientation}. * * This is signaled from `preUpdate` (or `pauseUpdate`) _even when_ the game is paused. * @@ -1184,7 +1186,7 @@ Phaser.ScaleManager = function (game, width, height) { this.enterIncorrectOrientation = new Phaser.Signal(); /** - * This signal is dispatched when the browser leaves an incorrect orientation, as defined by `forceOrientation`. + * This signal is dispatched when the browser leaves an incorrect orientation, as defined by {@link #forceOrientation}. * * This is signaled from `preUpdate` (or `pauseUpdate`) _even when_ the game is paused. * @@ -1209,8 +1211,8 @@ Phaser.ScaleManager = function (game, width, height) { this.fullScreenTarget = null; /** - * The fullscreen target, as created by `createFullScreenTarget`. - * This is not set if `fullScreenTarget` is used and is cleared when fullscreen mode ends. + * The fullscreen target, as created by {@link #createFullScreenTarget}. + * This is not set if {@link #fullScreenTarget} is used and is cleared when fullscreen mode ends. * @property {?DOMElement} _createdFullScreenTarget * @private */ @@ -1222,12 +1224,12 @@ Phaser.ScaleManager = function (game, width, height) { * * The signal is passed two arguments: `scale` (the ScaleManager), and an object in the form `{targetElement: DOMElement}`. * - * The `targetElement` is the {@link Phaser.ScaleManager#fullScreenTarget fullScreenTarget} element, - * if such is assigned, or a new element created by {@link Phaser.ScaleManager#createFullScreenTarget createFullScreenTarget}. + * The `targetElement` is the {@link #fullScreenTarget} element, + * if such is assigned, or a new element created by {@link #createFullScreenTarget}. * * Custom CSS styling or resets can be applied to `targetElement` as required. * - * If `targetElement` is _not_ the same element as {@link Phaser.ScaleManager.fullScreenTarget}: + * If `targetElement` is _not_ the same element as {@link #fullScreenTarget}: * - After initialization the Display canvas is moved onto the `targetElement` for * the duration of the fullscreen mode, and restored to it's original DOM location when fullscreen is exited. * - The `targetElement` is moved/reparanted within the DOM and may have its CSS styles updated. @@ -1281,7 +1283,7 @@ Phaser.ScaleManager = function (game, width, height) { /** * This signal is dispatched when the browser fails to enter fullscreen mode; - * or if the device does not support fullscreen mode and `startFullScreen` is invoked. + * or if the device does not support fullscreen mode and {@link #startFullScreen} is invoked. * * @property {Phaser.Signal} fullScreenFailed * @public @@ -1372,7 +1374,10 @@ Phaser.ScaleManager = function (game, width, height) { /** * Various compatibility settings. - * The `(auto)` value indicates the setting is configured based on device and runtime information. + * A value of "(auto)" indicates the setting is configured based on device and runtime information. + * + * A {@link #refresh} may need to be peformed after making changes. + * * @protected * * @property {boolean} [supportsFullscreen=(auto)] - True only if fullscreen support will be used. (Changing to fullscreen still might not work.) @@ -1384,8 +1389,14 @@ Phaser.ScaleManager = function (game, width, height) { * @property {?Phaser.Point} [scrollTo=(auto)] - If specified the window will be scrolled to this position on every refresh. * * @property {boolean} [forceMinimumDocumentHeight=false] - If enabled the document elements minimum height is explicity set on updates. + * The height set varies by device and may either be the height of the window or the viewport. * * @property {boolean} [canExpandParent=true] - If enabled then SHOW_ALL and USER_SCALE modes can try and expand the parent element. It may be necessary for the parent element to impose CSS width/height restrictions. + * + * @property {string} [clickTrampoline=(auto)] - On certain browsers (eg. IE) FullScreen events need to be triggered via 'click' events. + * A value of 'when-not-mouse' uses a click trampoline when a pointer that is not the primary mouse is used. + * Any other string value (including the empty string) prevents using click trampolines. + * For more details on click trampolines see {@link Phaser.Pointer#addClickTrampoline}. */ this.compatibility = { supportsFullScreen: false, @@ -1393,7 +1404,8 @@ Phaser.ScaleManager = function (game, width, height) { noMargins: false, scrollTo: null, forceMinimumDocumentHeight: false, - canExpandParent: true + canExpandParent: true, + clickTrampoline: '' }; /** @@ -1411,18 +1423,22 @@ Phaser.ScaleManager = function (game, width, height) { this._fullScreenScaleMode = Phaser.ScaleManager.NO_SCALE; /** - * If the parent container of the game is the browser window (ie. document.body), rather than a div, this should set to `true`. + * If the parent container of the Game canvas is the browser window itself (ie. document.body), + * rather than another div, this should set to `true`. + * + * The {@link #parentNode} property is generally ignored while this is in effect. + * * @property {boolean} parentIsWindow - * @readonly */ this.parentIsWindow = false; /** * The _original_ DOM element for the parent of the Display canvas. - * This may be different in fullscreen - see `createFullScreenTarget`. + * This may be different in fullscreen - see {@link #createFullScreenTarget}. + * + * This should only be changed after moving the Game canvas to a different DOM parent. * * @property {?DOMElement} parentNode - * @readonly */ this.parentNode = null; @@ -1469,7 +1485,7 @@ Phaser.ScaleManager = function (game, width, height) { this.onResize = null; /** - * The context in which the `onResize` callback will be called. + * The context in which the {@link #onResize} callback will be called. * @property {object} onResizeContext * @private */ @@ -1483,7 +1499,7 @@ Phaser.ScaleManager = function (game, width, height) { this._fullScreenRestore = null; /** - * The _actual_ game dimensions, as initially set or set by `setGameSize`. + * The _actual_ game dimensions, as initially set or set by {@link #setGameSize}. * @property {Phaser.Rectangle} _gameSize * @private */ @@ -1636,10 +1652,12 @@ Phaser.ScaleManager.prototype = { if (this.game.device.desktop) { compat.orientationFallback = 'screen'; + compat.clickTrampoline = 'when-not-mouse'; } else { compat.orientationFallback = ''; + compat.clickTrampoline = ''; } // Configure event listeners @@ -1874,17 +1892,17 @@ Phaser.ScaleManager.prototype = { /** * Sets the callback that will be invoked before sizing calculations. * - * This is the appropriate place to call `setUserScale` if needing custom dynamic scaling. + * This is the appropriate place to call {@link #setUserScale} if needing custom dynamic scaling. * * The callback is supplied with two arguments `scale` and `parentBounds` where `scale` is the ScaleManager * and `parentBounds`, a Phaser.Rectangle, is the size of the Parent element. * * This callback * - May be invoked even though the parent container or canvas sizes have not changed - * - Unlike `onSizeChange`, it runs _before_ the canvas is guaranteed to be updated + * - Unlike {@link #onSizeChange}, it runs _before_ the canvas is guaranteed to be updated * - Will be invoked from `preUpdate`, _even when_ the game is paused * - * See `onSizeChange` for a better way of reacting to layout updates. + * See {@link #onSizeChange} for a better way of reacting to layout updates. * * @method Phaser.ScaleManager#setResizeCallback * @public @@ -1901,7 +1919,7 @@ Phaser.ScaleManager.prototype = { /** * Signals a resize - IF the canvas or Game size differs from the last signal. * - * This also triggers updates on `grid` (FlexGrid) and, if in a RESIZE mode, `game.state` (StateManager). + * This also triggers updates on {@link #grid} (FlexGrid) and, if in a RESIZE mode, `game.state` (StateManager). * * @method Phaser.ScaleMager#signalSizeChange * @private @@ -2067,7 +2085,7 @@ Phaser.ScaleManager.prototype = { /** * Update relevant scaling values based on the ScaleManager dimension and game dimensions, - * which should already be set. This does not change `sourceAspectRatio`. + * which should already be set. This does not change {@link #sourceAspectRatio}. * * @method Phaser.ScaleManager#updateScalingAndBounds * @private @@ -2244,18 +2262,19 @@ Phaser.ScaleManager.prototype = { }, /** - * The `refresh` methods informs the ScaleManager that a layout refresh is required. + * The "refresh" methods informs the ScaleManager that a layout refresh is required. * * The ScaleManager automatically queues a layout refresh (eg. updates the Game size or Display canvas layout) * when the browser is resized, the orientation changes, or when there is a detected change * of the Parent size. Refreshing is also done automatically when public properties, - * such as `scaleMode`, are updated or state-changing methods are invoked. + * such as {@link #scaleMode}, are updated or state-changing methods are invoked. * - * The `refresh` method _may_ need to be used in a few (rare) situtations when + * The "refresh" method _may_ need to be used in a few (rare) situtations when * * - a device change event is not correctly detected; or * - the Parent size changes (and an immediate reflow is desired); or - * - the ScaleManager state is updated by non-standard means. + * - the ScaleManager state is updated by non-standard means; or + * - certain {@link #compatibility} properties are manually changed. * * The queued layout refresh is not immediate but will run promptly in an upcoming `preRender`. * @@ -2352,10 +2371,10 @@ Phaser.ScaleManager.prototype = { /** * Returns the computed Parent size/bounds that the Display canvas is allowed/expected to fill. * - * If in fullscreen mode or without parent (see {@link Phaser.ScaleManager#parentIsWindow parentIsWindow}), + * If in fullscreen mode or without parent (see {@link #parentIsWindow}), * this will be the bounds of the visual viewport itself. * - * This function takes the `windowConstraints` into consideration - if the parent is partially outside + * This function takes the {@link #windowConstraints} into consideration - if the parent is partially outside * the viewport then this function may return a smaller than expected size. * * Values are rounded to the nearest pixel. @@ -2638,7 +2657,7 @@ Phaser.ScaleManager.prototype = { /** * Updates the width/height such that the game is stretched to the available size. - * Honors `maxWidth` and `maxHeight` when _not_ in fullscreen. + * Honors {@link #maxWidth} and {@link #maxHeight} when _not_ in fullscreen. * * @method Phaser.ScaleManager#setExactFit * @private @@ -2670,9 +2689,9 @@ Phaser.ScaleManager.prototype = { /** * Creates a fullscreen target. This is called automatically as as needed when entering - * fullscreen mode and the resulting element is supplied to `onFullScreenInit`. + * fullscreen mode and the resulting element is supplied to {@link #onFullScreenInit}. * - * Use {@link Phaser.ScaleManager#onFullScreenInit onFullScreenInit} to customize the created object. + * Use {@link #onFullScreenInit} to customize the created object. * * @method Phaser.ScaleManager#createFullScreenTarget * @protected @@ -2693,10 +2712,10 @@ Phaser.ScaleManager.prototype = { * Start the browsers fullscreen mode - this _must_ be called from a user input Pointer or Mouse event. * * The Fullscreen API must be supported by the browser for this to work - it is not the same as setting - * the game size to fill the browser window. See `compatibility.supportsFullScreen` to check if the current + * the game size to fill the browser window. See {@link Phaser.ScaleManager#compatibility compatibility.supportsFullScreen} to check if the current * device is reported to support fullscreen mode. * - * The `fullScreenFailed` signal will be dispatched if the fullscreen change request failed or the game does not support the Fullscreen API. + * The {@link #fullScreenFailed} signal will be dispatched if the fullscreen change request failed or the game does not support the Fullscreen API. * * @method Phaser.ScaleManager#startFullScreen * @public @@ -2721,13 +2740,17 @@ Phaser.ScaleManager.prototype = { return; } - // IE11 clicks trigger MSPointer which is not the mousePointer - var input = this.game.input; - - if (input.activePointer !== input.mousePointer && (allowTrampoline || allowTrampoline !== false)) + if (this.compatibility.clickTrampoline === 'when-not-mouse') { - input.activePointer.addClickTrampoline("startFullScreen", this.startFullScreen, this, [antialias, false]); - return; + var input = this.game.input; + + if (input.activePointer && + input.activePointer !== input.mousePointer && + (allowTrampoline || allowTrampoline !== false)) + { + input.activePointer.addClickTrampoline("startFullScreen", this.startFullScreen, this, [antialias, false]); + return; + } } if (typeof antialias !== 'undefined' && this.game.renderType === Phaser.CANVAS) @@ -3065,7 +3088,8 @@ Phaser.ScaleManager.prototype.setScreenSize = Phaser.ScaleManager.prototype.upda Phaser.ScaleManager.prototype.setSize = Phaser.ScaleManager.prototype.reflowCanvas; /** -* Checks if the browser is in the correct orientation for the game, dependent upon `forceLandscape` and `forcePortrait`, and updates the state. +* Checks if the browser is in the correct orientation for the game, +* dependent upon {@link #forceLandscape} and {@link #forcePortrait}, and updates the state. * * The appropriate event is dispatched if the orientation became valid or invalid. * @@ -3089,7 +3113,7 @@ Phaser.ScaleManager.prototype.checkOrientationState = function () { /** * The DOM element that is considered the Parent bounding element, if any. * -* This `null` if `parentIsWindow` is true or if fullscreen mode is entered and `fullScreenTarget` is specified. +* This `null` if {@link #parentIsWindow} is true or if fullscreen mode is entered and {@link #fullScreenTarget} is specified. * It will also be null if there is no game canvas or if the game canvas has no parent. * * @name Phaser.ScaleManager#boundingParent @@ -3134,7 +3158,7 @@ Object.defineProperty(Phaser.ScaleManager.prototype, "boundingParent", { * The dimensions of the game display area are changed to match the size of the parent container. * That is, this mode _changes the Game size_ to match the display size. * <p> -* Any manually set Game size (see `setGameSize`) is ignored while in effect. +* Any manually set Game size (see {@link #setGameSize}) is ignored while in effect. * </dd> * <dt>{@link Phaser.ScaleManager.USER_SCALE}</dt> * <dd> @@ -3237,12 +3261,12 @@ Object.defineProperty(Phaser.ScaleManager.prototype, "currentScaleMode", { }); /** -* If true then the Display canvas will be horizontally-aligned _in the parent container_. +* When enabled the Display canvas will be horizontally-aligned _in the Parent container_ (or {@link Phaser.ScaleManager#parentIsWindow window}). * -* To align across the page the Display canvas should be added directly to page; -* or the parent container should itself be aligned. +* To align horizontally across the page the Display canvas should be added directly to page; +* or the parent container should itself be horizontally aligned. * -* This is not applicable for the `RESIZE` scaling mode. +* Horizontal alignment is not applicable with the {@link .RESIZE} scaling mode. * * @name Phaser.ScaleManager#pageAlignHorizontally * @property {boolean} pageAlignHorizontally @@ -3269,12 +3293,19 @@ Object.defineProperty(Phaser.ScaleManager.prototype, "pageAlignHorizontally", { }); /** -* If true then the Display canvas will be vertically-aligned _in the parent container_. +* When enabled the Display canvas will be vertically-aligned _in the Parent container_ (or {@link Phaser.ScaleManager#parentIsWindow window}). * -* To align across the page the Display canvas should be added directly to page; -* or the parent container should itself be aligned. +* To align vertically the Parent element should have a _non-collapsible_ height, such that it will maintain +* a height _larger_ than the height of the contained Game canvas - the game canvas will then be scaled vertically +* _within_ the remaining available height dictated by the Parent element. * -* This is not applicable for the `RESIZE` scaling mode. +* One way to prevent the parent from collapsing is to add an absolute "min-height" CSS property to the parent element. +* If specifying a relative "min-height/height" or adjusting margins, the Parent height must still be non-collapsible (see note). +* +* _Note_: In version 2.2 the minimum document height is _not_ automatically set to the viewport/window height. +* To automatically update the minimum document height set {@link Phaser.ScaleManager#compatibility compatibility.forceMinimumDocumentHeight} to true. +* +* Vertical alignment is not applicable with the {@link .RESIZE} scaling mode. * * @name Phaser.ScaleManager#pageAlignVertically * @property {boolean} pageAlignVertically @@ -3352,7 +3383,7 @@ Object.defineProperty(Phaser.ScaleManager.prototype, "isLandscape", { * @name Phaser.ScaleManager#orientation * @property {integer} orientation * @readonly -* @deprecated 2.2.0 - Use `ScaleManager.screenOrientation` instead. +* @deprecated 2.2.0 - Use {@link #screenOrientation} instead. */ Object.defineProperty(Phaser.ScaleManager.prototype, "orientation", { @@ -3383,7 +3414,7 @@ Object.defineProperty(Phaser.ScaleManager.prototype, "orientation", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SepiaFilter.js.html b/docs/SepiaFilter.js.html index df9e64a3e..75a9f50dd 100644 --- a/docs/SepiaFilter.js.html +++ b/docs/SepiaFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1018,7 +1018,7 @@ Object.defineProperty(PIXI.SepiaFilter.prototype, 'sepia', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Signal.js.html b/docs/Signal.js.html index b26526353..9dc2cb300 100644 --- a/docs/Signal.js.html +++ b/docs/Signal.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1389,7 +1389,7 @@ Phaser.Signal.prototype.constructor = Phaser.Signal; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SignalBinding.js.html b/docs/SignalBinding.js.html index 6b872d4a4..ae34500a3 100644 --- a/docs/SignalBinding.js.html +++ b/docs/SignalBinding.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1143,7 +1143,7 @@ Phaser.SignalBinding.prototype.constructor = Phaser.SignalBinding; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SinglePad.js.html b/docs/SinglePad.js.html index 261ecb129..52e69711f 100644 --- a/docs/SinglePad.js.html +++ b/docs/SinglePad.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1517,7 +1517,7 @@ Phaser.SinglePad.prototype.constructor = Phaser.SinglePad; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SmartBlurFilter.js.html b/docs/SmartBlurFilter.js.html index ad2e413bf..9d8090d17 100644 --- a/docs/SmartBlurFilter.js.html +++ b/docs/SmartBlurFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1038,7 +1038,7 @@ Object.defineProperty(PIXI.SmartBlurFilter.prototype, 'blur', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Sound.js.html b/docs/Sound.js.html index 934bc1472..0a1dd02f8 100644 --- a/docs/Sound.js.html +++ b/docs/Sound.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1391,7 +1391,7 @@ Phaser.Sound.prototype = { */ play: function (marker, position, volume, loop, forceRestart) { - if (typeof marker === 'undefined') { marker = ''; } + if (typeof marker === 'undefined' || marker === false || marker === null) { marker = ''; } if (typeof forceRestart === 'undefined') { forceRestart = true; } if (this.isPlaying && !this.allowMultiple && !forceRestart && !this.override) @@ -1400,7 +1400,7 @@ Phaser.Sound.prototype = { return this; } - if (this.isPlaying && !this.allowMultiple && (this.override || forceRestart)) + if (this._sound && this.isPlaying && !this.allowMultiple && (this.override || forceRestart)) { if (this.usingWebAudio) { @@ -1410,7 +1410,11 @@ Phaser.Sound.prototype = { } else { - this._sound.stop(0); + try { + this._sound.stop(0); + } + catch (e) { + } } } else if (this.usingAudioTag) @@ -1420,10 +1424,17 @@ Phaser.Sound.prototype = { } } - this.currentMarker = marker; + if (marker === '' && Object.keys(this.markers).length > 0) + { + // If they didn't specify a marker but this is an audio sprite, + // we should never play the entire thing + return this; + } if (marker !== '') { + this.currentMarker = marker; + if (this.markers[marker]) { // Playing a marker? Then we default to the marker values @@ -1983,7 +1994,7 @@ Object.defineProperty(Phaser.Sound.prototype, "volume", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SoundManager.js.html b/docs/SoundManager.js.html index 7aed72496..d299ed90f 100644 --- a/docs/SoundManager.js.html +++ b/docs/SoundManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1606,7 +1606,7 @@ Object.defineProperty(Phaser.SoundManager.prototype, "volume", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Spine.js.html b/docs/Spine.js.html index 2b77e8364..a8164c8cc 100644 --- a/docs/Spine.js.html +++ b/docs/Spine.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -3589,7 +3589,7 @@ spine.SkeletonBounds.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SpineLoader.js.html b/docs/SpineLoader.js.html index fad883694..f853440bf 100644 --- a/docs/SpineLoader.js.html +++ b/docs/SpineLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1044,7 +1044,7 @@ PIXI.SpineLoader.prototype.onLoaded = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Spring.js.html b/docs/Spring.js.html index 95f3c94cb..22f4ece34 100644 --- a/docs/Spring.js.html +++ b/docs/Spring.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1039,7 +1039,7 @@ Phaser.Physics.P2.Spring.prototype.constructor = Phaser.Physics.P2.Spring; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Sprite.js.html b/docs/Sprite.js.html index e0bbf1f19..bf75d1ab7 100644 --- a/docs/Sprite.js.html +++ b/docs/Sprite.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1430,7 +1430,7 @@ PIXI.Sprite.fromImage = function(imageId, crossorigin, scaleMode) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Sprite.js_.html b/docs/Sprite.js_.html index 966c74bd5..6e0465d12 100644 --- a/docs/Sprite.js_.html +++ b/docs/Sprite.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2324,7 +2324,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SpriteBatch.js.html b/docs/SpriteBatch.js.html index b788135df..3e2b43bc3 100644 --- a/docs/SpriteBatch.js.html +++ b/docs/SpriteBatch.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1140,7 +1140,7 @@ PIXI.SpriteBatch.prototype._renderCanvas = function(renderSession) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SpriteBatch.js_.html b/docs/SpriteBatch.js_.html index 0c00ccacb..8a175743d 100644 --- a/docs/SpriteBatch.js_.html +++ b/docs/SpriteBatch.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1002,7 +1002,7 @@ Phaser.SpriteBatch.prototype.constructor = Phaser.SpriteBatch; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SpriteSheetLoader.js.html b/docs/SpriteSheetLoader.js.html index bc7c5a78b..13c6b5e6e 100644 --- a/docs/SpriteSheetLoader.js.html +++ b/docs/SpriteSheetLoader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1057,7 +1057,7 @@ PIXI.SpriteSheetLoader.prototype.onLoaded = function () { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Stage.js.html b/docs/Stage.js.html index 6979a36f0..4d8b18496 100644 --- a/docs/Stage.js.html +++ b/docs/Stage.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1098,7 +1098,7 @@ PIXI.Stage.prototype.getMousePosition = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Stage.js_.html b/docs/Stage.js_.html index 6b09e16ee..31cc51d18 100644 --- a/docs/Stage.js_.html +++ b/docs/Stage.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1135,6 +1135,23 @@ Phaser.Stage.prototype.postUpdate = function () { }; +/** +* Updates the transforms for all objects on the display list. +* This overrides the Pixi default as we don't need the interactionManager, but do need the game property check. +* +* @method Phaser.Stage#updateTransform +*/ +Phaser.Stage.prototype.updateTransform = function () { + + this.worldAlpha = 1; + + for (var i = 0, j = this.children.length; i < j; i++) + { + this.children[i].updateTransform(); + } + +}; + /** * Starts a page visibility event listener running, or window.blur/focus if not supported by the browser. * @method Phaser.Stage#checkVisibility @@ -1338,7 +1355,7 @@ Object.defineProperty(Phaser.Stage.prototype, "smoothed", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/State.js.html b/docs/State.js.html index 12732cb59..9abd5bd6c 100644 --- a/docs/State.js.html +++ b/docs/State.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1046,6 +1046,16 @@ Phaser.State = function () { Phaser.State.prototype = { + /** + * init is the very first function called when your State starts up. It's called before preload, create or anything else. + * If you need to route the game away to another State you could do so here, or if you need to prepare a set of variables + * or objects before the preloading starts. + * + * @method Phaser.State#init + */ + init: function () { + }, + /** * preload is called first. Normally you'd use this to load your game assets (or those needed for the current State) * You shouldn't create any objects in this method that require assets that you're also loading in this method, as @@ -1158,7 +1168,7 @@ Phaser.State.prototype.constructor = Phaser.State; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/StateManager.js.html b/docs/StateManager.js.html index af0273e27..b0cb55946 100644 --- a/docs/StateManager.js.html +++ b/docs/StateManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1715,7 +1715,7 @@ Phaser.StateManager.prototype.constructor = Phaser.StateManager; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Strip.js.html b/docs/Strip.js.html index e95fa675e..1b24d1686 100644 --- a/docs/Strip.js.html +++ b/docs/Strip.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1432,7 +1432,7 @@ PIXI.Strip.DrawModes = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/StripShader.js.html b/docs/StripShader.js.html index 5ee56306c..d910f97c7 100644 --- a/docs/StripShader.js.html +++ b/docs/StripShader.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1086,7 +1086,7 @@ PIXI.StripShader.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Text.js.html b/docs/Text.js.html index 542b2ea3f..b6dd2813e 100644 --- a/docs/Text.js.html +++ b/docs/Text.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1149,6 +1149,10 @@ PIXI.Text.prototype.updateText = function() if(navigator.isCocoonJS) this.context.clearRect(0,0,this.canvas.width,this.canvas.height); + // used for debugging.. + //this.context.fillStyle ="#FF0000" + //this.context.fillRect(0, 0, this.canvas.width,this.canvas.height); + this.context.font = this.style.font; this.context.strokeStyle = this.style.stroke; this.context.lineWidth = this.style.strokeThickness; @@ -1377,6 +1381,8 @@ PIXI.Text.prototype.determineFontProperties = function(fontStyle) } properties.descent = i - baseline; + //TODO might need a tweak. kind of a temp fix! + properties.descent += 6; properties.fontSize = properties.ascent + properties.descent; PIXI.Text.fontPropertiesCache[fontStyle] = properties; @@ -1490,7 +1496,7 @@ PIXI.Text.fontPropertiesContext = PIXI.Text.fontPropertiesCanvas.getContext('2d' Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Text.js_.html b/docs/Text.js_.html index bc6ecdd98..724f4aa2f 100644 --- a/docs/Text.js_.html +++ b/docs/Text.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2005,7 +2005,7 @@ Object.defineProperty(Phaser.Text.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Texture.js.html b/docs/Texture.js.html index 7ef1d5a9b..e3e7a4690 100644 --- a/docs/Texture.js.html +++ b/docs/Texture.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1292,7 +1292,7 @@ PIXI.Texture.emptyTexture = new PIXI.Texture(new PIXI.BaseTexture()); Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tile.js.html b/docs/Tile.js.html index 46e0121b5..771939dda 100644 --- a/docs/Tile.js.html +++ b/docs/Tile.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1734,7 +1734,7 @@ Phaser.Physics.Ninja.Tile.TYPE_HALF = 30; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tile.js_.html b/docs/Tile.js_.html index e06194619..b857de45b 100644 --- a/docs/Tile.js_.html +++ b/docs/Tile.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1360,7 +1360,7 @@ Object.defineProperty(Phaser.Tile.prototype, "bottom", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TileSprite.js.html b/docs/TileSprite.js.html index 7fb5ca89d..8d1b07954 100644 --- a/docs/TileSprite.js.html +++ b/docs/TileSprite.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1772,7 +1772,7 @@ Object.defineProperty(Phaser.TileSprite.prototype, "destroyPhase", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tilemap.js.html b/docs/Tilemap.js.html index cf726ca40..1f3215208 100644 --- a/docs/Tilemap.js.html +++ b/docs/Tilemap.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2857,7 +2857,7 @@ Object.defineProperty(Phaser.Tilemap.prototype, "layer", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TilemapLayer.js.html b/docs/TilemapLayer.js.html index cda39e1b3..0b482cd26 100644 --- a/docs/TilemapLayer.js.html +++ b/docs/TilemapLayer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -952,6 +952,7 @@ * A TilemapLayer is a Phaser.Image/Sprite that renders a specific TileLayer of a Tilemap. * * Since a TilemapLayer is a Sprite it can be moved around the display, added to other groups or display objects, etc. +* * By default TilemapLayers have fixedToCamera set to `true`. Changing this will break Camera follow and scrolling behaviour. * * @class Phaser.TilemapLayer @@ -1005,7 +1006,7 @@ Phaser.TilemapLayer = function (game, tilemap, index, width, height) { * @property {HTMLCanvasElement} canvas * @protected */ - this.canvas = Phaser.Canvas.create(width, height, '', true); + this.canvas = Phaser.Canvas.create(width, height); /** * The 2d context of the canvas. @@ -1068,15 +1069,24 @@ Phaser.TilemapLayer = function (game, tilemap, index, width, height) { /** * Settings that control standard (non-diagnostic) rendering. * - * @public - * @property {boolean} enableScrollDelta - When enabled, only new newly exposed areas of the layer are redraw after scrolling. This can greatly improve scrolling rendering performance, especially when there are many small tiles. + * @property {boolean} [enableScrollDelta=true] - Delta scroll rendering only draws tiles/edges as them come into view. + * This can greatly improve scrolling rendering performance, especially when there are many small tiles. + * It should only be disabled in rare cases. + * + * @property {?DOMCanvasElement} [copyCanvas=(auto)] - [Internal] If set, force using a separate (shared) copy canvas. + * Using a canvas bitblt/copy when the source and destinations region overlap produces unexpected behavior + * in some browsers, notably Safari. + * + * @property {integer} copySliceCount - [Internal] The number of vertical slices to copy when using a `copyCanvas`. + * This is ratio of the pixel count of the primary canvas to the copy canvas. + * * @default */ this.renderSettings = { - enableScrollDelta: true, - overdrawRatio: 0.20 - + overdrawRatio: 0.20, + copyCanvas: null, + copySliceCount: 4 }; /** @@ -1201,6 +1211,35 @@ Phaser.TilemapLayer = function (game, tilemap, index, width, height) { */ this._results = []; + if (!game.device.canvasBitBltShift) + { + this.renderSettings.copyCanvas = Phaser.TilemapLayer.ensureSharedCopyCanvas(); + } + +}; + +/** +* The shared double-copy canvas, created as needed. +* +* @private +* @static +*/ +Phaser.TilemapLayer.sharedCopyCanvas = null; + +/** +* Create if needed (and return) a shared copy canvas that is shared across all TilemapLayers. +* +* Code that uses the canvas is responsible to ensure the dimensions and save/restore state as appropriate. +* +* @protected +* @static +*/ +Phaser.TilemapLayer.ensureSharedCopyCanvas = function () { + if (!this.sharedCopyCanvas) + { + this.sharedCopyCanvas = Phaser.Canvas.create(2, 2); + } + return this.sharedCopyCanvas; }; Phaser.TilemapLayer.prototype = Object.create(Phaser.Image.prototype); @@ -1478,9 +1517,6 @@ Phaser.TilemapLayer.prototype.getTiles = function (x, y, width, height, collides x = this._fixX(x); y = this._fixY(y); - var tw = this._mc.tileWidth; - var th = this._mc.tileHeight; - // Convert the pixel values into tile coordinates var tx = Math.floor(x / this._mc.cw); var ty = Math.floor(y / this._mc.ch); @@ -1534,7 +1570,8 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "wrap", { }); /** -* Returns the appropriate tileset for the index, updating the internal cache as required. This should only be called if `tilesets[index]` evaluates to undefined. +* Returns the appropriate tileset for the index, updating the internal cache as required. +* This should only be called if `tilesets[index]` evaluates to undefined. * * @method Phaser.TilemapLayer#resolveTileset * @private @@ -1568,7 +1605,9 @@ Phaser.TilemapLayer.prototype.resolveTileset = function (tileIndex) }; /** -* The TilemapLayer caches tileset look-ups. Call this method of clear the cache if tilesets have been added or updated after the layer has been rendered. +* The TilemapLayer caches tileset look-ups. +* +* Call this method of clear the cache if tilesets have been added or updated after the layer has been rendered. * * @method Phaser.TilemapLayer#resetTilesetCache * @public @@ -1584,7 +1623,9 @@ Phaser.TilemapLayer.prototype.resetTilesetCache = function () }; /** -* Shifts the contents of the canvas - does extra math so that different browsers agree on the result. The specified (x/y) will be shifted to (0,0) after the copy. The newly exposed canvas area will need to be filled in. This method is problematic for transparent tiles. +* Shifts the contents of the canvas - does extra math so that different browsers agree on the result. +* +* The specified (x/y) will be shifted to (0,0) after the copy and the newly exposed canvas area will need to be filled in. * * @method Phaser.TilemapLayer#shiftCanvas * @private @@ -1617,10 +1658,53 @@ Phaser.TilemapLayer.prototype.shiftCanvas = function (context, x, y) sy = 0; } - context.save(); - context.globalCompositeOperation = 'copy'; - context.drawImage(canvas, dx, dy, copyW, copyH, sx, sy, copyW, copyH); - context.restore(); + var copyCanvas = this.renderSettings.copyCanvas; + if (copyCanvas) + { + // Copying happens in slices to minimize copy canvas size overhead + var sliceCount = this.renderSettings.copySliceCount; + var sH = Math.ceil(copyH / sliceCount); + // Ensure copy canvas is large enough + if (copyCanvas.width < copyW) { copyCanvas.width = copyW; } + if (copyCanvas.height < sH) { copyCanvas.height = sH; } + + var vShift; + if (dy >= sy) + { + // move old region up, or don't change vertically - copy top to bottom + vShift = sH; + } + else + { + // move old region down - copy segments from bottom to top + vShift = -sH; + dy += (sH * (sliceCount - 1)); + sy += (sH * (sliceCount - 1)); + } + + var copyContext = copyCanvas.getContext('2d'); + while (sliceCount--) + { + copyContext.clearRect(0, 0, copyW, sH); + copyContext.drawImage(canvas, dx, dy, copyW, sH, 0, 0, copyW, sH); + // clear allows default 'source-over' semantics + context.clearRect(sx, sy, copyW, sH); + context.drawImage(copyCanvas, 0, 0, copyW, sH, sx, sy, copyW, sH); + + dy += vShift; + sy += vShift; + } + + } + else + { + // Avoids a second copy but flickers in Safari / Safari Mobile + // Ref. https://github.com/photonstorm/phaser/issues/1439 + context.save(); + context.globalCompositeOperation = 'copy'; + context.drawImage(canvas, dx, dy, copyW, copyH, sx, sy, copyW, copyH); + context.restore(); + } }; /** @@ -2126,7 +2210,7 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "collisionHeight", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TilemapParser.js.html b/docs/TilemapParser.js.html index e8276d848..94c17594d 100644 --- a/docs/TilemapParser.js.html +++ b/docs/TilemapParser.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1265,7 +1265,7 @@ Phaser.TilemapParser = { // name, firstgid, width, height, margin, spacing, properties var set = json.tilesets[i]; - if (!set.tiles) + if (set.image) { var newSet = new Phaser.Tileset(set.name, set.firstgid, set.tilewidth, set.tileheight, set.margin, set.spacing, set.properties); @@ -1500,7 +1500,7 @@ Phaser.TilemapParser = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tileset.js.html b/docs/Tileset.js.html index ee642b48c..4aa9258c6 100644 --- a/docs/Tileset.js.html +++ b/docs/Tileset.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1224,7 +1224,7 @@ Phaser.Tileset.prototype.constructor = Phaser.Tileset; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TilingSprite.js.html b/docs/TilingSprite.js.html index 61b7c16a4..bbb69ec0c 100644 --- a/docs/TilingSprite.js.html +++ b/docs/TilingSprite.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1111,10 +1111,8 @@ PIXI.TilingSprite.prototype._renderWebGL = function(renderSession) if (this.tilingTexture && this.tilingTexture.needsUpdate) { - //TODO - tweaking - PIXI.updateWebGLTexture(this.tilingTexture.baseTexture, renderSession.gl); + renderSession.renderer.updateTexture(this.tilingTexture.baseTexture); this.tilingTexture.needsUpdate = false; - // this.tilingTexture._uvs = null; } } else @@ -1429,7 +1427,7 @@ PIXI.TilingSprite.prototype.generateTilingTexture = function(forcePowerOfTwo) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:23 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TiltShiftFilter.js.html b/docs/TiltShiftFilter.js.html index 0a878904c..ac4ad0038 100644 --- a/docs/TiltShiftFilter.js.html +++ b/docs/TiltShiftFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1045,7 +1045,7 @@ Object.defineProperty(PIXI.TiltShiftFilter.prototype, 'end', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TiltShiftXFilter.js.html b/docs/TiltShiftXFilter.js.html index a057ddce7..b1ab0f188 100644 --- a/docs/TiltShiftXFilter.js.html +++ b/docs/TiltShiftXFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1112,7 +1112,7 @@ PIXI.TiltShiftXFilter.prototype.updateDelta = function(){ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TiltShiftYFilter.js.html b/docs/TiltShiftYFilter.js.html index 64ed06115..6a1693fcd 100644 --- a/docs/TiltShiftYFilter.js.html +++ b/docs/TiltShiftYFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1112,7 +1112,7 @@ PIXI.TiltShiftYFilter.prototype.updateDelta = function(){ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Time.js.html b/docs/Time.js.html index 2ee4a18e6..3f2b9964f 100644 --- a/docs/Time.js.html +++ b/docs/Time.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1450,7 +1450,7 @@ Phaser.Time.prototype = { */ reset: function () { - this._started = this.now; + this._started = this.time; this.removeAll(); } @@ -1479,7 +1479,7 @@ Phaser.Time.prototype.constructor = Phaser.Time; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Timer.js.html b/docs/Timer.js.html index 2d71d7593..6d9f4d7a7 100644 --- a/docs/Timer.js.html +++ b/docs/Timer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1719,7 +1719,7 @@ Phaser.Timer.prototype.constructor = Phaser.Timer; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TimerEvent.js.html b/docs/TimerEvent.js.html index 1531936d8..b35d6afa1 100644 --- a/docs/TimerEvent.js.html +++ b/docs/TimerEvent.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1041,7 +1041,7 @@ Phaser.TimerEvent.prototype.constructor = Phaser.TimerEvent; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Touch.js.html b/docs/Touch.js.html index 74d6a08a0..acbaf0a1d 100644 --- a/docs/Touch.js.html +++ b/docs/Touch.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1362,7 +1362,7 @@ Object.defineProperty(Phaser.Touch.prototype, "disabled", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tween.js.html b/docs/Tween.js.html index 4bf68616f..e73635f6a 100644 --- a/docs/Tween.js.html +++ b/docs/Tween.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1286,7 +1286,7 @@ Phaser.Tween.prototype = { if (complete) { - this.onComplete.dispatch(this); + this.onComplete.dispatch(this.target, this); if (this.chainedTween) { @@ -1303,6 +1303,7 @@ Phaser.Tween.prototype = { /** * Sets the delay in milliseconds before this tween will start. If there are child tweens it sets the delay before the first child starts. * The delay is invoked as soon as you call `Tween.start`. If the tween is already running this method doesn't do anything for the current active tween. + * If you have not yet called `Tween.to` or `Tween.from` at least once then this method will do nothing, as there are no tweens to delay. * If you have child tweens and pass -1 as the index value it sets the delay across all of them. * * @method Phaser.Tween#delay @@ -1312,6 +1313,8 @@ Phaser.Tween.prototype = { */ delay: function (duration, index) { + if (this.timeline.length === 0) { return this; } + if (typeof index === 'undefined') { index = 0; } if (index === -1) @@ -1332,6 +1335,7 @@ Phaser.Tween.prototype = { /** * Sets the number of times this tween will repeat. + * If you have not yet called `Tween.to` or `Tween.from` at least once then this method will do nothing, as there are no tweens to repeat. * If you have child tweens and pass -1 as the index value it sets the number of times they'll repeat across all of them. * If you wish to define how many times this Tween and all children will repeat see Tween.repeatAll. * @@ -1342,6 +1346,8 @@ Phaser.Tween.prototype = { */ repeat: function (total, index) { + if (this.timeline.length === 0) { return this; } + if (typeof index === 'undefined') { index = 0; } if (index === -1) @@ -1363,6 +1369,7 @@ Phaser.Tween.prototype = { /** * A Tween that has yoyo set to true will run through from its starting values to its end values and then play back in reverse from end to start. * Used in combination with repeat you can create endless loops. + * If you have not yet called `Tween.to` or `Tween.from` at least once then this method will do nothing, as there are no tweens to yoyo. * If you have child tweens and pass -1 as the index value it sets the yoyo property across all of them. * If you wish to yoyo this Tween and all of its children then see Tween.yoyoAll. * @@ -1373,6 +1380,8 @@ Phaser.Tween.prototype = { */ yoyo: function(enable, index) { + if (this.timeline.length === 0) { return this; } + if (typeof index === 'undefined') { index = 0; } if (index === -1) @@ -1837,7 +1846,7 @@ Phaser.Tween.prototype.constructor = Phaser.Tween; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TweenData.js.html b/docs/TweenData.js.html index bb02ad102..f91c8960a 100644 --- a/docs/TweenData.js.html +++ b/docs/TweenData.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1484,7 +1484,7 @@ Phaser.TweenData.prototype.constructor = Phaser.TweenData; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TweenManager.js.html b/docs/TweenManager.js.html index b24c54bc9..a926ab5bb 100644 --- a/docs/TweenManager.js.html +++ b/docs/TweenManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1310,7 +1310,7 @@ Phaser.TweenManager.prototype.constructor = Phaser.TweenManager; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TwistFilter.js.html b/docs/TwistFilter.js.html index 7104028dd..8dda95d39 100644 --- a/docs/TwistFilter.js.html +++ b/docs/TwistFilter.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1065,7 +1065,7 @@ Object.defineProperty(PIXI.TwistFilter.prototype, 'angle', { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Utils.js.html b/docs/Utils.js.html index f58dba4d7..0dfe838db 100644 --- a/docs/Utils.js.html +++ b/docs/Utils.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1149,9 +1149,18 @@ PIXI.getNextPowerOfTwo = function(number) return result; } }; + +/** + * checks if the given width and height make a power of two texture + * @method isPowerOfTwo + * @param width {Number} + * @param height {Number} + * @return {Boolean} + */ PIXI.isPowerOfTwo = function(width, height) { return (width > 0 && (width & (width - 1)) === 0 && height > 0 && (height & (height - 1)) === 0); + }; @@ -1174,7 +1183,7 @@ PIXI.isPowerOfTwo = function(width, height) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Utils.js_.html b/docs/Utils.js_.html index 370a67558..6c47f42e0 100644 --- a/docs/Utils.js_.html +++ b/docs/Utils.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1355,7 +1355,7 @@ Phaser.Utils = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/VideoTexture.js.html b/docs/VideoTexture.js.html index a56749e62..9a4e19b5d 100644 --- a/docs/VideoTexture.js.html +++ b/docs/VideoTexture.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1131,7 +1131,7 @@ PIXI.VideoTexture.fromUrl = function( videoSrc, scaleMode ) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLBlendModeManager.js.html b/docs/WebGLBlendModeManager.js.html index 1e9b22868..7feda9eea 100644 --- a/docs/WebGLBlendModeManager.js.html +++ b/docs/WebGLBlendModeManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1021,7 +1021,7 @@ PIXI.WebGLBlendModeManager.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLFastSpriteBatch.js.html b/docs/WebGLFastSpriteBatch.js.html index a16c8949d..09f01cbf8 100644 --- a/docs/WebGLFastSpriteBatch.js.html +++ b/docs/WebGLFastSpriteBatch.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1167,7 +1167,7 @@ PIXI.WebGLFastSpriteBatch.prototype.renderSprite = function(sprite) if(!sprite.texture._uvs)return; } - var uvs, verticies = this.vertices, width, height, w0, w1, h0, h1, index; + var uvs, vertices = this.vertices, width, height, w0, w1, h0, h1, index; uvs = sprite.texture._uvs; @@ -1197,89 +1197,89 @@ PIXI.WebGLFastSpriteBatch.prototype.renderSprite = function(sprite) index = this.currentBatchSize * 4 * this.vertSize; // xy - verticies[index++] = w1; - verticies[index++] = h1; + vertices[index++] = w1; + vertices[index++] = h1; - verticies[index++] = sprite.position.x; - verticies[index++] = sprite.position.y; + vertices[index++] = sprite.position.x; + vertices[index++] = sprite.position.y; //scale - verticies[index++] = sprite.scale.x; - verticies[index++] = sprite.scale.y; + vertices[index++] = sprite.scale.x; + vertices[index++] = sprite.scale.y; //rotation - verticies[index++] = sprite.rotation; + vertices[index++] = sprite.rotation; // uv - verticies[index++] = uvs.x0; - verticies[index++] = uvs.y1; + vertices[index++] = uvs.x0; + vertices[index++] = uvs.y1; // color - verticies[index++] = sprite.alpha; + vertices[index++] = sprite.alpha; // xy - verticies[index++] = w0; - verticies[index++] = h1; + vertices[index++] = w0; + vertices[index++] = h1; - verticies[index++] = sprite.position.x; - verticies[index++] = sprite.position.y; + vertices[index++] = sprite.position.x; + vertices[index++] = sprite.position.y; //scale - verticies[index++] = sprite.scale.x; - verticies[index++] = sprite.scale.y; + vertices[index++] = sprite.scale.x; + vertices[index++] = sprite.scale.y; //rotation - verticies[index++] = sprite.rotation; + vertices[index++] = sprite.rotation; // uv - verticies[index++] = uvs.x1; - verticies[index++] = uvs.y1; + vertices[index++] = uvs.x1; + vertices[index++] = uvs.y1; // color - verticies[index++] = sprite.alpha; + vertices[index++] = sprite.alpha; // xy - verticies[index++] = w0; - verticies[index++] = h0; + vertices[index++] = w0; + vertices[index++] = h0; - verticies[index++] = sprite.position.x; - verticies[index++] = sprite.position.y; + vertices[index++] = sprite.position.x; + vertices[index++] = sprite.position.y; //scale - verticies[index++] = sprite.scale.x; - verticies[index++] = sprite.scale.y; + vertices[index++] = sprite.scale.x; + vertices[index++] = sprite.scale.y; //rotation - verticies[index++] = sprite.rotation; + vertices[index++] = sprite.rotation; // uv - verticies[index++] = uvs.x2; - verticies[index++] = uvs.y2; + vertices[index++] = uvs.x2; + vertices[index++] = uvs.y2; // color - verticies[index++] = sprite.alpha; + vertices[index++] = sprite.alpha; // xy - verticies[index++] = w1; - verticies[index++] = h0; + vertices[index++] = w1; + vertices[index++] = h0; - verticies[index++] = sprite.position.x; - verticies[index++] = sprite.position.y; + vertices[index++] = sprite.position.x; + vertices[index++] = sprite.position.y; //scale - verticies[index++] = sprite.scale.x; - verticies[index++] = sprite.scale.y; + vertices[index++] = sprite.scale.x; + vertices[index++] = sprite.scale.y; //rotation - verticies[index++] = sprite.rotation; + vertices[index++] = sprite.rotation; // uv - verticies[index++] = uvs.x3; - verticies[index++] = uvs.y3; + vertices[index++] = uvs.x3; + vertices[index++] = uvs.y3; // color - verticies[index++] = sprite.alpha; + vertices[index++] = sprite.alpha; // increment the batchs this.currentBatchSize++; @@ -1391,7 +1391,7 @@ PIXI.WebGLFastSpriteBatch.prototype.start = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLFilterManager.js.html b/docs/WebGLFilterManager.js.html index 975de541c..6ce52da83 100644 --- a/docs/WebGLFilterManager.js.html +++ b/docs/WebGLFilterManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1413,7 +1413,7 @@ PIXI.WebGLFilterManager.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLGraphics.js.html b/docs/WebGLGraphics.js.html index cf4cfddff..738382411 100644 --- a/docs/WebGLGraphics.js.html +++ b/docs/WebGLGraphics.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1004,7 +1004,9 @@ PIXI.WebGLGraphics.renderGraphics = function(graphics, renderSession)//projectio renderSession.shaderManager.setShader( shader );//activatePrimitiveShader(); shader = renderSession.shaderManager.primitiveShader; gl.uniformMatrix3fv(shader.translationMatrix, false, graphics.worldTransform.toArray(true)); - + + gl.uniform1f(shader.flipY, 1); + gl.uniform2f(shader.projectionVector, projection.x, -projection.y); gl.uniform2f(shader.offsetVector, -offset.x, -offset.y); @@ -1293,6 +1295,8 @@ PIXI.WebGLGraphics.buildRoundedRectangle = function(graphicsData, webGLData) var triangles = PIXI.PolyK.Triangulate(recPoints); + // + var i = 0; for (i = 0; i < triangles.length; i+=3) { @@ -1303,6 +1307,7 @@ PIXI.WebGLGraphics.buildRoundedRectangle = function(graphicsData, webGLData) indices.push(triangles[i+2] + vecPos); } + for (i = 0; i < recPoints.length; i++) { verts.push(recPoints[i], recPoints[++i], r, g, b, alpha); @@ -1854,7 +1859,7 @@ PIXI.WebGLGraphicsData.prototype.upload = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLMaskManager.js.html b/docs/WebGLMaskManager.js.html index 401bf3c51..4fa94df38 100644 --- a/docs/WebGLMaskManager.js.html +++ b/docs/WebGLMaskManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1032,7 +1032,7 @@ PIXI.WebGLMaskManager.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLRenderer.js.html b/docs/WebGLRenderer.js.html index feaf5e9a7..d6e0c8614 100644 --- a/docs/WebGLRenderer.js.html +++ b/docs/WebGLRenderer.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1300,6 +1300,9 @@ PIXI.WebGLRenderer.prototype.renderDisplayObject = function(displayObject, proje // reset the render session data.. this.renderSession.drawCount = 0; + // make sure to flip the Y if using a render texture.. + this.renderSession.flipY = buffer ? -1 : 1; + // set the default projection this.renderSession.projection = projection; @@ -1514,7 +1517,7 @@ PIXI.WebGLRenderer.glContextId = 0; Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLShaderManager.js.html b/docs/WebGLShaderManager.js.html index 28510ca63..cccbac9ff 100644 --- a/docs/WebGLShaderManager.js.html +++ b/docs/WebGLShaderManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1120,7 +1120,7 @@ PIXI.WebGLShaderManager.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLShaderUtils.js.html b/docs/WebGLShaderUtils.js.html index ef7b7dad0..3ee3571ca 100644 --- a/docs/WebGLShaderUtils.js.html +++ b/docs/WebGLShaderUtils.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1051,7 +1051,7 @@ PIXI.compileProgram = function(gl, vertexSrc, fragmentSrc) Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLSpriteBatch.js.html b/docs/WebGLSpriteBatch.js.html index 8e8177072..520d11509 100644 --- a/docs/WebGLSpriteBatch.js.html +++ b/docs/WebGLSpriteBatch.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1597,7 +1597,7 @@ PIXI.WebGLSpriteBatch.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/WebGLStencilManager.js.html b/docs/WebGLStencilManager.js.html index ddc63da9f..810325512 100644 --- a/docs/WebGLStencilManager.js.html +++ b/docs/WebGLStencilManager.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1087,6 +1087,8 @@ PIXI.WebGLStencilManager.prototype.bindGraphics = function(graphics, webGLData, renderSession.shaderManager.setShader( shader ); + gl.uniform1f(shader.flipY, renderSession.flipY); + gl.uniformMatrix3fv(shader.translationMatrix, false, graphics.worldTransform.toArray(true)); gl.uniform2f(shader.projectionVector, projection.x, -projection.y); @@ -1114,6 +1116,7 @@ PIXI.WebGLStencilManager.prototype.bindGraphics = function(graphics, webGLData, gl.uniformMatrix3fv(shader.translationMatrix, false, graphics.worldTransform.toArray(true)); + gl.uniform1f(shader.flipY, renderSession.flipY); gl.uniform2f(shader.projectionVector, projection.x, -projection.y); gl.uniform2f(shader.offsetVector, -offset.x, -offset.y); @@ -1257,7 +1260,7 @@ PIXI.WebGLStencilManager.prototype.destroy = function() Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/World.js.html b/docs/World.js.html index 936ad6a0b..16bc8e053 100644 --- a/docs/World.js.html +++ b/docs/World.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -968,10 +968,22 @@ Phaser.Physics.P2 = function (game, config) { */ this.game = game; - if (typeof config === 'undefined' || !config.hasOwnProperty('gravity') || !config.hasOwnProperty('broadphase')) + if (typeof config === 'undefined') { config = { gravity: [0, 0], broadphase: new p2.SAPBroadphase() }; } + else + { + if (!config.hasOwnProperty('gravity')) + { + config.gravity = [0, 0]; + } + + if (!config.hasOwnProperty('broadphase')) + { + config.broadphase = new p2.SAPBroadphase(); + } + } /** * @property {object} config - The p2 World configuration object. @@ -1299,16 +1311,16 @@ Phaser.Physics.P2.prototype = { */ postBroadphaseHandler: function (event) { - var i = event.pairs.length; - - if (this.postBroadphaseCallback && i > 0) + if (!this.postBroadphaseCallback || event.pairs.length === 0) { - while (i -= 2) + return; + } + + for (var i = event.pairs.length - 2; i >= 0; i -= 2) + { + if (event.pairs[i].parent && event.pairs[i+1].parent && !this.postBroadphaseCallback.call(this.callbackContext, event.pairs[i].parent, event.pairs[i+1].parent)) { - if (event.pairs[i].parent && event.pairs[i+1].parent && !this.postBroadphaseCallback.call(this.callbackContext, event.pairs[i].parent, event.pairs[i+1].parent)) - { - event.pairs.splice(i, 2); - } + event.pairs.splice(i, 2); } } @@ -2919,7 +2931,7 @@ Object.defineProperty(Phaser.Physics.P2.prototype, "total", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/World.js_.html b/docs/World.js_.html index 570b08522..851bd13bd 100644 --- a/docs/World.js_.html +++ b/docs/World.js_.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1353,7 +1353,7 @@ Phaser.Physics.Arcade.prototype = { * @param {function} [collideCallback=null] - An optional callback function that is called if the objects collide. The two objects will be passed to this function in the same order in which you specified them, unless you are colliding Group vs. Sprite, in which case Sprite will always be the first parameter. * @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then collision will only happen if processCallback returns true. The two objects will be passed to this function in the same order in which you specified them. * @param {object} [callbackContext] - The context in which to run the callbacks. - * @return {boolean} True if a collision occured otherwise false. + * @return {boolean} True if a collision occurred otherwise false. */ collide: function (object1, object2, collideCallback, processCallback, callbackContext) { @@ -1949,7 +1949,7 @@ Phaser.Physics.Arcade.prototype = { */ separateY: function (body1, body2, overlapOnly) { - // Can't separate two immovable or non-existing bodys + // Can't separate two immovable or non-existing bodies if (body1.immovable && body2.immovable) { return false; @@ -2080,7 +2080,7 @@ Phaser.Physics.Arcade.prototype = { // We re-check for collision in case body was separated in a previous step if (!body.enable || !tile.intersects(body.position.x, body.position.y, body.right, body.bottom)) { - // no collision so bail out (separted in a previous step) + // no collision so bail out (separated in a previous step) return false; } @@ -2176,7 +2176,7 @@ Phaser.Physics.Arcade.prototype = { * @method Phaser.Physics.Arcade#tileCheckX * @param {Phaser.Physics.Arcade.Body} body - The Body object to separate. * @param {Phaser.Tile} tile - The tile to check. - * @return {number} The amount of separation that occured. + * @return {number} The amount of separation that occurred. */ tileCheckX: function (body, tile) { @@ -2225,7 +2225,7 @@ Phaser.Physics.Arcade.prototype = { * @method Phaser.Physics.Arcade#tileCheckY * @param {Phaser.Physics.Arcade.Body} body - The Body object to separate. * @param {Phaser.Tile} tile - The tile to check. - * @return {number} The amount of separation that occured. + * @return {number} The amount of separation that occurred. */ tileCheckY: function (body, tile) { @@ -2784,7 +2784,7 @@ Phaser.Physics.Arcade.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:48 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/World.js__.html b/docs/World.js__.html index 878e96e54..45326426d 100644 --- a/docs/World.js__.html +++ b/docs/World.js__.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1571,7 +1571,7 @@ Phaser.Physics.Ninja.prototype = { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:24 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/World.js___.html b/docs/World.js___.html index 36e31d91b..865c5f726 100644 --- a/docs/World.js___.html +++ b/docs/World.js___.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1302,7 +1302,7 @@ Object.defineProperty(Phaser.World.prototype, "randomY", { Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/classes.list.html b/docs/classes.list.html index 1012bd624..88868efde 100644 --- a/docs/classes.list.html +++ b/docs/classes.list.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2586,7 +2586,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/global.html b/docs/global.html index 36f9e7e9d..133d859c1 100644 --- a/docs/global.html +++ b/docs/global.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -1050,7 +1050,7 @@ as well as PIXI.DisplayObject and all deri
    Source - - core/Group.js, line 2019 + core/Group.js, line 2018
    @@ -1089,7 +1089,7 @@ as well as PIXI.DisplayObject and all deri Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/index.html b/docs/index.html index 8eebb8af8..10abffc0c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -963,393 +963,217 @@
    +

    Phaser

    -

    Phaser 2.2.1

    -

    Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses Pixi.js internally for fast 2D Canvas and WebGL rendering.

    -

    Version: 2.2.1 "Danabar" - Released: 4th December 2014

    -

    By Richard Davey, Photon Storm

    +

    Phaser is a fast, free and fun open source HTML5 game framework. It uses Pixi.js for WebGL and Canvas rendering across desktop and mobile web browsers. Games can be compiled to iOS and Android apps via 3rd party tools.

    +

    Along with the fantastic open source community Phaser is actively developed and maintained by Photon Storm Limited. As a result of rapid support and a developer friendly API Phaser is currently one of the most starred game frameworks on Github.

    +

    Thousands of developers worldwide use it. From indies and multi-national digital agencies to schools and Universities. Each creating their own incredible games. Grab the source and join in the fun!

    -

    div

    -

    Welcome to Phaser and What's new in 2.2.1?

    -

    One of the nicest and most surprising things about a truly open-source project like Phaser is that you never know who might jump on for the ride. I've been extremely lucky with the support I've received over the years - fellow developers both fixing bugs and reporting issues, all helping to make Phaser stronger as a result.

    -

    But sometimes a single individual can come along and make a substantial difference all on their own. A quick glance at the Change Log for this release will show many different contributors, but one stood out more than any other: Paul Stickney. Thanks to his contributions alone Phaser is now sporting a powerful new Scale Manager, nicely updated API docs and many other fixes and features across the board. The Scale Manager, a core part of any HTML5 game has had its own book published about it: A Guide to the Phaser Scale Manager which is available now.

    -

    One of his other major contributions was in updating Signals, the event system used inside Phaser. Before Phaser was creating thousands of Signals in a busy game, most of which sat idle. Now they've gone on a diet in terms of memory consumption and hide behind a proxy causing them to not even be created unless needed. This has cut down on the amount of objects being generated every frame dramatically.

    -

    As you may have noticed we've bumped the release version to 2.2 from 2.1. This is because there are some API breaking changes and some core fundamentals have been updated as well. The biggest change here is the move to a proper fixed-step internal game loop. The logic and rendering are now fully decoupled, with both Arcade Physics and Tweens having been updated to use this new system. This is by no means a panacea for overloading low-powered mobile devices. However it will help prevent issues arising from devices running Phaser games at different speeds just because it has a slower processor.

    -

    Also given a large update is the Tween Manager. This is now hooked in to the new timestep code, smoothing out tweens when the frame rate drops. New features have been added, including the ability to pause and resume a whole timeline of tweens and tween chaining has vastly improved.

    -

    The Change Log is indeed extensive. I would say that if you are already working on a Phaser game, and a good way through development, then you should carry on with whatever version you used before. But for all new projects definitely take the leap into 2.2 and I hope you enjoy splashing around in its new features :)

    -

    Thank you to everyone who beta tested 2.2 with us in one of its many Release Candidate incarnations. Your feedback helped fix issues that would have been otherwise troublesome to find and it's a process we'll carry on with for future builds.

    -

    2014 has been an amazing year for Phaser and I'd like to take this opportunity to thank everyone who has been involved, one way or another. Your support has been fantastic and we've built great things. Here's to 2015.

    -

    Happy coding everyone! I hope to see you on the forums.

    +

    Index

    + + + +

    What's new in 2.2.2?

    +

    + +

    +

    Happy New Year! Welcome to the first release of Phaser in 2015.

    +

    We're kicking off the year with the 2.2.2 release. This is mostly a maintenance release and fixes a few crucial issues such as tilemap rendering in Safari and physics performance. But a few small yet super-useful features sneaked in too, my favourite being that the Loader now supports BLOB urls for audio files.

    +

    We're hard at work on Phaser 3. Development on the brand new renderer began in earnest last year and we're already seeing exceptional results from it. You can follow our development in the forum and public repo. Even though we're working on taking Phaser 3 into ES6 and the next generation of web browsers, we haven't stopped with the 2.x branch.

    +

    If you take a peek at the 2.3 milestones you'll see we've got some great features in build. Included is a refactoring of all the Game Object classes, a new parallel asset loader and more consistent Text style handling.

    +

    After the runaway success Phaser enjoyed in 2014 we're really excited to see what this year will bring, and hope you'll join us for the ride.

    +

    Happy coding everyone! See you on the forums.

    boogie

    -

    div

    -

    Getting Started Guides

    -

    We have a Getting Started Guide which covers all you need to begin developing games with Phaser. From setting up a web server to picking an IDE. If you're new to HTML5 game development, or are coming from another language like AS3, then we recommend starting there.

    -

    We wrote a comprehensive How to Learn Phaser guide for GameDevTuts+ which covers finding tutorials, examples and support.

    -

    The Game Mechanic Explorer is a great interactive way to learn how to develop specific game mechanics in Phaser. Well worth exploring once you've got your dev environment set-up.

    -

    Finally the list of community authored Phaser Tutorials is growing fast!

    -

    Phaser Logo

    -

    div

    Change Log

    -

    Version 2.2.1 - "Danabar" - 4th December 2014

    -

    Bug Fixes

    -
      -
    • Fixed Pixi.js issue with alpha not working on any display object.
    • -
    • Fixed TweenManager.isTweening() and .removeFrom() (thanks @jotson #1408)
    • -
    • Added Game.debug reset method for when the debug manager is disabled (thanks @DanielSitarz #1407)
    • -
    • Custom Particle classes that used a BitmapData wouldn't work (thanks @hardalias #1402)
    • -
    -

    Version 2.2.0 - "Bethal" - 3rd December 2014

    +

    Version 2.2.2 - "Alkindar" - 6th January 2015

    New Features

      -
    • Updated to Pixi v2.2.0 - see separate change log entry below.
    • -
    • Cache.getRenderTexture will retrieve a RenderTexture that is stored in the Phaser Cache. This method replaces Cache.getTexture which is now deprecated.
    • -
    • Cache.autoResolveURL is a new boolean (default false) that automatically builds a cached map of all loaded assets vs. their absolute URLs, for use with Cache.getURL and Cache.checkURL. Note that in 2.1.3 and earlier this was enabled by default, but has since been moved behind this property which needs to be set to true before you load any assets to enable.
    • -
    • You can now call Tween.to again on a Tween that has already completed. This will re-use the same tween, on the original object, without having to recreate the Tween again. This allows a single tween instance to be re-used multiple times, providing they are linked to the same object (thanks InsaneHero)
    • -
    • Phaser.Color.valueToColor converts a value: a "hex" string, a "CSS 'web' string", or a number - into red, green, blue, and alpha components (thanks @pnstickne #1264)
    • -
    • Stage.backgroundColor now supports CSS 'rgba' values, as well as hex strings and hex numbers (thanks @pnstickne #1234)
    • -
    • Pointer.addClickTrampoline now adds in support for click trampolines. These raise pointer events into click events, which are required internally for a few edge cases like IE11 full screen mode support, but are also useful if you know you specifically need a DOM click event from a pointer (thanks @pnstickne #1282)
    • -
    • Point.floor will Math.floor both the x and y values of the Point.
    • -
    • Point.ceil will Math.ceil both the x and y values of the Point.
    • -
    • ScaleManager.scaleSprite takes a Sprite or Image object and scales it to fit the given dimensions. Scaling happens proportionally without distortion to the sprites texture. The letterBox parameter controls if scaling will produce a letter-box effect or zoom the sprite until it fills the given values.
    • -
    • Phaser.DOM.getBounds is a cross-browser element.getBoundingClientRect method with optional cushion.
    • -
    • Phaser.DOM.calibrate is a private method that calibrates element coordinates for viewport checks.
    • -
    • Phaser.DOM.aspect gets the viewport aspect ratio (or the aspect ratio of an object or element)
    • -
    • Phaser.DOM.inViewport tests if the given DOM element is within the viewport, with an optional cushion parameter that allows you to specify a distance.
    • -
    • Phaser.DOM.viewportWidth returns the viewport width in pixels.
    • -
    • Phaser.DOM.viewportHeight returns the viewport height in pixels.
    • -
    • Phaser.DOM.documentWidth returns the document width in pixels.
    • -
    • Phaser.DOM.documentHeight returns the document height in pixels.
    • -
    • TilemapLayers have been given a decent performance boost on canvas with map shifting edge-redraw (thanks @pnstickne #1250)
    • -
    • A large refactor to how the internal game timers and physics calculations has been made. We've now swapped to using a fixed time step internally across Phaser, instead of the variable one we had before that caused glitchse on low-fps systems. Thanks to pjbaron for his help with all of these related changes.
    • -
    • We have separated the logic and render updates to permit slow motion and time slicing effects. We've fixed time calling to fix physics problems caused by variable time updates (i.e. collisions sometimes missing, objects tunneling, etc)
    • -
    • Once per frame calling for rendering and tweening to keep things as smooth as possible
    • -
    • Calculates a suggestedFps value (in multiples of 5 fps) based on a 2 second average of actual elapsed time values in the Time.update method. This is recalculated every 2 seconds so it could be used on a level-by-level basis if a game varies dramatically. I.e. if the fps rate consistently drops, you can adjust your game effects accordingly.
    • -
    • Game loop now tries to "catch up" frames if it is falling behind by iterating the logic update. This will help if the logic is occasionally causing things to run too slow, or if the renderer occasionally pushes the combined frame time over the FPS time. It's not a band-aid for a game that floods a low powered device however, so you still need to code accordingly. But it should help capture issues such as gc spikes or temporarily overloaded CPUs.
    • -
    • It now detects 'spiraling' which happens if a lot of frames are pushed out in succession meaning the CPU can never "catch up". It skips frames instead of trying to catch them up in this case. Note: the time value passed to the logic update functions is always constant regardless of these shenanigans.
    • -
    • Signals to the game program if there is a problem which might be fixed by lowering the desiredFps
    • -
    • Time.desiredFps is the new desired frame rate for your game.
    • -
    • Time.suggestedFps is the suggested frame rate for the game based on system load.
    • -
    • Time.slowMotion allows you to push the game into a slow motion mode. The default value is 1.0. 2.0 would be half speed, and so on.
    • -
    • Time.timeCap is no longer used and now deprecated. All timing is now handled by the fixed time-step code we've introduced.
    • -
    • Time.now can no longer be relied upon to contain a timestamp value. If the browser supports requestAnimationFrame then Time.now will contain the high resolution timer value that rAf generates. Otherwise it will contain the value of Date.now. If you require the actual time value (in milliseconds) then please use Time.time instead. Note that all Phaser sub-systems that used to rely on Time.now have been updated, so if you have any code that extends these please be sure to check it.
    • -
    • Game.forceSingleUpdate will force just a single logic update, regardless of the delta timer values. You can use this in extremely heavy CPU situations where you know you're about to flood the CPU but don't want Phaser to get stuck in a spiral.
    • -
    • Tilemap.createFromTiles will convert all tiles matching the given tile index (or an array of indexes) into Sprites. You can optionally then replace these tiles if you wish. This is perfect for games when you want to turn specific tiles into Sprites for extra control. The Sprites have an optional properties object which they can be populated with.
    • -
    • Added support for the Wheel Event, which is the DOM3 spec (thanks @pnstickne #1318)
    • -
    • Wheel Scroll Event (old non-FF) and DOM Mouse Wheel (old FF) are -supported via a non-exported reused wrapper object; WheelEventProxy. -The proxy methods are generated one-time dynamically but only when needed.
    • -
    • Key.justDown allows you to test if a Key has just been pressed down or not. You can only call justDown once per key press. It will only return true once, until the Key is released and pressed down again. This allows you to use it in situations where you want to check if this key is down without using a Signal, such as in a core game loop (thanks @pjbaron #1321)
    • -
    • Key.justUp allows you to test if a Key has just been released or not. You can only call justUp once per key press. It will only return true once, until the Key is pressed down and released again. This allows you to use it in situations where you want to check if this key is up without using a Signal, such as in a core game loop (thanks @pjbaron #1321)
    • -
    • Device.whenReady is a new signal that you can use to tell when the device is initialized.
    • -
    • Device.onInitialized is dispatched after device initialization occurs but before any of the ready callbacks have been invoked. Local "patching" for a particular device can/should be done in this event.
    • -
    • TweenManager.removeFrom method allows you to remove a tween from a game object such as a Sprite (thanks @lewster32 #1279)
    • -
    • Tweens have been completely rewritten. They're now much more flexible and efficient than before:
    • -
    • When specifying the ease in Tween.to or Tween.from you can now use a string instead of the Function. This makes your code less verbose. For example instead of Phaser.Easing.Sinusoidal.Out and you can now just use the string "Sine".The string names match those used by TweenMax and includes: "Linear", "Quad", "Cubic", "Quart", "Quint", "Sine", "Expo", "Circ", "Elastic", "Back", "Bounce", "Power0", "Power1", "Power2", "Power3" and "Power4". You can append ".easeIn", ".easeOut" and "easeInOut" variants. All are supported for each ease types.
    • -
    • Tweens now create a TweenData object. The Tween object itself acts like more of a timeline, managing multiple TweenData objects. You can now call Tween.to and each call will create a new child tween that is added to the timeline, which are played through in sequence.
    • -
    • Tweens are now bound to the new Time.desiredFps value and update based on the new Game core loop, rather than being bound to time calculations. This means that tweens are now running with the same update logic as physics and the core loop.
    • -
    • Tween.timeScale allows you to scale the duration of a tween (and any child tweens it may have). A value of 1.0 means it should play at the desiredFps rate. A value of 0.5 will run at half the frame rate, 2 at double and so on. You can even tween the timeScale value for interesting effects!
    • -
    • Tween.reverse allows you to instantly reverse an active tween. If the Tween has children then it will smoothly reverse through all child tweens as well.
    • -
    • Tween.repeatAll allows you to control how many times all child tweens will repeat before firing the Tween.onComplete event. You can set the value to -1 to repeat forever.
    • -
    • Tween.loop now controls the looping of all child tweens.
    • -
    • Tween.onRepeat is a new signal that is dispatched whenever a Tween repeats. If a Tween has many child tweens its dispatched once the sequence has repeated.
    • -
    • Tween.onChildComplete is a new signal that is dispatched whenever any child tweens have completed. If a Tween consists of 4 sections you will get 3 onChildComplete events followed by 1 onComplete event as the final tween finishes.
    • -
    • Chained tweens are now more intelligently handled. Because you can easily create child tweens (by simply calling Tween.to multiple times) chained tweens are now used to kick-off longer sequences. You can pass as many Tween objects to Tween.chain as you like as they'll all be played in sequence. As one Tween completes it passes on to the next until the entire chain is finished.
    • -
    • Tween.stop has a new complete parameter that if set will still fire the onComplete event and start the next chained tween, if there is one.
    • -
    • Tween.delay, Tween.repeat, Tween.yoyo, Tween.easing and Tween.interpolation all have a new index parameter. This allows you to target specific child tweens, or if set to -1 it will update all children at once.
    • -
    • Tween.totalDuration reports the total duration of all child tweens in ms.
    • -
    • There are new easing aliases:
    • -
      • -
      • Phaser.Easing.Power0 = Phaser.Easing.Linear.None
      • -
      -
    • -
      • -
      • Phaser.Easing.Power1 = Phaser.Easing.Quadratic.Out
      • -
      -
    • -
      • -
      • Phaser.Easing.Power2 = Phaser.Easing.Cubic.Out
      • -
      -
    • -
      • -
      • Phaser.Easing.Power3 = Phaser.Easing.Quartic.Out
      • -
      -
    • -
      • -
      • Phaser.Easing.Power4 = Phaser.Easing.Quintic.Out
      • -
      -
    • -
    • ScaleManager.windowContraints now allows specifying 'visual' or 'layout' as -the constraint. Using the 'layout' constraint should prevent a mobile -device from trying to resize the game when zooming.

      -

      Including the the new changes the defaults have been changed to

      -

      windowContraints = { right: 'layout', bottom: '' }

      -

      This changes the current scaling behavior as seen in "Game Scaling" (as it -will only scale for the right edge) but also prevents such scaling from -going bonkers in some mobile environments like the newer Android browser. -(Automatic scroll-to-top, albeit configurable, enabled for non-desktop by -default is not a fun situation here.)

      -

      To obtain the current semantics on a desktop the bottom should be changed -to 'layout'; although this will result in different behavior depending on -mobile device. To make the sizing also follow mobile zooming they should -be changed to 'visual'.

      -

      Also added temp Rectangle re-used for various internal calculations.

      -
    • -
    • Phaser.DOM now also special-cases desktops to align the layout bounds -correctly (this may disagree with CSS breakpoints but it aligns the with -actual CSS width), without applying a window height/width expansion as -required on mobile browsers.

      -
    • -
    • Signals have been heavily restructured to cut down on the number that are generated in-game. New signal proxies manage the setting and creation as required, cutting down on the volume of run-time object creation significantly. No user code needs to change, however if you did override Phaser.Signal or Sprite.Events then please be aware of the changes by inspecting the source (and commit #1389 by @pnstickne).
    • -
    • Game.lockRender is a new property. If false Phaser will automatically render the display list every update. If true the render loop will be skipped. You can toggle this value at run-time to gain exact control over when Phaser renders. This can be useful in certain types of game or application. Please note that if you don't render the display list then none of the game object transforms will be updated, so use this value carefully.
    • +
    • Phaser.Loader now supports BLOB urls for audio files (thanks @aressler38 #1462)
    • +
    • Line.reflect will calculate the reflected, or outgoing angle of two lines. This can be used for Body vs. Line collision responses and rebounds.
    • +
    • Line.normalAngle gets the angle of the line normal in radians.
    • +
    • Line.normalX and Line.normalY contain the x and y components of the left-hand normal of the line.
    • +
    • Line.fromAngle will sets this line to start at the given x and y coordinates and for the segment to extend at angle for the given length.
    • +
    • BitmapData.drawGroup draws the immediate children of a Phaser.Group to a BitmapData. Children are only drawn if they have their exists property set to true. The children will be drawn at their x and y world space coordinates. When drawing it will take into account the child's rotation, scale and alpha values. No iteration takes place. Groups nested inside other Groups will not be iterated through.

    Updates

      -
    • TypeScript definitions fixes and updates (thanks @clark-stevenson @draconisNoctis)
    • -
    • The TypeScript definitions have moved to the typescript folder in the root of the repository.
    • -
    • Cache._resolveUrl has been renamed to Cache._resolveURL internally and gained a new parameter. This method is a private internal one.
    • -
    • Cache.getUrl is deprecated. The same method is now available as Cache.getURL.
    • -
    • Loader.useXDomainRequest used to be enabled automatically for IE9 but is now always set to false. Please enable it only if you know your server set-up / CDN requires it, as some most certainly do, but we're finding them to be less and less used these days, so we feel it's safe to now disable this by default (#1248)
    • -
    • Game.destroy now destroys either the WebGLRenderer or CanvasRenderer, whichever Pixi was using.
    • -
    • Particle.Emitter will now automatically set particle.body.skipQuadTree to true to help with collision speeds within Arcade Physics.
    • -
    • Particle.Emitter.explode (or Emitter.start with the explode parameter set to true) will immediately emit the required quantity of particles and not delay until the next frame to do so. This means you can re-use a single emitter across multiple places in your game that require explode-style emissions, just by adjusting the emitter.x and emitter.y properties before calling explode (thanks Insanehero)
    • -
    • Phaser.Polygon has been refactored to address some Pixi v2 migration issues (thanks @pnstickne for the original implementation #1267)
    • -
    • Polygon.area is now only calculated when the Polygon points list is modified, rather than on every call.
    • -
    • Phaser.Polygon can now accept the points list in a variety of formats: Arrays of Points, numbers, objects with public x/y properties or any combination of, or as a parameter list (thanks @pnstickne for the original implementation #1267)
    • -
    • All of the Input classes now use the more consistent enabled property instead of disabled. I.e. you can now check if (input.mouse.enabled) rather than if (!input.mouse.disabled). The disabled property has been moved to a getter for backwards compatibility but is deprecated and will be removed in a future version (thanks @pnstickne #1257)
    • -
    • The Input class has been given a minor refactor to tidy things up. Specifically:
        -
      • pointerN are aliases to backed pointers[N-1] array. This simplifies (and increases the efficiency of) looping through all the pointers when applicable; also eliminates pointer-existence checks Removes various hard-coded limits (added MAX_POINTERS); changed maxPointers default
      • -
      • Removed some special-casing from cases where it did not matter
      • -
      • Removed === false/true, == usage for consistency, changed missing value check to typeof, etc.
      • -
      • Updated documentation for specificity; added @public\@protected
      • -
      • @deprecated currentPointers due to odd set pattern; totalCurrentPointers is more appropriate. -(thanks @pnstickne #1283)
      • -
      -
    • -
    • Various ScaleManager fixes and updates (thanks @pnstickne):
        -
      • Scale modes can now be set independently
      • -
      • Switching between fullscreen and normal correctly restores modes
      • -
      • Alignment does not incorrectly offset in fullscreen mode (#1255)
      • -
      • Changing scale/alignment promptly refreshes layout
      • -
      • isFullScreen returns a boolean, as it should
      • -
      • Faster parent checks (if required)
      • -
      • NO_SCALE should not not scale (vs previous behavior of having no behavior)
      • -
      • Correct usage of scaleMode depending on mode
      • -
      • Fullscreen Mode always scaling to fill screen in Firefox (#1256)
      • -
      -
    • -
    • AudioSprite - removed an unnecessary if-statement (thanks @DaanHaaz #1312)
    • -
    • ArcadePhysics.skipQuadTree is now set to true by default. A QuadTree is a wonderful thing if the objects in your game are well spaced out. But in tightly packed games, especially those with tilemaps or single-screen games, they are a considerable performance drain and eat up CPU. We've taken the decision to disable the Arcade Physics QuadTree by default. It's all still in there and can be re-enabled via game.physics.arcade.skipQuadTree = false, but please only do so if you're sure your game benefits from this.
    • -
    • Phaser.DOM now houses new DOM functions. Some have been moved over from ScaleManager as appropriate.
    • -
    • Key.justPressed has bee renamed to Key.downDuration which is a much clearer name for what the method actually does. See Key.justDown for a nice clean alternative.
    • -
    • Key.justReleased has bee renamed to Key.upDuration which is a much clearer name for what the method actually does. See Key.justUp for a nice clean alternative.
    • -
    • Keyboard.justPressed has bee renamed to Keyboard.downDuration which is a much clearer name for what the method actually does.
    • -
    • Keyboard.justReleased has bee renamed to Keyboard.upDuration which is a much clearer name for what the method actually does.
    • -
    • Keyboard.downDuration, Keyboard.upDuration and Keyboard.isDown now all return null if the Key wasn't found in the local keys array.
    • -
    • The Phaser.Device class has been made into a singleton and removed it's dependency on Phaser.Game (thanks @pnstickne #1328)
    • -
    • ArrayList has been renamed to ArraySet (as it's actually a data set implementation) and moved from the core folder to the utils folder (thanks @pnstickne)
    • -
    • If you are reloading a Phaser Game on a page that never properly refreshes (such as in an AngularJS project) then you will quickly run out of AudioContext nodes. If this is the case create a global var called PhaserGlobal on the window object before creating the game. The active AudioContext will then be saved to window.PhaserGlobal.audioContext when the Phaser game is destroyed, and re-used when it starts again (#1233)
    • -
    • Camera.screenView is now deprecated. All Camera culling checks are made against Camera.view now instead.
    • -
    • Various CocoonJS related hacks removed thanks to fixes from Ludei directly in CocoonJS! Woohoo :)
    • -
    • Phaser.HEADLESS check removed from the core game loop. If you need to disable rendering you can now override the Phaser.Game.updateRender method instead with your own.
    • -
    • Group.forEach fixed against browser de-optimization (thanks @pnstickne #1357)
    • -
    • Phaser.Signals have been taken on a diet. They have been updated such that there is significantly less penalty for having many unused signals. The changes include:
    • -
      • -
      • Changing it so there is no dispatch closure created. This is a -potentially breaking change for third party code.
      • -
      -
    • -
      • -
      • In the rare case that code needs to obtain a dispatch-closure, the -boundDispatch property can be used to trivially obtain a cached -closure.
      • -
      -
    • -
      • -
      • The properties and default values are moved into the prototype; and the -_bindings array creation is deferred. This change, coupled with the -removal of the automatic closure, results in a very lightweight -~24bytes/object (in Chrome) for unbound signals.
      • -
      -
    • -
    • With this change in place Signals now consume less than 50KB / 50KB (shallow / retained memory) for 200 sprites, where-as before they used 300KB / 600KB (thanks @pnstickne #1359)
    • -
    • Time.elapsedMS holds the number of milliseconds since the last Game loop, regardless of raF or setTimout being used.
    • -
    • Incorrectly prepared tilemap images (with dimensions not evenly divisible by the tile dimensions) would render incorrectly when compared to the display seen in Tiled. The Phaser tilemap code has been adjusted to match the way Tiled deals with this, which should help if you're using tileset images that contain extra padding/margin pixels. Additional console warnings have been added. However the fact remains that you should carefully prepare your tilesets before using them. Crop off extra padding, make sure they are the right dimensions (thanks @SoulBeaver for the report and @pnstickne for the fix #1371)
    • -
    • Text.setShadow has had the default color value changed from rgba(0,0,0,0) to rgba(0,0,0,1) so it appears as a black shadow by default - before the alpha channel made it invisible.
    • -
    • Math.getRandom will now return null if random selection is missing, or array has no entries (thanks @pnstickne #1395)
    • -
    • Array.transposeArray has had a small off-by-one error fixed. It didn't effect the results but meant returned arrays were 1 element bigger than needed (thanks @nextht #1394)
    • -
    • State.preRender is now sent two parameters: a reference to the Phaser.Game instance and a new parameter: elapsedTime which is the time elapsed since the last update.
    • +
    • TypeScript definitions fixes and updates (thanks @clark-stevenson @Schmavery)
    • +
    • DOM.visualBounds now includes scroll bars (#1429)
    • +
    • The new fixed time-step code has been more carefully linked to Pixi transform updates. This should finally put a stop to the tunneling issues that were being reported.
    • +
    • Tween.stop fired a different set of onComplete parameters to Tween.update. Both now dispatch `onComplete(target, tween)`` as the parameters in that order (thanks @P0rnflake #1450)
    • +
    • Removed redundant tolerance parameter from Rectangle.intersects (thanks @toolness #1463)
    • +
    • Phaser.Graphics.drawCircle now overrides PIXI.drawCircle which means the docs are now correct re: diameter not radius (thanks @ethankaminski #1454)
    • +
    • Device.webAudio check inversed to avoid throwing a warning in Chrome.
    • +
    • Mouse.mouseMoveCallback is flagged as deprecated.
    • +
    • Remove tw and th init from TilemapLayer (thanks @nextht #1474)
    • +
    • Particles.Arcade.Emitter.makeParticles now checks the given quantity value against Emitter.maxParticles. If quantity is more than maxParticles then the maxParticles value is reset to the new quantity given (as this is how most devs seem to use it).
    • +
    • Particles.Arcade.Emitter.emitParticle now returns a boolean depending if a particle was emitted or not.
    • +
    • Particles.Arcade.Emitter.update only updates _counter if a particle was successfully emitted.
    • +
    • Phaser.Point.angleSq removed. It didn't work so any code relying on it would be broken, and it's unclear what it was meant for (thanks @nextht #1396)
    • +
    • BitmapData.copy tx parameter if null and source is a Display Object, it will default to source.x.
    • +
    • BitmapData.copy ty parameter if null and source is a Display Object, it will default to source.y.

    Bug Fixes

      -
    • Tilemaps in WebGL wouldn't update after the first frame due to a subtle change in how Pixi uploads new textures to the GPU.
    • -
    • XML files weren't being added to the URL map.
    • -
    • Cache._resolveURL was causing a Sound double-load in Firefox and causing errors (thanks @domonyiv #1253)
    • -
    • Loader.json was using the wrong context in IE9 with XDomainRequest calls (thanks @pnstickne #1258)
    • -
    • Text.updateText was incorrectly increasing the size of the texture each time it was called (thanks @spayton #1261)
    • -
    • Polygon.contains now correctly calculates the result (thanks @pnstickne @BurnedToast #1267)
    • -
    • Setting Key.enabled = false while it is down did not reset the isDown state (thanks @pnstickne #1190 #1271)
    • -
    • The Gamepad.addCallbacks context parameter was never actually remembered, causing the callbacks to run in the wrong context (thanks @englercj #1285)
    • -
    • Animation.setFrame used the wrong frames array if useLocalFrameIndex was false and a numeric frame ID was given (thanks @Skeptron #1284)
    • -
    • Fullscreen mode in IE11 now works (thanks @pnstickne)
    • -
    • Cache.addBitmapData now auto-creates a FrameData (thanks @pnstickne #1294 #1300)
    • -
    • P2.BodyDebug circles were drawing at half widths (thanks @enriqueto #1288)
    • -
    • FrameData.clone fixed when cloning data using frame names rather than indexes (thanks pjbaron)
    • -
    • Lots of the Cache getters (such as Cache.getbitmapData) would return undefined if the asset couldn't be found. They now all consistently return null for missing entries (thanks @Matoking #1305)
    • -
    • Phaser games should now work again from the CocoonJS Launcher.
    • -
    • Only one of the mouse wheel events is listened to, newest standard first. -This fixes a bug in FF where it would use the default DOMMouseWheel (thanks @pnstickne #1313)
    • -
    • Stage.smoothed needed to modify the value of PIXI.scaleMode.DEFAULT instead of PIXI.scaleMode.LINEAR (thanks @pixelpicosean #1322)
    • -
    • Newly created Groups always had zero z index (thanks @spayton #1291)
    • -
    • Sprite.autoCull now properly works if the camera moves around the world.
    • -
    • Sprite.inCamera uses a much faster check if auto culling or world bounds checks are enabled and properly adjusts for camera position.
    • -
    • Camera.totalInView is a new property that contains the total number of Sprites rendered that have autoCull set to true and are within the Cameras view.
    • -
    • Emitter.setScale fixed minX minY order precedence (thanks spayton)
    • -
    • Group.iterate can now accept undefined/null as the arguments (thanks @pnstickne #1353 @tasos-ch #1352)
    • -
    • When you change State the P2 Physics world is no longer fully cleared. All of the bodies, springs, fixtures, materials and constraints are removed - but config settings such as gravity, restitution, the contact solver, etc are all retained. The P2.World object is only created the very first time you call Physics.startSystem. Every subsequent call hits P2.World.reset instead. This fixes "P2.World gravity broken after switching states" (and other related issues) (#1292 #1289 #1176)
    • -
    • Text.lineSpacing works correctly again. Before no space was added between the lines (thanks @intimidate #1367 and @brejep #1366)
    • -
    • P2.BodyDebug always lagged behind the position of the Body it was tracking by one frame, which became visible at high speeds. It now syncs its position in the Body.postUpdate which prevents this from happening (thanks @valueerror)
    • -
    • A State.preRender callback wasn't removed correctly when switching States.
    • +
    • Fix / double-copy for Safari tilemap bug when rendering with delta scrolling. This fixes tilemaps not appearing to update on Safari OS X and iOS specifically (thanks @pnstickne @neurofuzzy @lastnightsparty #1439 #1498)
    • +
    • Simplified call to updateTransform. This is the unified and verified fix for #1424 #1479 #1490 #1502 and solves issues with physics tunneling and visual glitches under the new time step code.
    • +
    • Tween.delay, Tween.repeat and Tween.yoyo will no longer throw an error if called before a TweenData object has been created (via Tween.to or Tween.from) (thanks @SomMeri #1419)
    • +
    • The click trampoline added for IE prevented Chrome for Android from being +able to launch Full Screen mode with the default parameters for +ScaleManger#startFullScreen (the desktop version of Chrome was not +affected.). This is now fixed and additional compatibility settings (clickTrampoline) that can be used to configure when such is used. By default the 'when-not-mouse' mode is only enabled for Desktop browsers, where the +primary input is ubiquitously a mouse. There are no known breaking compatibility changes - the Full Screen should be initiatable in Chrome for Android as it was in 2.1.x. The default Android browser does not support Full Screen (thanks @pnstickne)
    • +
    • TilemapParser now checks for image collections, avoiding crashes. These would arise with maps exported from the new release of Tiled (thanks @paul-reilly #1440)
    • +
    • Group.replace could still access newChild.parent after it was set to undefined. This unifies the approach (thanks @pnstickne #1410 #1417)
    • +
    • P2.postBroadphaserHandler updated to avoid skipping final 2 pairs.
    • +
    • The P2 World constructor wouldn't let you use your own config unless you specified both the gravity and broadphase. Now allows one or both (thanks @englercj #1412)
    • +
    • The RandomDataGenerator could be seeded with an array of values. However if the array contained a zero it would stop seeding from that point (thanks @jpcloud @pnstickne #1456)
    • +
    • Added extra checks to Sound.play to stop it throwing DOM Exception Error 11 if the sound.readyState wasn't set or the sound was invalid. Also wrapped stop()`` call in atry catch`.
    • +
    • Time.reset would incorrectly reset the _started property, now maps it to Time.time (thanks @XekeDeath #1467)
    • +
    • Fix floating point inaccuracy in Tween easing edge cases (thanks @jounii #1492)
    • +
    • Phaser.Signal was causing a CSP script-src violations in Cordova and Google Chrome Apps (thanks @elennaro #1494)
    • +
    • Added Events.onEnterBounds to the destroy method (thanks @legendary-mich #1497)
    • +
    • AnimationManager.destroy is now more careful about clearing up deep references (thanks @Arturszott #1449)
    • +
    • Ellipse.right and Ellipse.bottom setters fixed (thanks @nextht #1397)
    • +
    • Fixed double Ellipse.getBounds definition (thanks @nextht #1397)
    • +
    • TileSprite.loadTexture crashed when textures were updated in WebGL (thanks @pandavigoureux29 #1495)
    -

    Pixi 2.1.0 New Features

    +

    Pixi.js 2.2.0 Updates

      -
    • unloadFromGPU added to PIXI.BaseTexture
    • -
    • PIXI.VideoTexture added
    • -
    • PIXI.RoundedRectangle added
    • -
    • Ensured all float32arrays use PIXI.Float32Array
    • -
    • Removed the use of call in updateTransform (as its 10x faster to run the function directly)
    • -
    • autoResize option added to renderer options (default is false). Pixi no longer automatically changes the style of the canvas.
    • -
    • PIXI.RenderTexture.getCanvas optimized
    • +
    • The strip class has now three extra properties, canvasPadding, paddingX, and paddingY : @darionco
    • +
    • Added mipmap option to to textures.
    • +
    • Added the ability to use GL_TRIANGLES when rendering Strips @darionco
    • +
    • Added the ability to tint the Graphics.
    • +
    • Fixed Y-flipped mask issue on render texture.
    • +
    • Fixed the issue where you could an alpha that is more than one and it would.
    • +
    • Fixed text issues when using accents.
    • +
    • Fixed sprite caching not clearing the previous cached texture : @kambing86
    • +
    • Fixed arcTo issues.
    • +
    • Vertex buffer and and vertex shader optimisation and reduced memory footprint on the tint and alpha : @bchevalier
    • +
    • Applied the new generic updateTransform to spritebatch : @kambing86
    -

    Pixi 2.1.0 Bug Fixes

    +

    For changes in previous releases please see the extensive Version History.

    + + +

    Download Phaser

    +

    Phaser is hosted on Github. There are a number of ways to download it:

      -
    • Fix destroy method of PIXI.WebGLRenderer
    • -
    • Fixed Graphics.drawRoundedRectangle
    • -
    • Fixed Graphics.arcTo issue
    • -
    • Fixed Graphics.arc issue
    • -
    • Fixed Graphics.cacheAsBitmap alpha issue
    • -
    • Fixed PIXI.Strip alpha issue
    • -
    • Fixed PIXI.DisplayObject.cacheAsBitmap alpha issue
    • -
    • Fixed PIXI.RenderTexture Canvas Clear bug
    • -
    • Fixed PIXI.DisplayObject.updateTransform issue
    • -
    • Fixed webGL Shader textures issue
    • -
    • Fixed PIXI.DisplayObject.getLocalPosition()
    • -
    • Fixed CocoonJS crashing, when loading destroyed texture
    • -
    • Fix eventTarget emit bug
    • +
    • Clone the git repository via https, ssh or with the Github Windows or Mac clients.
    • +
    • Download as zip or tar.gz
    • +
    • Download just the build files: phaser.js and phaser.min.js
    • +
    • Checkout with svn
    -

    For details about changes made in previous versions of Phaser see the full Change Log at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md

    -

    div

    - -

    How to Build

    -

    We provide a fully compiled version of Phaser in the build folder, in both plain and minified formats.

    -

    You will also find custom builds in the build\custom folder, that split phaser up into components.

    -

    We also provide a Grunt script that will build Phaser from source.

    -

    Run grunt to perform a default build to the dist folder.

    -

    If you replace Pixi or p2 then run grunt replace to patch their UMD strings so they work properly with Phaser and requireJS.

    -

    Note: Some of you may not be aware, but the phaser.min.js file in the build folder contains both Arcade Physics and P2 Physics bundled in. If you only need Arcade Physics then you can use build\custom\phaser-arcade-physics.min.js instead. This will save you 180KB from the minified file size.

    -

    div

    - -

    Koding

    -

    You can clone the Phaser repo in Koding and then start editing and previewing code right away using their web based VM development system.

    -

    div

    - -

    Bower / NPM

    -

    If you use bower you can install phaser with:

    +

    Bower / npm

    +

    Install via bower

    bower install phaser

    -

    If you use NPM you can install phaser with:

    +

    Install via npm

    npm install phaser

    -

    Nice and easy :)

    -

    Tanks

    -

    div

    +

    CDN

    +

    jsDelivr is a "super-fast CDN for developers". Include the following in your html:

    +

    <script src="//cdn.jsdelivr.net/phaser/2.2.2/phaser.js"></script>

    +

    or the minified version:

    +

    <script src="//cdn.jsdelivr.net/phaser/2.2.2/phaser.min.js"></script>

    +

    Koding

    +

    Want to try Phaser without downloading anything? Clone Phaser in Koding and start working right away in their web based development system.

    +

    License

    +

    Phaser is released under the MIT License.

    + + +

    Getting Started

    + +

    We have a Getting Started Guide which covers all you need to begin developing games with Phaser. From setting up a web server to picking an IDE to coding your first game.

    +

    Prefer videos to reading? Lynda.com have published a free course: HTML5 Game Development with Phaser

    +

    Use the How to Learn Phaser guide we wrote for GameDevTuts+. It covers finding tutorials, examples and getting support.

    +

    Although currently a bit of a "wall of text" we urge you to keep and eye on the News section of the Phaser web site. We post fresh links posted there daily.

    +

    Using Phaser with TypeScript? Check out this great series of Game From Scratch tutorials.

    +

    Source Code Examples

    +

    Ever since we started Phaser we've been growing and expanding our extensive set of source code examples. Currently there are over 400 of them!

    +

    Browse the Phaser Examples or clone the examples repo and eat your heart out!

    +

    Phaser Books

    +

    + +

    +

    We've been busy writing books about Phaser. Available now:

    + +

    With more on the way. Vote on the next title to be written.

    +

    Game Mechanic Explorer

    +

    The Game Mechanic Explorer is a great interactive way to learn how to develop specific game mechanics in Phaser. Well worth exploring once you've got your dev environment set-up.

    +

    Mighty Editor - Visual Game Editor

    +

    MightyEditor is a browser-based visual Phaser game editor. Create your maps with ease, position objects and share them in seconds. It also exports to native Phaser code. Excellent for quickly setting-up levels and scenes.

    + + +

    Using Phaser

    +

    Phaser is provided ready compiled in the build folder of the repository. There are both plain and minified versions. The plain version is for use during development and the minified version for production.

    +

    This current release of Phaser is 153 KB gzipped and minified with both Arcade Physics and P2 Physics included. We also provide smaller custom builds.

    +

    Custom Builds

    +

    The custom builds of Phaser are in the build\custom folder.

    +

    Phaser comes with two physics systems: Arcade Physics and P2.js. Arcade Physics is perfect for arcade style games and provides an AABB (bounding box) based collision system. P2 is a full body physics system, complete with springs, materials, constraints and lots more.

    +

    If you don't require P2 then use the custom build: phaser-arcade-physics.js. This will save nearly 200 KB from the minified file size.

    +

    If you don't need physics at all, or are implementing your own, there is an even smaller build: phaser-no-physics.js. This doesn't include Tilemaps or Particle Emitter support either, as both rely on Arcade Physics, but is even smaller as a result.

    +

    Finally there is phaser-no-libs.js which is Phaser without any physics support or Pixi.js. Phaser requires Pixi.js to work, but this build allows you to use your own version of Pixi instead of the one Phaser provides.

    +

    Want to create your own custom builds? Take a look at the manifests files in the tasks folder.

    +

    Building from source

    +

    Should you wish to build Phaser from source you can take advantage of the provided Grunt scripts. Ensure you have the required packages by running npm install first.

    +

    Run grunt to perform a default build to the dist folder.

    +

    If you change either Pixi.js or P2 then use the Grunt tasks replace:pixi and replace:p2 respectively. These tasks patch their UMD strings so they work properly with Phaser under requireJS.

    + + +

    Games made with Phaser

    +

    Thousands of games have been made in Phaser. From game jam entries to titles for some of the largest entertainment brands in the world. This is just a tiny sample.

    +

    +
    + +
    + + +
    + +
    + +
    + + +

    +

    Artwork copyright their respective owners.

    +

    Find lots more on the HTML5 Game Devs Forum.

    -

    CDNJS

    -

    Phaser is now available on CDNJS. You can include the following in your html:

    -

    http://cdnjs.cloudflare.com/ajax/libs/phaser/2.2.1/phaser.min.js

    -

    Or if you prefer you can leave the protocol off, so it works via http and https:

    -

    //cdnjs.cloudflare.com/ajax/libs/phaser/2.2.1/phaser.min.js

    -

    div

    Requirements

    -

    Games created with Phaser require a modern web browser that supports the canvas tag. This includes Internet Explorer 9+, Firefox, Chrome, Safari and Opera. It also works on mobile web browsers including stock Android 2.x browser and above and iOS5 Mobile Safari and above. But as always be aware of browser limitations. Not all features of Phaser work on all browsers.

    +

    Phaser requires a web browser that supports the canvas tag. This includes Internet Explorer 9+, Firefox, Chrome, Safari and Opera on desktop. iOS Safari, Android Browser and Chrome for Android are supported on mobile.

    +

    While Phaser does its best to ensure a consistent cross-platform experience always be aware of browser and device limitations. This is especially important with regard to memory and GPU limitations on mobile, and legacy browser HTML5 compatibility.

    IE9

    -

    If you need to support IE9 or Android 2.x and want to use P2 physics then you must use the polyfill found in the resources/IE9 Polyfill folder. If you don't require P2 Physics (or don't care about IE9!) then you don't need this polyfill.

    +

    If you need to support IE9 / Android 2.x and use P2 physics then you must use the polyfill in the resources/IE9 Polyfill folder. If you don't use P2 (or don't care about IE9!) you can skip this.

    JavaScript and TypeScript

    -

    Phaser is developed in JavaScript. We've made no assumptions about how you like to code your games, and were careful not to impose any form of class / inheritance / structure upon you. So you won't find it split into require modules or pull in 3rd party npm packages for example. That doesn't mean you can't, it just means we don't force you to do so. If you're a requireJS user you'll find a new template in the resources\Project Templates folder just for you.

    -

    If you code with TypeScript you'll find a comprehensive definitions file inside the typescript folder and tutorials on getting started on our site. This definitions file is for TypeScript 1.0+. If you are using an earlier version of TypeScript (i.e. 0.9.5) you will need to include the WebGL definitions into your project first. This file isn't included with Phaser.

    +

    Phaser is developed in JavaScript. We've made no assumptions about how you like to code and were careful not to impose a strict structure upon you. You won't find Phaser split into modules, requiring a build step, or making you use a class / inheritance OOP approach. That doesn't mean you can't do so, it just means we don't force you to. It's your choice.

    +

    If you code with TypeScript there are comprehensive definition files in the typescript folder. They are for TypeScript 1.0+. If using an earlier version of TypeScript (i.e. 0.9.5) you will need to include WebGL definitions into your project first.

    -

    Build Files and Custom Builds

    -

    The build folder contains the pre-built packaged versions of Phaser.

    -

    Phaser is 153 KB gzipped and minified when including both Arcade Physics and the full P2 Physics engine.

    -

    If you don't require P2 you can save yourself nearly 200 KB from the minified size and instead use the phaser-arcade-physics.min.js file found inside the build/custom folder. This version is only 115 KB gzipped and minified.

    -

    If you don't need any physics system at all, or are implementing your own, there is an even smaller build: phaser-no-physics.min.js in the custom folder that is only 102 KB gzipped and minified. Please note that this build doesn't include Tilemaps or Particle Emitter support either, as both rely on Arcade Physics.

    -

    You can create your own custom build of Phaser by looking at the grunt options and manifests in the tasks folder.

    -

    div

    - -

    Learn By Example

    -

    Ever since we started Phaser we've been growing and expanding our extensive set of Examples. Currently over 400 of them!

    -

    They used to be bundled in the main Phaser repo, but because they got so large and in order to help with versioning we've moved them to their own repo.

    -

    So please checkout https://github.com/photonstorm/phaser-examples

    -

    Here you'll find an ever growing suite of Examples. Personally I feel that developers tend to learn better by looking at small refined code examples, so we created hundreds of them, and create new ones to test new features and updates. Inside the examples repo you'll find the current set. If you write a particularly good example then please send it to us.

    -

    The examples need to be run through a local web server (in order to avoid file access permission errors from your browser). You can use your own web server, or start the included web server using grunt.

    -

    Using a locally installed web server browse to the examples folder:

    -
    examples/index.html
    -

    Alternatively in order to start the included web server, after you've cloned the repo, run npm install to install all dependencies, then grunt connect to start a local server. After running this command you should be able to access your local webserver at http://127.0.0.1:8000. Then browse to the examples folder: http://127.0.0.1:8000/examples/index.html

    -

    There is a 'Side View' example viewer as well. This loads all the examples into a left-hand frame for faster navigation. And if you've got php installed into your web server you may want to try debug.php, which provides a minimal examples list and debug interface.

    -

    You can also browse all Phaser Examples online.

    -

    div

    - -

    Features

    -

    WebGL & Canvas

    -

    Phaser uses both a Canvas and WebGL renderer internally and can automatically swap between them based on browser support. This allows for lightning fast rendering across Desktop and Mobile. When running under WebGL Phaser now supports shaders, allowing for some incredible in-game effects. Phaser uses and contributes towards the excellent Pixi.js library for rendering.

    -

    Preloader

    -

    We've made the loading of assets as simple as one line of code. Images, Sounds, Sprite Sheets, Tilemaps, JSON data, XML and JavaScript files - all parsed and handled automatically, ready for use in game and stored in a global Cache for Sprites to share.

    -

    Physics

    -

    Phaser ships with our Arcade Physics system, Ninja Physics and P2.JS - a full body physics system. Arcade Physics is for high-speed AABB collision only. Ninja Physics allows for complex tiles and slopes, perfect for level scenery, and P2.JS is a full-body physics system, with constraints, springs, polygon support and more.

    -

    Sprites

    -

    Sprites are the life-blood of your game. Position them, tween them, rotate them, scale them, animate them, collide them, paint them onto custom textures and so much more! -Sprites also have full Input support: click them, touch them, drag them around, snap them - even pixel perfect click detection if needed.

    -

    Groups

    -

    Group bundles of Sprites together for easy pooling and recycling, avoiding constant object creation. Groups can also be collided: for example a "Bullets" group checking for collision against the "Aliens" group, with a custom collision callback to handle the outcome.

    -

    Animation

    -

    Phaser supports classic Sprite Sheets with a fixed frame size, Texture Packer and Flash CS6/CC JSON files (both Hash and Array formats) and Starling XML files. All of these can be used to easily create animation for Sprites.

    -

    Particles

    -

    An Arcade Particle system is built-in, which allows you to create fun particle effects easily. Create explosions or constant streams for effects like rain or fire. Or attach the Emitter to a Sprite for a jet trail.

    -

    Camera

    -

    Phaser has a built-in Game World. Objects can be placed anywhere within the world and you've got access to a powerful Camera to look into that world. Pan around and follow Sprites with ease.

    -

    Input

    -

    Talk to a Phaser.Pointer and it doesn't matter if the input came from a touch-screen or mouse, it can even change mid-game without dropping a beat. Multi-touch, Mouse, Keyboard and lots of useful functions allow you to code custom gesture recognition.

    -

    Sound

    -

    Phaser supports both Web Audio and legacy HTML Audio. It automatically handles mobile device locking, easy Audio Sprite creation, looping, streaming and volume. We know how much of a pain dealing with audio on mobile is, so we did our best to resolve that!

    -

    Tilemaps

    -

    Phaser can load, render and collide with a tilemap with just a couple of lines of code. We support CSV and Tiled map data formats with multiple tile layers. There are lots of powerful tile manipulation functions: swap tiles, replace them, delete them, add them and update the map in realtime.

    -

    Device Scaling

    -

    Phaser has a built-in Scale Manager which allows you to scale your game to fit any size screen. Control aspect ratios, minimum and maximum scales and full-screen support.

    -

    Plugin system

    -

    We are trying hard to keep the core of Phaser limited to only essential classes, so we built a smart Plugin system to handle everything else. Create your own plugins easily and share them with the community.

    -

    Mobile Browser

    -

    Phaser was built specifically for Mobile web browsers. Of course it works blazingly fast on Desktop too, but unlike lots of frameworks mobile was our main focus. If it doesn't perform well on mobile then we don't add it into the Core.

    -

    Developer Support

    -

    We use Phaser every day on our many client projects. As a result it's constantly evolving and improving and we jump on bugs and pull requests quickly. This is a living, breathing framework maintained by a commercial company with custom feature development and support packages available. We live and breathe HTML5 games.

    -

    Battle Tested

    -

    Phaser has been used to create hundreds of games, which receive millions of plays per month. We're not saying it is 100% bug free, but we use it for our client work every day, so issues get resolved <em>fast</em> and we stay on-top of the changing browser landscape.

    -

    FruitParty

    -

    div

    Road Map

    -

    Here are some of the features planned for future releases. Not all features are promised to be delivered, and no timescale is put against any of them either.

    +

    Here are some of the features planned for future releases. Not all are promised to be delivered and no timescale is given. But they serve as a good indication of the direction Phaser is heading in.

    Version 2.3 ("Tarabon")

    • New parallel asset loader (already started in dev branch)
    • @@ -1375,40 +1199,35 @@ Sprites also have full Input support: click them, touch them, drag them around,
    • Massively enhance the audio side of Phaser. Take more advantage of Web Audio: echo effects, positional sound, etc.
    • DragonBones support.
    -

    Phaser 3

    -

    Development has now begun on Phaser 3. At the moment it's still in the very early stages. We are asking for suggestions and feedback in this forum thread so be sure to add your voice.

    -

    We are currently experimenting with an ES6 based module system and we're keen for Phaser 3 to use as many native ES6 features as possible. It will be a significant refactoring of the code base, but never at the expense of features or ease-of-use. Development will be made public when the time is right.

    -

    We don't anticipate a release until Summer 2015. Phaser 2 still has roadmap features left that we'd like to implement, but after 2.3 it will be in maintenance mode as we work on Phaser 3.

    -

    If you are an exceptional JavaScript developer and would like to join the Phaser 3 development team then let us know. We have a limited budget available to pay towards your time.

    -

    div

    -

    Mighty Editor - A Visual Phaser Game Editor

    -

    MightyEditor is a browser-based visual Phaser game editor. Create your maps with ease, position objects and share them in seconds. It also exports to native Phaser code. Excellent for quickly setting-up levels and scenes.

    -

    div

    + +

    Phaser 3

    +

    Development has begun on Phaser 3. At the moment it's still in the very early stages. We are asking for suggestions and feedback in this forum thread so be sure to add your voice.

    +

    We are currently experimenting with an ES6 based module system and we're keen for Phaser 3 to use as many native ES6 features as possible. It will be a significant refactoring of the code base, but never at the expense of features or ease-of-use.

    +

    We don't anticipate a release until Summer 2015 and will support Phaser 2 fully in the meantime.

    +

    If you are an exceptional JavaScript developer and would like to join the Phaser 3 development team then let us know. We have a limited budget available to pay towards your time.

    +

    Contributing

    -

    We now have a full Contributors Guide which goes into the process in more detail, but here are the headlines:

    +

    Please read the Contributors Guide for full details on helping with Phaser, but the main points are:

      -
    • If you find a bug then please report it on GitHub Issues or our Support Forum.

      +
    • Found a bug? Report it on GitHub Issues and include a code sample.

    • -
    • If you have a feature request, or have written a game or demo that shows Phaser in use, then please get in touch. We'd love to hear from you! Either post to our forum or email: rich@photonstorm.com

      +
    • Pull Requests should only be made against the dev branch. Never against master.

    • -
    • If you issue a Pull Request for Phaser, please only do so againt the dev branch and not against the master branch.

      +
    • Before submitting a Pull Request run your code through JSHint using our config.

    • -
    • Before submitting a Pull Request please run your code through JSHint to check for stylistic or formatting errors. To use JSHint, run grunt jshint. This isn't a strict requirement and we are happy to receive Pull Requests that haven't been JSHinted, so don't let it put you off contributing, but do know that we'll reformat your source before going live with it.

      +
    • Before contributing please read the code of conduct.

    +

    Written something cool that shows Phaser in use? Please tell us about it in our forum or email: rich@photonstorm.com

    Build Status

    -

    div

    -

    Bugs?

    -

    Please add them to the Issue Tracker with as much info as possible, especially source code demonstrating the issue.

    -

    Phaser Tilemap

    -

    "Being negative is not how we make progress" - Larry Page, Google

    -

    div

    - -

    License

    -

    Phaser is released under the MIT License.

    +

    storm

    +

    Phaser is a Photon Storm production.

    +

    Created by Richard Davey. Powered by coffee, anime, pixels and love.

    +

    The Phaser logo and characters are © 2015 Photon Storm Limited.

    +

    All rights reserved.

    Analytics

    @@ -1429,7 +1248,7 @@ Sprites also have full Input support: click them, touch them, drag them around, Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:26 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:50 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html index 929695269..c03f4d9d0 100644 --- a/docs/namespaces.list.html +++ b/docs/namespaces.list.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2586,7 +2586,7 @@ Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/pixi-jsdoc.js b/docs/pixi-jsdoc.js index 16f127318..98c5b75aa 100644 --- a/docs/pixi-jsdoc.js +++ b/docs/pixi-jsdoc.js @@ -1312,14 +1312,14 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 194 +* @sourceline 192 */ /** * @description Returns the framing rectangle of the sprite as a PIXI.Rectangle object * @method PIXI.TilingSprite#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 280 +* @sourceline 278 */ /** * @description When the texture is updated, this event will fire to update the scale and frame @@ -1327,13 +1327,13 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * @param {} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 360 +* @sourceline 358 */ /** * @method PIXI.TilingSprite#generateTilingTexture * @param {Boolean} forcePowerOfTwo - Whether we want to force the texture to be a power of two * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 373 +* @sourceline 371 */ /** * @fileoverview @@ -2130,11 +2130,19 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @sourceline 30 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.CIRC in this case +* @member PIXI.Circle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js +* @sourceline 37 +*/ +/** * @description Creates a clone of this Circle instance * @method PIXI.Circle#clone * @return {PIXI.Circle} a copy of the Circle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 38 +* @sourceline 45 */ /** * @description Checks whether the x and y coordinates given are contained within this circle @@ -2143,14 +2151,14 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Circle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 49 +* @sourceline 56 */ /** * @description Returns the framing rectangle of the circle as a PIXI.Rectangle object * @method PIXI.Circle#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 72 +* @sourceline 79 */ /** * @fileoverview @@ -2197,11 +2205,19 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @sourceline 38 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.ELIP in this case +* @member PIXI.Ellipse#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js +* @sourceline 46 +*/ +/** * @description Creates a clone of this Ellipse instance * @method PIXI.Ellipse#clone * @return {PIXI.Ellipse} a copy of the ellipse * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 46 +* @sourceline 54 */ /** * @description Checks whether the x and y coordinates given are contained within this ellipse @@ -2210,14 +2226,14 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coords are within this ellipse * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 57 +* @sourceline 65 */ /** * @description Returns the framing rectangle of the ellipse as a PIXI.Rectangle object * @method PIXI.Ellipse#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 80 +* @sourceline 88 */ /** * @fileoverview @@ -2421,11 +2437,26 @@ If y is omitted, both x and y will be set to x. * @sourceline 5 */ /** +* @description An array of the points of this polygon +* @member PIXI.Polygon#points +* @type {(Array|Array)} +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js +* @sourceline 33 +*/ +/** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.POLY in this case +* @member PIXI.Polygon#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js +* @sourceline 41 +*/ +/** * @description Creates a clone of this polygon * @method PIXI.Polygon#clone * @return {PIXI.Polygon} a copy of the polygon * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js -* @sourceline 35 +* @sourceline 49 */ /** * @description Checks whether the x and y coordinates passed to this function are contained within this polygon @@ -2434,7 +2465,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this polygon * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js -* @sourceline 47 +* @sourceline 61 */ /** * @fileoverview @@ -2481,11 +2512,19 @@ If y is omitted, both x and y will be set to x. * @sourceline 38 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RECT in this case +* @member PIXI.Rectangle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js +* @sourceline 45 +*/ +/** * @description Creates a clone of this Rectangle * @method PIXI.Rectangle#clone * @return {PIXI.Rectangle} a copy of the rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js -* @sourceline 46 +* @sourceline 53 */ /** * @description Checks whether the x and y coordinates given are contained within this Rectangle @@ -2494,7 +2533,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js -* @sourceline 57 +* @sourceline 64 */ /** * @fileoverview @@ -2509,7 +2548,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the upper-left corner of the rounded rectangle * @param {Number} width - The overall width of this rounded rectangle * @param {Number} height - The overall height of this rounded rectangle -* @param {Number} radius - The overall radius of this corners of this rounded rectangle +* @param {Number} radius - Controls the radius of the rounded corners * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js * @sourceline 5 */ @@ -2549,11 +2588,19 @@ If y is omitted, both x and y will be set to x. * @sourceline 46 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RRECT in this case +* @member PIXI.RoundedRectangle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js +* @sourceline 53 +*/ +/** * @description Creates a clone of this Rounded Rectangle * @method PIXI.RoundedRectangle#clone * @return {PIXI.RoundedRectangle} a copy of the rounded rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js -* @sourceline 54 +* @sourceline 61 */ /** * @description Checks whether the x and y coordinates given are contained within this Rounded Rectangle @@ -2562,7 +2609,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Rounded Rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js -* @sourceline 65 +* @sourceline 72 */ /** * @fileoverview @@ -3476,34 +3523,49 @@ This can be quite useful if your geometry is complicated and needs to be reused * @method PIXI.CanvasTinter.roundColor * @param {Number} color - the color to round, should be a hex color * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 189 +* @sourceline 198 +*/ +/** +* @description Rounds the specified color according to the PIXI.CanvasTinter.cacheStepsPerColorChannel. +* @method PIXI.CanvasTinter.roundColor +* @param {Number} color - the color to round, should be a hex color +* @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js +* @sourceline 218 */ /** * @description Number of steps which will be used as a cap when rounding colors. * @member PIXI.CanvasTinter.cacheStepsPerColorChannel * @type {Number} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 209 +* @sourceline 247 */ /** * @description Tint cache boolean flag. * @member PIXI.CanvasTinter.convertTintToImage * @type {Boolean} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 218 +* @sourceline 256 +*/ +/** +* @description If the browser isn't capable of handling tinting with alpha this will be false. +This property is only applicable if using tintWithPerPixel. +* @member PIXI.CanvasTinter.canHandleAlpha +* @type {Boolean} +* @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js +* @sourceline 265 */ /** * @description Whether or not the Canvas BlendModes are supported, consequently the ability to tint using the multiply method. * @member PIXI.CanvasTinter.canUseMultiply * @type {Boolean} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 227 +* @sourceline 275 */ /** * @description The tinting method that will be used. * @method PIXI.CanvasTinter.tintMethod * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 236 +* @sourceline 284 */ /** * @fileoverview @@ -3725,7 +3787,7 @@ Disable this by setting this to false. For example if your game has a canvas fil * @description Destroys the shader. * @method PIXI.ComplexPrimitiveShader#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\ComplexPrimitiveShader.js -* @sourceline 109 +* @sourceline 110 */ /** * @fileoverview @@ -3951,13 +4013,13 @@ http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf * @description Initialises the shader. * @method PIXI.PrimitiveShader#init * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\PrimitiveShader.js -* @sourceline 74 +* @sourceline 75 */ /** * @description Destroys the shader. * @method PIXI.PrimitiveShader#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\PrimitiveShader.js -* @sourceline 103 +* @sourceline 105 */ /** * @fileoverview @@ -4376,7 +4438,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {WebGLContext} gl - the current WebGL drawing context * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 84 +* @sourceline 86 */ /** * @method PIXI.WebGLGraphics.switchMode @@ -4384,7 +4446,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Number} type - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 209 +* @sourceline 211 */ /** * @description Builds a rectangle to draw @@ -4393,7 +4455,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 243 +* @sourceline 245 */ /** * @description Builds a rounded rectangle to draw @@ -4402,7 +4464,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 311 +* @sourceline 313 */ /** * @description Calculate the points for a quadratic bezier curve. (helper function..) @@ -4417,7 +4479,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @return {Array} * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 379 +* @sourceline 384 */ /** * @description Builds a circle to draw @@ -4426,7 +4488,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 431 +* @sourceline 436 */ /** * @description Builds a line to draw @@ -4435,7 +4497,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 514 +* @sourceline 519 */ /** * @description Builds a complex polygon to draw @@ -4444,7 +4506,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 726 +* @sourceline 731 */ /** * @description Builds a polygon to draw @@ -4453,23 +4515,23 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 788 +* @sourceline 793 */ /** * @class PIXI.WebGLGraphicsData * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 843 +* @sourceline 848 */ /** * @method PIXI.WebGLGraphicsData#reset * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 863 +* @sourceline 868 */ /** * @method PIXI.WebGLGraphicsData#upload * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 872 +* @sourceline 877 */ /** * @fileoverview @@ -4833,13 +4895,13 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Array} webGLData - * @param {Object} renderSession - * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLStencilManager.js -* @sourceline 190 +* @sourceline 193 */ /** * @description Destroys the mask stack. * @method PIXI.WebGLStencilManager#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLStencilManager.js -* @sourceline 285 +* @sourceline 288 */ /** * @fileoverview @@ -5035,14 +5097,14 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {Number} width - the new width of the webGL view * @param {Number} height - the new height of the webGL view * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 378 +* @sourceline 381 */ /** * @description Updates and Creates a WebGL texture for the renderers context. * @method PIXI.WebGLRenderer#updateTexture * @param {PIXI.Texture} texture - the texture to update * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 404 +* @sourceline 407 */ /** * @description Handles a lost webgl context @@ -5050,7 +5112,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {PIXI.Event} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 453 +* @sourceline 456 */ /** * @description Handles a restored webgl context @@ -5058,19 +5120,19 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {PIXI.Event} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 466 +* @sourceline 469 */ /** * @description Removes everything from the renderer (event listeners, spritebatch, etc...) * @method PIXI.WebGLRenderer#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 487 +* @sourceline 490 */ /** * @description Maps Pixi blend modes to WebGL blend modes. * @method PIXI.WebGLRenderer#mapBlendModes * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 518 +* @sourceline 521 */ /** * @fileoverview @@ -5241,7 +5303,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @method PIXI.Text#updateTexture * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 281 +* @sourceline 285 */ /** * @description Renders the object using the WebGL renderer @@ -5249,7 +5311,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 301 +* @sourceline 305 */ /** * @description Renders the object using the Canvas renderer @@ -5257,7 +5319,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 321 +* @sourceline 325 */ /** * @description Calculates the ascent, descent and fontSize of a given fontStyle @@ -5265,7 +5327,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {Object} fontStyle - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 341 +* @sourceline 345 */ /** * @description Applies newlines to a string to have it optimally fit into the horizontal @@ -5274,7 +5336,7 @@ bounds set by the Text object's wordWrapWidth property. * @param {String} text - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 444 +* @sourceline 450 */ /** * @description Returns the bounds of the Text as a rectangle. The bounds calculation takes the worldTransform into account. @@ -5282,14 +5344,14 @@ bounds set by the Text object's wordWrapWidth property. * @param {PIXI.Matrix} matrix - the transformation matrix of the Text * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 492 +* @sourceline 498 */ /** * @description Destroys this text object. * @method PIXI.Text#destroy * @param {Boolean} destroyBaseTexture - whether to destroy the base texture as well * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 510 +* @sourceline 516 */ /** * @fileoverview @@ -5860,7 +5922,7 @@ This function will likely change and update as webGL performance improves on the * @sourceline 34 */ /** -* @description Various blend modes supported by pixi. +* @description Various blend modes supported by pixi. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. * @member PIXI.PIXI.blendModes * @type {Object} * @sourcefile d:\wamp\www\phaser\src\pixi\Pixi.js @@ -6160,6 +6222,15 @@ this function is taken from Starling Framework as its pretty neat ;) * @sourceline 189 */ /** +* @description checks if the given width and height make a power of two texture +* @method PIXI.AjaxRequest#isPowerOfTwo +* @param {Number} width - +* @param {Number} height - +* @return {Boolean} +* @sourcefile d:\wamp\www\phaser\src\pixi\utils\Utils.js +* @sourceline 209 +*/ +/** * @fileoverview * @author Mat Groves http://matgroves.com/ @Doormat23 * @sourcefile d:\wamp\www\phaser\src\pixi\InteractionData.js diff --git a/docs/pixi-jsdoc.js.html b/docs/pixi-jsdoc.js.html index 30fa5e020..ae9904582 100644 --- a/docs/pixi-jsdoc.js.html +++ b/docs/pixi-jsdoc.js.html @@ -841,7 +841,7 @@
  • State Manager
  • Tween Manager
  • Sound Manager
  • -
  • Input Manager
  • +
  • Input Manager
  • Scale Manager
  • @@ -854,7 +854,7 @@
  • Sprite
  • Image
  • Sound
  • -
  • Emitter
  • +
  • Particle Emitter
  • Particle
  • Text
  • Tween
  • @@ -912,6 +912,7 @@ @@ -2256,14 +2256,14 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 194 +* @sourceline 192 */ /** * @description Returns the framing rectangle of the sprite as a PIXI.Rectangle object * @method PIXI.TilingSprite#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 280 +* @sourceline 278 */ /** * @description When the texture is updated, this event will fire to update the scale and frame @@ -2271,13 +2271,13 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * @param {} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 360 +* @sourceline 358 */ /** * @method PIXI.TilingSprite#generateTilingTexture * @param {Boolean} forcePowerOfTwo - Whether we want to force the texture to be a power of two * @sourcefile d:\wamp\www\phaser\src\pixi\extras\TilingSprite.js -* @sourceline 373 +* @sourceline 371 */ /** * @fileoverview @@ -3074,11 +3074,19 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @sourceline 30 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.CIRC in this case +* @member PIXI.Circle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js +* @sourceline 37 +*/ +/** * @description Creates a clone of this Circle instance * @method PIXI.Circle#clone * @return {PIXI.Circle} a copy of the Circle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 38 +* @sourceline 45 */ /** * @description Checks whether the x and y coordinates given are contained within this circle @@ -3087,14 +3095,14 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Circle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 49 +* @sourceline 56 */ /** * @description Returns the framing rectangle of the circle as a PIXI.Rectangle object * @method PIXI.Circle#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Circle.js -* @sourceline 72 +* @sourceline 79 */ /** * @fileoverview @@ -3141,11 +3149,19 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @sourceline 38 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.ELIP in this case +* @member PIXI.Ellipse#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js +* @sourceline 46 +*/ +/** * @description Creates a clone of this Ellipse instance * @method PIXI.Ellipse#clone * @return {PIXI.Ellipse} a copy of the ellipse * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 46 +* @sourceline 54 */ /** * @description Checks whether the x and y coordinates given are contained within this ellipse @@ -3154,14 +3170,14 @@ original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/ti * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coords are within this ellipse * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 57 +* @sourceline 65 */ /** * @description Returns the framing rectangle of the ellipse as a PIXI.Rectangle object * @method PIXI.Ellipse#getBounds * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Ellipse.js -* @sourceline 80 +* @sourceline 88 */ /** * @fileoverview @@ -3365,11 +3381,26 @@ If y is omitted, both x and y will be set to x. * @sourceline 5 */ /** +* @description An array of the points of this polygon +* @member PIXI.Polygon#points +* @type {(Array<Point>|Array<Number>)} +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js +* @sourceline 33 +*/ +/** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.POLY in this case +* @member PIXI.Polygon#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js +* @sourceline 41 +*/ +/** * @description Creates a clone of this polygon * @method PIXI.Polygon#clone * @return {PIXI.Polygon} a copy of the polygon * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js -* @sourceline 35 +* @sourceline 49 */ /** * @description Checks whether the x and y coordinates passed to this function are contained within this polygon @@ -3378,7 +3409,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this polygon * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Polygon.js -* @sourceline 47 +* @sourceline 61 */ /** * @fileoverview @@ -3425,11 +3456,19 @@ If y is omitted, both x and y will be set to x. * @sourceline 38 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RECT in this case +* @member PIXI.Rectangle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js +* @sourceline 45 +*/ +/** * @description Creates a clone of this Rectangle * @method PIXI.Rectangle#clone * @return {PIXI.Rectangle} a copy of the rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js -* @sourceline 46 +* @sourceline 53 */ /** * @description Checks whether the x and y coordinates given are contained within this Rectangle @@ -3438,7 +3477,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\Rectangle.js -* @sourceline 57 +* @sourceline 64 */ /** * @fileoverview @@ -3453,7 +3492,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the upper-left corner of the rounded rectangle * @param {Number} width - The overall width of this rounded rectangle * @param {Number} height - The overall height of this rounded rectangle -* @param {Number} radius - The overall radius of this corners of this rounded rectangle +* @param {Number} radius - Controls the radius of the rounded corners * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js * @sourceline 5 */ @@ -3493,11 +3532,19 @@ If y is omitted, both x and y will be set to x. * @sourceline 46 */ /** +* @description The type of the object, should be one of the Graphics type consts, PIXI.Graphics.RRECT in this case +* @member PIXI.RoundedRectangle#type +* @type {Number} +* @default 0 +* @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js +* @sourceline 53 +*/ +/** * @description Creates a clone of this Rounded Rectangle * @method PIXI.RoundedRectangle#clone * @return {PIXI.RoundedRectangle} a copy of the rounded rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js -* @sourceline 54 +* @sourceline 61 */ /** * @description Checks whether the x and y coordinates given are contained within this Rounded Rectangle @@ -3506,7 +3553,7 @@ If y is omitted, both x and y will be set to x. * @param {Number} y - The Y coordinate of the point to test * @return {Boolean} Whether the x/y coordinates are within this Rounded Rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\geom\RoundedRectangle.js -* @sourceline 65 +* @sourceline 72 */ /** * @fileoverview @@ -4420,34 +4467,49 @@ This can be quite useful if your geometry is complicated and needs to be reused * @method PIXI.CanvasTinter.roundColor * @param {Number} color - the color to round, should be a hex color * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 189 +* @sourceline 198 +*/ +/** +* @description Rounds the specified color according to the PIXI.CanvasTinter.cacheStepsPerColorChannel. +* @method PIXI.CanvasTinter.roundColor +* @param {Number} color - the color to round, should be a hex color +* @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js +* @sourceline 218 */ /** * @description Number of steps which will be used as a cap when rounding colors. * @member PIXI.CanvasTinter.cacheStepsPerColorChannel * @type {Number} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 209 +* @sourceline 247 */ /** * @description Tint cache boolean flag. * @member PIXI.CanvasTinter.convertTintToImage * @type {Boolean} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 218 +* @sourceline 256 +*/ +/** +* @description If the browser isn't capable of handling tinting with alpha this will be false. +This property is only applicable if using tintWithPerPixel. +* @member PIXI.CanvasTinter.canHandleAlpha +* @type {Boolean} +* @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js +* @sourceline 265 */ /** * @description Whether or not the Canvas BlendModes are supported, consequently the ability to tint using the multiply method. * @member PIXI.CanvasTinter.canUseMultiply * @type {Boolean} * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 227 +* @sourceline 275 */ /** * @description The tinting method that will be used. * @method PIXI.CanvasTinter.tintMethod * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\canvas\utils\CanvasTinter.js -* @sourceline 236 +* @sourceline 284 */ /** * @fileoverview @@ -4669,7 +4731,7 @@ Disable this by setting this to false. For example if your game has a canvas fil * @description Destroys the shader. * @method PIXI.ComplexPrimitiveShader#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\ComplexPrimitiveShader.js -* @sourceline 109 +* @sourceline 110 */ /** * @fileoverview @@ -4895,13 +4957,13 @@ http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf * @description Initialises the shader. * @method PIXI.PrimitiveShader#init * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\PrimitiveShader.js -* @sourceline 74 +* @sourceline 75 */ /** * @description Destroys the shader. * @method PIXI.PrimitiveShader#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\shaders\PrimitiveShader.js -* @sourceline 103 +* @sourceline 105 */ /** * @fileoverview @@ -5320,7 +5382,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {WebGLContext} gl - the current WebGL drawing context * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 84 +* @sourceline 86 */ /** * @method PIXI.WebGLGraphics.switchMode @@ -5328,7 +5390,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Number} type - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 209 +* @sourceline 211 */ /** * @description Builds a rectangle to draw @@ -5337,7 +5399,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 243 +* @sourceline 245 */ /** * @description Builds a rounded rectangle to draw @@ -5346,7 +5408,7 @@ https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 311 +* @sourceline 313 */ /** * @description Calculate the points for a quadratic bezier curve. (helper function..) @@ -5361,7 +5423,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @return {Array<Number>} * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 379 +* @sourceline 384 */ /** * @description Builds a circle to draw @@ -5370,7 +5432,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 431 +* @sourceline 436 */ /** * @description Builds a line to draw @@ -5379,7 +5441,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 514 +* @sourceline 519 */ /** * @description Builds a complex polygon to draw @@ -5388,7 +5450,7 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 726 +* @sourceline 731 */ /** * @description Builds a polygon to draw @@ -5397,23 +5459,23 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Object} webGLData - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 788 +* @sourceline 793 */ /** * @class PIXI.WebGLGraphicsData * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 843 +* @sourceline 848 */ /** * @method PIXI.WebGLGraphicsData#reset * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 863 +* @sourceline 868 */ /** * @method PIXI.WebGLGraphicsData#upload * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLGraphics.js -* @sourceline 872 +* @sourceline 877 */ /** * @fileoverview @@ -5777,13 +5839,13 @@ Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier * @param {Array} webGLData - * @param {Object} renderSession - * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLStencilManager.js -* @sourceline 190 +* @sourceline 193 */ /** * @description Destroys the mask stack. * @method PIXI.WebGLStencilManager#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\utils\WebGLStencilManager.js -* @sourceline 285 +* @sourceline 288 */ /** * @fileoverview @@ -5979,14 +6041,14 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {Number} width - the new width of the webGL view * @param {Number} height - the new height of the webGL view * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 378 +* @sourceline 381 */ /** * @description Updates and Creates a WebGL texture for the renderers context. * @method PIXI.WebGLRenderer#updateTexture * @param {PIXI.Texture} texture - the texture to update * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 404 +* @sourceline 407 */ /** * @description Handles a lost webgl context @@ -5994,7 +6056,7 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {PIXI.Event} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 453 +* @sourceline 456 */ /** * @description Handles a restored webgl context @@ -6002,19 +6064,19 @@ Disable this by setting this to false. For example: if your game has a canvas fi * @param {PIXI.Event} event - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 466 +* @sourceline 469 */ /** * @description Removes everything from the renderer (event listeners, spritebatch, etc...) * @method PIXI.WebGLRenderer#destroy * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 487 +* @sourceline 490 */ /** * @description Maps Pixi blend modes to WebGL blend modes. * @method PIXI.WebGLRenderer#mapBlendModes * @sourcefile d:\wamp\www\phaser\src\pixi\renderers\webgl\WebGLRenderer.js -* @sourceline 518 +* @sourceline 521 */ /** * @fileoverview @@ -6185,7 +6247,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @method PIXI.Text#updateTexture * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 281 +* @sourceline 285 */ /** * @description Renders the object using the WebGL renderer @@ -6193,7 +6255,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 301 +* @sourceline 305 */ /** * @description Renders the object using the Canvas renderer @@ -6201,7 +6263,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {RenderSession} renderSession - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 321 +* @sourceline 325 */ /** * @description Calculates the ascent, descent and fontSize of a given fontStyle @@ -6209,7 +6271,7 @@ or add a wordWrap property set to true and and wordWrapWidth property with a val * @param {Object} fontStyle - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 341 +* @sourceline 345 */ /** * @description Applies newlines to a string to have it optimally fit into the horizontal @@ -6218,7 +6280,7 @@ bounds set by the Text object's wordWrapWidth property. * @param {String} text - * @access private * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 444 +* @sourceline 450 */ /** * @description Returns the bounds of the Text as a rectangle. The bounds calculation takes the worldTransform into account. @@ -6226,14 +6288,14 @@ bounds set by the Text object's wordWrapWidth property. * @param {PIXI.Matrix} matrix - the transformation matrix of the Text * @return {PIXI.Rectangle} the framing rectangle * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 492 +* @sourceline 498 */ /** * @description Destroys this text object. * @method PIXI.Text#destroy * @param {Boolean} destroyBaseTexture - whether to destroy the base texture as well * @sourcefile d:\wamp\www\phaser\src\pixi\text\Text.js -* @sourceline 510 +* @sourceline 516 */ /** * @fileoverview @@ -6804,7 +6866,7 @@ This function will likely change and update as webGL performance improves on the * @sourceline 34 */ /** -* @description Various blend modes supported by pixi. +* @description Various blend modes supported by pixi. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. * @member PIXI.PIXI.blendModes * @type {Object} * @sourcefile d:\wamp\www\phaser\src\pixi\Pixi.js @@ -7104,6 +7166,15 @@ this function is taken from Starling Framework as its pretty neat ;) * @sourceline 189 */ /** +* @description checks if the given width and height make a power of two texture +* @method PIXI.AjaxRequest#isPowerOfTwo +* @param {Number} width - +* @param {Number} height - +* @return {Boolean} +* @sourcefile d:\wamp\www\phaser\src\pixi\utils\Utils.js +* @sourceline 209 +*/ +/** * @fileoverview * @author Mat Groves http://matgroves.com/ @Doormat23 * @sourcefile d:\wamp\www\phaser\src\pixi\InteractionData.js @@ -7417,7 +7488,7 @@ to receive those events Documentation generated by JSDoc 3.3.0-dev - on Thu Dec 04 2014 11:32:25 GMT-0000 (GMT) using the DocStrap template. + on Tue Jan 06 2015 06:31:49 GMT-0000 (GMT) using the DocStrap template.