/**
-* @author Richard Davey <rich@photonstorm.com>
-* @copyright 2014 Photon Storm Ltd.
-* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
-*/
-
-/**
-* Create a new DOMSprite.
-* @class Phaser.DOMSprite
-* @constructor
-* @param {Phaser.Game} game - Current game instance.
-* @param {string} id - DOM ID.
-* @param {number} x - X position of the new text object.
-* @param {number} y - Y position of the new text object.
-* @param {string} text - The actual text that will be written.
-* @param {object} style - The style object containing style attributes like font, font size ,
-*/
-Phaser.DOMSprite = function (game, element, x, y, style) {
-
- x = x || 0;
- y = y || 0;
- style = style || '';
-
- /**
- * @property {Phaser.Game} game - A reference to the currently running Game.
- */
- this.game = game;
-
- /**
- * @property {boolean} exists - If exists = false then the Text isn't updated by the core game loop.
- * @default
- */
- this.exists = true;
-
- /**
- * @property {boolean} alive - This is a handy little var your game can use to determine if an object is alive or not, it doesn't effect rendering.
- * @default
- */
- this.alive = true;
-
- /**
- * @property {Phaser.Group} group - The parent Group of this Text object.
- */
- this.group = null;
-
- /**
- * @property {string} name - The user defined name given to this object.
- * @default
- */
- this.name = '';
-
- /**
- * @property {number} type - The const type of this object.
- * @default
- */
- this.type = Phaser.DOMSPRITE;
-
- /**
- * @property {boolean} visible - Sets the visible state of this DOMSprite.
- * @default
- */
- this.visible = true;
-
- /*
- if (parent)
- {
- if (typeof parent === 'string')
- {
- // hopefully an element ID
- target = document.getElementById(parent);
- }
- else if (typeof parent === 'object' && parent.nodeType === 1)
- {
- // quick test for a HTMLelement
- target = parent;
- }
-
- if (overflowHidden)
- {
- target.style.overflow = 'hidden';
- }
- }
- */
-
-};
-
-// Phaser.DOMSprite.prototype = Object.create(PIXI.DOMSprite.prototype);
-// Phaser.DOMSprite.prototype.constructor = Phaser.DOMSprite;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Debug.js.html b/docs/Debug.js.html
index c8275034..4a452d40 100644
--- a/docs/Debug.js.html
+++ b/docs/Debug.js.html
@@ -879,26 +879,7 @@ Phaser.Utils.Debug.prototype = {
this.line('x: ' + sprite.x.toFixed(1) + ' y: ' + sprite.y.toFixed(1));
this.line('angle: ' + sprite.angle.toFixed(1) + ' rotation: ' + sprite.rotation.toFixed(1));
this.line('visible: ' + sprite.visible + ' in camera: ' + sprite.inCamera);
- this.line('body x: ' + sprite.body.x.toFixed(1) + ' y: ' + sprite.body.y.toFixed(1));
- // 0 = scaleX
- // 1 = skewY
- // 2 = translateX
- // 3 = skewX
- // 4 = scaleY
- // 5 = translateY
-
- this.line('id: ' + sprite._id);
- this.line('scale x: ' + sprite.worldTransform[0]);
- this.line('scale y: ' + sprite.worldTransform[4]);
- this.line('tx: ' + sprite.worldTransform[2]);
- this.line('ty: ' + sprite.worldTransform[5]);
- this.line('skew x: ' + sprite.worldTransform[3]);
- this.line('skew y: ' + sprite.worldTransform[1]);
- this.line('sdx: ' + sprite.deltaX);
- this.line('sdy: ' + sprite.deltaY);
-
- // this.line('inCamera: ' + this.game.renderer.spriteRenderer.inCamera(this.game.camera, sprite));
this.stop();
},
@@ -1364,7 +1345,7 @@ Phaser.Utils.Debug.prototype.constructor = Phaser.Utils.Debug;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Device.js.html b/docs/Device.js.html
index 0c9d8eec..01766458 100644
--- a/docs/Device.js.html
+++ b/docs/Device.js.html
@@ -1190,7 +1190,7 @@ Phaser.Device.prototype.constructor = Phaser.Device;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Easing.js.html b/docs/Easing.js.html
index 97fddaba..f316751e 100644
--- a/docs/Easing.js.html
+++ b/docs/Easing.js.html
@@ -1073,7 +1073,7 @@ Phaser.Easing = {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Ellipse.js.html b/docs/Ellipse.js.html
index a00cc84c..52cb5b8a 100644
--- a/docs/Ellipse.js.html
+++ b/docs/Ellipse.js.html
@@ -806,7 +806,7 @@ PIXI.Ellipse = Phaser.Ellipse;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Emitter.js.html b/docs/Emitter.js.html
index b439b724..70092927 100644
--- a/docs/Emitter.js.html
+++ b/docs/Emitter.js.html
@@ -1144,7 +1144,7 @@ Object.defineProperty(Phaser.Particles.Arcade.Emitter.prototype, "bottom", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Events.js.html b/docs/Events.js.html
index 17dcf631..96ecf3b0 100644
--- a/docs/Events.js.html
+++ b/docs/Events.js.html
@@ -589,7 +589,7 @@ Phaser.Events.prototype.constructor = Phaser.Events;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Filter.js.html b/docs/Filter.js.html
index 7aabecfd..faa5b71a 100644
--- a/docs/Filter.js.html
+++ b/docs/Filter.js.html
@@ -675,7 +675,7 @@ Object.defineProperty(Phaser.Filter.prototype, 'height', {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Frame.js.html b/docs/Frame.js.html
index 89fd7663..92463a1f 100644
--- a/docs/Frame.js.html
+++ b/docs/Frame.js.html
@@ -694,7 +694,7 @@ Phaser.Frame.prototype.constructor = Phaser.Frame;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/FrameData.js.html b/docs/FrameData.js.html
index 1d3f82e2..ffff6614 100644
--- a/docs/FrameData.js.html
+++ b/docs/FrameData.js.html
@@ -749,7 +749,7 @@ Object.defineProperty(Phaser.FrameData.prototype, "total", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Game.js.html b/docs/Game.js.html
index ab063cb3..771235ff 100644
--- a/docs/Game.js.html
+++ b/docs/Game.js.html
@@ -568,7 +568,7 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
this.renderer = Phaser.AUTO;
/**
- * @property {number} renderType - The Renderer this Phaser.Game will use. Either Phaser.RENDERER_AUTO, Phaser.RENDERER_CANVAS or Phaser.RENDERER_WEBGL.
+ * @property {number} renderType - The Renderer this game will use. Either Phaser.AUTO, Phaser.CANVAS or Phaser.WEBGL.
*/
this.renderType = Phaser.AUTO;
@@ -1031,6 +1031,13 @@ Phaser.Game.prototype = {
*/
setUpRenderer: function () {
+ if (this.device.trident)
+ {
+ // Pixi WebGL renderer on IE11 doesn't work correctly at the moment, the pre-multiplied alpha gets all washed out.
+ // So we're forcing canvas for now until this is fixed, sorry. It's got to be better than no game appearing at all, right?
+ this.renderType = Phaser.CANVAS;
+ }
+
if (this.renderType === Phaser.HEADLESS || this.renderType === Phaser.CANVAS || (this.renderType === Phaser.AUTO && this.device.webGL === false))
{
if (this.device.canvas)
@@ -1257,7 +1264,7 @@ Object.defineProperty(Phaser.Game.prototype, "paused", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/GameObjectCreator.js.html b/docs/GameObjectCreator.js.html
index 9595f769..0313d971 100644
--- a/docs/GameObjectCreator.js.html
+++ b/docs/GameObjectCreator.js.html
@@ -870,7 +870,7 @@ Phaser.GameObjectCreator.prototype.constructor = Phaser.GameObjectCreator;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/GameObjectFactory.js.html b/docs/GameObjectFactory.js.html
index 4be9f92a..4801f499 100644
--- a/docs/GameObjectFactory.js.html
+++ b/docs/GameObjectFactory.js.html
@@ -901,7 +901,7 @@ Phaser.GameObjectFactory.prototype.constructor = Phaser.GameObjectFactory;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Gamepad.js.html b/docs/Gamepad.js.html
index f91ec741..500b3815 100644
--- a/docs/Gamepad.js.html
+++ b/docs/Gamepad.js.html
@@ -1088,7 +1088,7 @@ Phaser.Gamepad.XBOX360_STICK_RIGHT_Y = 3;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/GamepadButton.js.html b/docs/GamepadButton.js.html
index 95ab2241..a6227c03 100644
--- a/docs/GamepadButton.js.html
+++ b/docs/GamepadButton.js.html
@@ -519,7 +519,7 @@ Phaser.GamepadButton = function (game, buttoncode) {
* @property {boolean} isUp - The "up" state of the button.
* @default
*/
- this.isUp = false;
+ this.isUp = true;
/**
* @property {number} timeDown - The timestamp when the button was last pressed down.
@@ -685,7 +685,7 @@ Phaser.GamepadButton.prototype.constructor = Phaser.GamepadButton;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Graphics.js.html b/docs/Graphics.js.html
index 5b335934..9f98156e 100644
--- a/docs/Graphics.js.html
+++ b/docs/Graphics.js.html
@@ -734,7 +734,7 @@ Object.defineProperty(Phaser.Graphics.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Group.js.html b/docs/Group.js.html
index cb6dbd75..0ce417a3 100644
--- a/docs/Group.js.html
+++ b/docs/Group.js.html
@@ -1791,7 +1791,7 @@ Object.defineProperty(Phaser.Group.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Image.js.html b/docs/Image.js.html
index 9a66294a..7603405f 100644
--- a/docs/Image.js.html
+++ b/docs/Image.js.html
@@ -1210,7 +1210,7 @@ Object.defineProperty(Phaser.Image.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Input.js.html b/docs/Input.js.html
index ffb168cf..76aa0812 100644
--- a/docs/Input.js.html
+++ b/docs/Input.js.html
@@ -1221,6 +1221,22 @@ Phaser.Input.prototype = {
return false;
}
+ else if (displayObject instanceof Phaser.TileSprite)
+ {
+ var width = displayObject.width;
+ var height = displayObject.height;
+ var x1 = -width * displayObject.anchor.x;
+
+ if (this._localPoint.x > x1 && this._localPoint.x < x1 + width)
+ {
+ var y1 = -height * displayObject.anchor.y;
+
+ if (this._localPoint.y > y1 && this._localPoint.y < y1 + height)
+ {
+ return true;
+ }
+ }
+ }
else if (displayObject instanceof PIXI.Sprite)
{
var width = displayObject.texture.frame.width;
@@ -1386,7 +1402,7 @@ Object.defineProperty(Phaser.Input.prototype, "worldY", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/InputHandler.js.html b/docs/InputHandler.js.html
index 89a7aab2..42746a56 100644
--- a/docs/InputHandler.js.html
+++ b/docs/InputHandler.js.html
@@ -1794,7 +1794,7 @@ Phaser.InputHandler.prototype.constructor = Phaser.InputHandler;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/IntroDocs.js.html b/docs/IntroDocs.js.html
deleted file mode 100644
index 664fba12..00000000
--- a/docs/IntroDocs.js.html
+++ /dev/null
@@ -1,540 +0,0 @@
-
-
-
-
-
- Phaser Source: IntroDocs.js
-
-
-
-
-
-
-
-
-
-
-
/**
-* @author Richard Davey <rich@photonstorm.com>
-* @copyright 2014 Photon Storm Ltd.
-* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
-*/
-
-/**
-* @overview
-*
-* 
-*
-* Phaser - http://www.phaser.io
-*
-* v1.1.4 - Released February 5th 2014.
-*
-* By Richard Davey http://www.photonstorm.com @photonstorm
-*
-* A feature-packed 2D HTML5 game framework born from the smouldering pits of Flixel and
-* constructed via plenty of blood, sweat, tears and coffee by Richard Davey (@photonstorm).
-*
-* Phaser uses Pixi.js for rendering, created by Mat Groves http://matgroves.com/ @Doormat23.
-*
-* View the [Official Website](http://phaser.io)<br />
-* Follow on [Twitter](https://twitter.com/photonstorm)<br />
-* Join the [Forum](http://www.html5gamedevs.com/forum/14-phaser/)<br />
-* Try out 210+ [Phaser Examples](http://examples.phaser.io)<br />
-* Read the [documentation online](http://docs.phaser.io)
-*
-* Many thanks to Adam Saltsman (@ADAMATOMIC) for releasing Flixel, from which both Phaser
-* and my love of game development originate.
-*
-* "If you want your children to be intelligent, read them fairy tales."
-* "If you want them to be more intelligent, read them more fairy tales."
-* -- Albert Einstein
-*/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/InversePointProxy.js.html b/docs/InversePointProxy.js.html
index 1d2676cb..8be99ca0 100644
--- a/docs/InversePointProxy.js.html
+++ b/docs/InversePointProxy.js.html
@@ -573,7 +573,7 @@ Object.defineProperty(Phaser.Physics.InversePointProxy.prototype, "y", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Key.js.html b/docs/Key.js.html
index 228cda7a..5657050c 100644
--- a/docs/Key.js.html
+++ b/docs/Key.js.html
@@ -519,7 +519,7 @@ Phaser.Key = function (game, keycode) {
* @property {boolean} isUp - The "up" state of the key.
* @default
*/
- this.isUp = false;
+ this.isUp = true;
/**
* @property {boolean} altKey - The down state of the ALT key, if pressed at the same time as this key.
@@ -683,7 +683,7 @@ Phaser.Key.prototype.constructor = Phaser.Key;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Keyboard.js.html b/docs/Keyboard.js.html
index 672751ff..403fd0c1 100644
--- a/docs/Keyboard.js.html
+++ b/docs/Keyboard.js.html
@@ -1007,7 +1007,7 @@ Phaser.Keyboard.NUM_LOCK = 144;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Line.js.html b/docs/Line.js.html
index 38f812aa..69bbc7f7 100644
--- a/docs/Line.js.html
+++ b/docs/Line.js.html
@@ -774,7 +774,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/LinkedList.js.html b/docs/LinkedList.js.html
index 09967842..2b992250 100644
--- a/docs/LinkedList.js.html
+++ b/docs/LinkedList.js.html
@@ -666,7 +666,7 @@ Phaser.LinkedList.prototype.constructor = Phaser.LinkedList;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Loader.js.html b/docs/Loader.js.html
index 68302b3c..dcb2a2fb 100644
--- a/docs/Loader.js.html
+++ b/docs/Loader.js.html
@@ -635,10 +635,10 @@ Phaser.Loader.prototype = {
/**
* You can set a Sprite to be a "preload" sprite by passing it to this method.
* A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time.
- * This allows you to easily make loading bars for games.
+ * This allows you to easily make loading bars for games. Note that Sprite.visible = true will be set when calling this.
*
* @method Phaser.Loader#setPreloadSprite
- * @param {Phaser.Sprite} sprite - The sprite that will be cropped during the load.
+ * @param {Phaser.Sprite|Phaser.Image} sprite - The sprite that will be cropped during the load.
* @param {number} [direction=0] - A value of zero means the sprite width will be cropped, a value of 1 means its height will be cropped.
*/
setPreloadSprite: function (sprite, direction) {
@@ -660,6 +660,8 @@ Phaser.Loader.prototype = {
sprite.crop(this.preloadSprite.crop);
+ sprite.visible = true;
+
},
/**
@@ -850,6 +852,32 @@ Phaser.Loader.prototype = {
},
+ /**
+ * Add a json file to the Loader.
+ *
+ * @method Phaser.Loader#json
+ * @param {string} key - Unique asset key of the json file.
+ * @param {string} url - URL of the json file.
+ * @param {boolean} [overwrite=false] - If an unloaded file with a matching key already exists in the queue, this entry will overwrite it.
+ * @return {Phaser.Loader} This Loader instance.
+ */
+ json: function (key, url, overwrite) {
+
+ if (typeof overwrite === "undefined") { overwrite = false; }
+
+ if (overwrite)
+ {
+ this.replaceInFileList('json', key, url);
+ }
+ else
+ {
+ this.addToFileList('json', key, url);
+ }
+
+ return this;
+
+ },
+
/**
* Add a JavaScript file to the Loader. Once loaded the JavaScript file will be automatically turned into a script tag (and executed), so be careful what you load!
*
@@ -1374,6 +1402,15 @@ Phaser.Loader.prototype = {
break;
+ case 'json':
+ this._xhr.open("GET", this.baseURL + file.url, true);
+ this._xhr.responseType = "text";
+ this._xhr.onload = function () {
+ return _this.jsonLoadComplete(_this._fileIndex);
+ };
+ this._xhr.send();
+ break;
+
case 'tilemap':
this._xhr.open("GET", this.baseURL + file.url, true);
this._xhr.responseType = "text";
@@ -1665,6 +1702,10 @@ Phaser.Loader.prototype = {
{
this.game.cache.addTilemap(file.key, file.url, data, file.format);
}
+ else if (file.type === 'json')
+ {
+ this.game.cache.addJSON(file.key, file.url, data);
+ }
else
{
this.game.cache.addTextureAtlas(file.key, file.url, file.data, data, file.format);
@@ -1796,8 +1837,6 @@ Phaser.Loader.prototype = {
{
this.preloadSprite.crop.height = Math.floor((this.preloadSprite.height / 100) * this.progress);
}
-
- // this.preloadSprite.sprite.crop = this.preloadSprite.crop;
}
this.onFileComplete.dispatch(this.progress, this._fileList[previousIndex].key, success, this.totalLoadedFiles(), this._fileList.length);
@@ -1885,7 +1924,7 @@ Phaser.Loader.prototype.constructor = Phaser.Loader;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/LoaderParser.js.html b/docs/LoaderParser.js.html
index e8f7a48d..b4b38369 100644
--- a/docs/LoaderParser.js.html
+++ b/docs/LoaderParser.js.html
@@ -594,7 +594,7 @@ Phaser.LoaderParser = {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/MSPointer.js.html b/docs/MSPointer.js.html
index a081c04d..a7ce4f6b 100644
--- a/docs/MSPointer.js.html
+++ b/docs/MSPointer.js.html
@@ -680,7 +680,7 @@ Phaser.MSPointer.prototype.constructor = Phaser.MSPointer;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Material.js.html b/docs/Material.js.html
index 33160a2e..abf073ff 100644
--- a/docs/Material.js.html
+++ b/docs/Material.js.html
@@ -537,7 +537,7 @@ Phaser.Physics.Material.prototype.constructor = Phaser.Physics.Material;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Math.js.html b/docs/Math.js.html
index 9103d3c2..9173ec3c 100644
--- a/docs/Math.js.html
+++ b/docs/Math.js.html
@@ -1891,7 +1891,7 @@ Phaser.Math = {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Mouse.js.html b/docs/Mouse.js.html
index f153fc58..13b4b324 100644
--- a/docs/Mouse.js.html
+++ b/docs/Mouse.js.html
@@ -656,7 +656,7 @@ Phaser.Mouse.prototype = {
event.preventDefault();
}
- this.button = event.which;
+ this.button = event.button;
if (this.mouseDownCallback)
{
@@ -841,7 +841,7 @@ Phaser.Mouse.prototype.constructor = Phaser.Mouse;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Net.js.html b/docs/Net.js.html
index f0e00fcb..fb3b9c39 100644
--- a/docs/Net.js.html
+++ b/docs/Net.js.html
@@ -676,7 +676,7 @@ Phaser.Net.prototype.constructor = Phaser.Net;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Particles.js.html b/docs/Particles.js.html
index 51ef760a..0766fa49 100644
--- a/docs/Particles.js.html
+++ b/docs/Particles.js.html
@@ -591,7 +591,7 @@ Phaser.Particles.prototype.constructor = Phaser.Particles;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Animation.html b/docs/Phaser.Animation.html
index f17dbc50..0390b15a 100644
--- a/docs/Phaser.Animation.html
+++ b/docs/Phaser.Animation.html
@@ -2986,7 +2986,7 @@ You could use this function to generate those by doing: Phaser.Animation.generat
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.AnimationManager.html b/docs/Phaser.AnimationManager.html
index 4159d793..b5450799 100644
--- a/docs/Phaser.AnimationManager.html
+++ b/docs/Phaser.AnimationManager.html
@@ -3033,7 +3033,7 @@ The currentAnim property of the AnimationManager is automatically set to the ani
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.AnimationParser.html b/docs/Phaser.AnimationParser.html
index 889c8af8..9fdaa163 100644
--- a/docs/Phaser.AnimationParser.html
+++ b/docs/Phaser.AnimationParser.html
@@ -1554,7 +1554,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.BitmapData.html b/docs/Phaser.BitmapData.html
index fda23b64..db0f5fa3 100644
--- a/docs/Phaser.BitmapData.html
+++ b/docs/Phaser.BitmapData.html
@@ -3941,7 +3941,7 @@ This is called automatically if the BitmapData is being used by a Sprite, otherw
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.BitmapFont.html b/docs/Phaser.BitmapFont.html
index 33300a0c..0a89a8b2 100644
--- a/docs/Phaser.BitmapFont.html
+++ b/docs/Phaser.BitmapFont.html
@@ -5142,7 +5142,7 @@ If text is wider than the width specified it will be cropped off.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.BitmapText.html b/docs/Phaser.BitmapText.html
index 3201ebe8..b5dc388e 100644
--- a/docs/Phaser.BitmapText.html
+++ b/docs/Phaser.BitmapText.html
@@ -2908,7 +2908,7 @@ activated for this object and it will then start to process click/touch events a
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Button.html b/docs/Phaser.Button.html
index 1ed147da..9a13f5b2 100644
--- a/docs/Phaser.Button.html
+++ b/docs/Phaser.Button.html
@@ -7838,7 +7838,7 @@ Call this function with no parameters at all to reset all sounds on this Button.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:35 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Cache.html b/docs/Phaser.Cache.html
index 5eb87d31..d8017b33 100644
--- a/docs/Phaser.Cache.html
+++ b/docs/Phaser.Cache.html
@@ -682,7 +682,7 @@
@@ -8995,7 +9478,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Camera.html b/docs/Phaser.Camera.html
index f5f06e61..956a22ff 100644
--- a/docs/Phaser.Camera.html
+++ b/docs/Phaser.Camera.html
@@ -3572,7 +3572,7 @@ without having to use game.camera.x and game.camera.y.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Canvas.html b/docs/Phaser.Canvas.html
index fa9f77b6..c16b141a 100644
--- a/docs/Phaser.Canvas.html
+++ b/docs/Phaser.Canvas.html
@@ -2698,7 +2698,7 @@ patchy on earlier browsers, especially on mobile.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Circle.html b/docs/Phaser.Circle.html
index 606e11d1..c26af70c 100644
--- a/docs/Phaser.Circle.html
+++ b/docs/Phaser.Circle.html
@@ -4376,7 +4376,7 @@ This method checks the radius distances between the two Circle objects to see if
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Color.html b/docs/Phaser.Color.html
index a4f0e04c..104fa4ec 100644
--- a/docs/Phaser.Color.html
+++ b/docs/Phaser.Color.html
@@ -3685,7 +3685,7 @@ Set the max value to restrict the maximum color used per channel.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.DOMSprite.html b/docs/Phaser.DOMSprite.html
deleted file mode 100644
index a9785517..00000000
--- a/docs/Phaser.DOMSprite.html
+++ /dev/null
@@ -1,1510 +0,0 @@
-
-
-
-
-
- Phaser Class: DOMSprite
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/Phaser.Device.html b/docs/Phaser.Device.html
index 40bf8638..915e4fed 100644
--- a/docs/Phaser.Device.html
+++ b/docs/Phaser.Device.html
@@ -6111,7 +6111,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:36 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Back.html b/docs/Phaser.Easing.Back.html
index 62c31444..a19386a1 100644
--- a/docs/Phaser.Easing.Back.html
+++ b/docs/Phaser.Easing.Back.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Bounce.html b/docs/Phaser.Easing.Bounce.html
index 6e5d55bb..ea3a9bee 100644
--- a/docs/Phaser.Easing.Bounce.html
+++ b/docs/Phaser.Easing.Bounce.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Circular.html b/docs/Phaser.Easing.Circular.html
index 00ed68f4..dd512014 100644
--- a/docs/Phaser.Easing.Circular.html
+++ b/docs/Phaser.Easing.Circular.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Cubic.html b/docs/Phaser.Easing.Cubic.html
index de949020..cce0514e 100644
--- a/docs/Phaser.Easing.Cubic.html
+++ b/docs/Phaser.Easing.Cubic.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Elastic.html b/docs/Phaser.Easing.Elastic.html
index dd576741..09e907af 100644
--- a/docs/Phaser.Easing.Elastic.html
+++ b/docs/Phaser.Easing.Elastic.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Exponential.html b/docs/Phaser.Easing.Exponential.html
index 45c14e65..288e667a 100644
--- a/docs/Phaser.Easing.Exponential.html
+++ b/docs/Phaser.Easing.Exponential.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Linear.html b/docs/Phaser.Easing.Linear.html
index 4e57b3d0..d8cdde5b 100644
--- a/docs/Phaser.Easing.Linear.html
+++ b/docs/Phaser.Easing.Linear.html
@@ -755,7 +755,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quadratic.html b/docs/Phaser.Easing.Quadratic.html
index f78d7388..66e0124f 100644
--- a/docs/Phaser.Easing.Quadratic.html
+++ b/docs/Phaser.Easing.Quadratic.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quartic.html b/docs/Phaser.Easing.Quartic.html
index 4a34dab2..a3230a0c 100644
--- a/docs/Phaser.Easing.Quartic.html
+++ b/docs/Phaser.Easing.Quartic.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quintic.html b/docs/Phaser.Easing.Quintic.html
index a81af0e9..560d6eb7 100644
--- a/docs/Phaser.Easing.Quintic.html
+++ b/docs/Phaser.Easing.Quintic.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Sinusoidal.html b/docs/Phaser.Easing.Sinusoidal.html
index ff000306..b3baf6c7 100644
--- a/docs/Phaser.Easing.Sinusoidal.html
+++ b/docs/Phaser.Easing.Sinusoidal.html
@@ -1037,7 +1037,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.html b/docs/Phaser.Easing.html
index cf176139..a919ad22 100644
--- a/docs/Phaser.Easing.html
+++ b/docs/Phaser.Easing.html
@@ -647,7 +647,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:25 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:37 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Ellipse.html b/docs/Phaser.Ellipse.html
index cda99152..3337ffff 100644
--- a/docs/Phaser.Ellipse.html
+++ b/docs/Phaser.Ellipse.html
@@ -2792,7 +2792,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 Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Events.html b/docs/Phaser.Events.html
index 404b7863..4df74403 100644
--- a/docs/Phaser.Events.html
+++ b/docs/Phaser.Events.html
@@ -661,7 +661,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Filter.html b/docs/Phaser.Filter.html
index f975ddf0..222b9b74 100644
--- a/docs/Phaser.Filter.html
+++ b/docs/Phaser.Filter.html
@@ -1946,7 +1946,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Frame.html b/docs/Phaser.Frame.html
index 24f17f94..b6835adc 100644
--- a/docs/Phaser.Frame.html
+++ b/docs/Phaser.Frame.html
@@ -3175,7 +3175,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:26 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:38 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.FrameData.html b/docs/Phaser.FrameData.html
index 7291c13f..04992b6b 100644
--- a/docs/Phaser.FrameData.html
+++ b/docs/Phaser.FrameData.html
@@ -1969,7 +1969,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 Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Game.html b/docs/Phaser.Game.html
index 7dacceb9..e1449568 100644
--- a/docs/Phaser.Game.html
+++ b/docs/Phaser.Game.html
@@ -3090,7 +3090,7 @@ When a game is paused the onPause event is dispatched. When it is resumed the on
@@ -5798,7 +5798,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.GameObjectCreator.html b/docs/Phaser.GameObjectCreator.html
index 445486d7..940766a5 100644
--- a/docs/Phaser.GameObjectCreator.html
+++ b/docs/Phaser.GameObjectCreator.html
@@ -5530,7 +5530,7 @@ It can still rotate, scale, crop and receive input events. This makes it perfect
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.GameObjectFactory.html b/docs/Phaser.GameObjectFactory.html
index 00e0947d..e4da5ccf 100644
--- a/docs/Phaser.GameObjectFactory.html
+++ b/docs/Phaser.GameObjectFactory.html
@@ -5952,7 +5952,7 @@ It can still rotate, scale, crop and receive input events. This makes it perfect
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Gamepad.html b/docs/Phaser.Gamepad.html
index 7659cb05..3450467e 100644
--- a/docs/Phaser.Gamepad.html
+++ b/docs/Phaser.Gamepad.html
@@ -3294,7 +3294,7 @@ This MUST be called manually before Phaser will start polling the Gamepad API.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.GamepadButton.html b/docs/Phaser.GamepadButton.html
index 10cd7f77..4a017fcc 100644
--- a/docs/Phaser.GamepadButton.html
+++ b/docs/Phaser.GamepadButton.html
@@ -1159,7 +1159,7 @@ If the button is up it holds the duration of the previous down session.
Default Value:
-
false
+
true
@@ -2614,7 +2614,7 @@ If the button is up it holds the duration of the previous down session.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Graphics.html b/docs/Phaser.Graphics.html
index 90dcf7dd..387c3c58 100644
--- a/docs/Phaser.Graphics.html
+++ b/docs/Phaser.Graphics.html
@@ -1892,7 +1892,7 @@ Draws a {Phaser.Polygon} or a {PIXI.Polygon} filled
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:39 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Group.html b/docs/Phaser.Group.html
index 739cda62..a9ce977b 100644
--- a/docs/Phaser.Group.html
+++ b/docs/Phaser.Group.html
@@ -9216,7 +9216,7 @@ You cannot swap a child with itself, or swap un-parented children, doing so will
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:27 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Image.html b/docs/Phaser.Image.html
index 8d104257..25b662a1 100644
--- a/docs/Phaser.Image.html
+++ b/docs/Phaser.Image.html
@@ -3969,7 +3969,7 @@ It will dispatch the onRevived event, you can listen to Image.events.onRevived f
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Input.html b/docs/Phaser.Input.html
index 5d60b167..ee062205 100644
--- a/docs/Phaser.Input.html
+++ b/docs/Phaser.Input.html
@@ -4521,7 +4521,7 @@ If you need to disable just one type of input; for example mouse; use Input.mous
@@ -7725,7 +7725,7 @@ to only use if you've limited input to a single pointer (i.e. mouse or touch)
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.InputHandler.html b/docs/Phaser.InputHandler.html
index 46d72ae1..0560a869 100644
--- a/docs/Phaser.InputHandler.html
+++ b/docs/Phaser.InputHandler.html
@@ -8038,7 +8038,7 @@ This value is only set when the pointer is over this Sprite.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Key.html b/docs/Phaser.Key.html
index d2bcf38c..444aec37 100644
--- a/docs/Phaser.Key.html
+++ b/docs/Phaser.Key.html
@@ -1267,7 +1267,7 @@ If the key is up it holds the duration of the previous down session.
Default Value:
-
false
+
true
@@ -2604,7 +2604,7 @@ If the key is up it holds the duration of the previous down session.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Keyboard.html b/docs/Phaser.Keyboard.html
index 01f67f65..2d074cb1 100644
--- a/docs/Phaser.Keyboard.html
+++ b/docs/Phaser.Keyboard.html
@@ -3031,7 +3031,7 @@ This is called automatically by Phaser.Input and should not normally be invoked
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:40 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Line.html b/docs/Phaser.Line.html
index daeec541..3dffaf4a 100644
--- a/docs/Phaser.Line.html
+++ b/docs/Phaser.Line.html
@@ -3127,7 +3127,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 Fri Feb 21 2014 15:36:28 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.LinkedList.html b/docs/Phaser.LinkedList.html
index 96159673..766fd96d 100644
--- a/docs/Phaser.LinkedList.html
+++ b/docs/Phaser.LinkedList.html
@@ -1523,7 +1523,7 @@ The function must exist on the member.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Loader.html b/docs/Phaser.Loader.html
index 28c248c0..ced7c3a8 100644
--- a/docs/Phaser.Loader.html
+++ b/docs/Phaser.Loader.html
@@ -2307,7 +2307,7 @@ If you do so the Sprites width or height will be cropped based on the percentage
@@ -6204,7 +6435,7 @@ The data must be in Lime + Corona JSON format. Physics Editor by code'n'web expo
You can set a Sprite to be a "preload" sprite by passing it to this method.
A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time.
-This allows you to easily make loading bars for games.
+This allows you to easily make loading bars for games. Note that Sprite.visible = true will be set when calling this.
@@ -6249,6 +6480,9 @@ This allows you to easily make loading bars for games.
Phaser.Sprite
+|
+
+Phaser.Image
@@ -6697,7 +6931,7 @@ This allows you to easily make loading bars for games.
@@ -7643,7 +7877,7 @@ This allows you to easily make loading bars for games.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.LoaderParser.html b/docs/Phaser.LoaderParser.html
index 97e159ce..4ff486c9 100644
--- a/docs/Phaser.LoaderParser.html
+++ b/docs/Phaser.LoaderParser.html
@@ -778,7 +778,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.MSPointer.html b/docs/Phaser.MSPointer.html
index e01070ed..f583663d 100644
--- a/docs/Phaser.MSPointer.html
+++ b/docs/Phaser.MSPointer.html
@@ -1473,7 +1473,7 @@ It will work only in Internet Explorer 10 and Windows Store or Windows Phone 8 a
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Math.html b/docs/Phaser.Math.html
index 42e9587f..38f5852c 100644
--- a/docs/Phaser.Math.html
+++ b/docs/Phaser.Math.html
@@ -11975,7 +11975,7 @@ Should be called whenever the angle is updated on the Sprite to stop it from goi
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Mouse.html b/docs/Phaser.Mouse.html
index 315fe8fb..1d60bce0 100644
--- a/docs/Phaser.Mouse.html
+++ b/docs/Phaser.Mouse.html
@@ -2790,7 +2790,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:41 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Net.html b/docs/Phaser.Net.html
index 9aa65a27..4565129e 100644
--- a/docs/Phaser.Net.html
+++ b/docs/Phaser.Net.html
@@ -1417,7 +1417,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 Fri Feb 21 2014 15:36:29 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Particles.Arcade.Emitter.html b/docs/Phaser.Particles.Arcade.Emitter.html
index 6b69c8de..90b1ccb6 100644
--- a/docs/Phaser.Particles.Arcade.Emitter.html
+++ b/docs/Phaser.Particles.Arcade.Emitter.html
@@ -13351,7 +13351,7 @@ You cannot swap a child with itself, or swap un-parented children, doing so will
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Particles.html b/docs/Phaser.Particles.html
index 4514734a..9623435c 100644
--- a/docs/Phaser.Particles.html
+++ b/docs/Phaser.Particles.html
@@ -1306,7 +1306,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Arcade.Body.html b/docs/Phaser.Physics.Arcade.Body.html
deleted file mode 100644
index 9472bab6..00000000
--- a/docs/Phaser.Physics.Arcade.Body.html
+++ /dev/null
@@ -1,10195 +0,0 @@
-
-
-
-
-
- Phaser Class: Body
-
-
-
-
-
-
-
-
-
-
-
The Physics Body is linked to a single Sprite and defines properties that determine how the physics body is simulated.
-These properties affect how the body reacts to forces, what forces it generates on itself (to simulate friction), and how it reacts to collisions in the scene. In most cases, the properties are used to simulate physical effects.
-Each body also has its own property values that determine exactly how it reacts to forces and collisions in the scene.
This object is populated with boolean values when the Body collides with the World bounds or a Tile.
-For example if blocked.up is true then the Body cannot move up.
-
-
-
-
-
-
-
-
-
-
Properties:
-
-
-
-
-
-
-
-
Name
-
-
-
Type
-
-
-
-
-
-
Description
-
-
-
-
-
-
-
-
-
blocked
-
-
-
-
-
-object
-
-
-
-
-
-
-
-
-
-
An object containing on which faces this Body is blocked from moving, if any.
Set the checkCollision properties to control which directions collision is processed for this Body.
-For example checkCollision.up = false means it won't collide when the collision happened while moving up.
If set this callback will be fired whenever this Body is hit (on any face). It will send three parameters, the face it hit on, this Body and the Body that hit it.
A Body 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.
linearDamping is used to calculate friction on the body as it moves through the world. For example, this might be used to simulate air or water friction.
A Body set to rebound will exchange velocity with another Body during collision. Set to false to allow this body to be 'pushed' rather than exchange velocity.
This object is populated with boolean values when the Body collides with another.
-touching.up = true means the collision happened to the top of this Body for example.
Process a collision with the bottom face of this Body.
-Collision and separation can be further checked by setting a collideCallback.
-This callback will be sent 4 parameters: The face of collision, this Body, the colliding Body and the SAT Response.
-If the callback returns true then separation, rebounds and the touching flags will all be set.
-If it returns false this will be skipped and must be handled manually.
Process a collision with the left face of this Body.
-Collision and separation can be further checked by setting a collideCallback.
-This callback will be sent 4 parameters: The face of collision, this Body, the colliding Body and the SAT Response.
-If the callback returns true then separation, rebounds and the touching flags will all be set.
-If it returns false this will be skipped and must be handled manually.
Process a collision with the right face of this Body.
-Collision and separation can be further checked by setting a collideCallback.
-This callback will be sent 4 parameters: The face of collision, this Body, the colliding Body and the SAT Response.
-If the callback returns true then separation, rebounds and the touching flags will all be set.
-If it returns false this will be skipped and must be handled manually.
Process a collision with the top face of this Body.
-Collision and separation can be further checked by setting a collideCallback.
-This callback will be sent 4 parameters: The face of collision, this Body, the colliding Body and the SAT Response.
-If the callback returns true then separation, rebounds and the touching flags will all be set.
-If it returns false this will be skipped and must be handled manually.
True if the given Body was removed from this contact list, false if wasn't on it.
-
-
-
-
-
-
- Type
-
-
-
-boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
reset(full)
-
-
-
-
-
-
-
-
Resets the Body motion values: velocity, acceleration, angularVelocity and angularAcceleration.
-Also resets the forces to defaults: gravity, bounce, minVelocity,maxVelocity, angularDrag, maxAngular, mass, friction and checkCollision if 'full' specified.
-
-
-
-
-
-
-
-
-
Parameters:
-
-
-
-
-
-
-
Name
-
-
-
Type
-
-
-
Argument
-
-
-
-
Default
-
-
-
Description
-
-
-
-
-
-
-
-
-
full
-
-
-
-
-
-boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- false
-
-
-
-
-
A full reset clears down settings you may have set, such as gravity, bounce and drag. A non-full reset just clears motion values.
This separates this Body from the given Body unless a customSeparateCallback is set.
-It assumes they have already been overlap checked and the resulting overlap is stored in the SAT response.
True if the bodies were separated, false if not (for example checkCollide allows them to pass through)
-
-
-
-
-
-
- Type
-
-
-
-boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
setCircle(radius, offsetX, offsetY)
-
-
-
-
-
-
-
-
Sets this Body to use a circle of the given radius for all collision.
-The Circle will be centered on the center of the Sprite by default, but can be adjusted via the Body.offset property and the setCircle x/y parameters.
-
-
-
-
-
-
-
-
-
Parameters:
-
-
-
-
-
-
-
Name
-
-
-
Type
-
-
-
Argument
-
-
-
-
Default
-
-
-
Description
-
-
-
-
-
-
-
-
-
radius
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The radius of this circle (in pixels)
-
-
-
-
-
-
-
offsetX
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
The x amount the circle will be offset from the Sprites center.
-
-
-
-
-
-
-
offsetY
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
The y amount the circle will be offset from the Sprites center.
Sets this Body to use a convex polygon for collision.
-The points are specified in a counter-clockwise direction and must create a convex polygon.
-Use Body.translate and/or Body.offset to re-position the polygon from the Sprite origin.
This can be an array of Vectors that form the polygon,
- a flat array of numbers that will be interpreted as [x,y, x,y, ...], or the arguments passed can be
- all the points of the polygon e.g. setPolygon(new SAT.Vector(), new SAT.Vector(), ...), or the
- arguments passed can be flat x,y values e.g. setPolygon(x,y, x,y, x,y, ...) where x and y are Numbers.
Sets this Body to use a rectangle for all collision.
-If you don't specify any parameters it will be sized to match the parent Sprites current width and height (including scale factor) and centered on the sprite.
-
-
-
-
-
-
-
-
-
Parameters:
-
-
-
-
-
-
-
Name
-
-
-
Type
-
-
-
Argument
-
-
-
-
-
Description
-
-
-
-
-
-
-
-
-
width
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
The width of the rectangle. If not specified it will default to the width of the parent Sprite.
-
-
-
-
-
-
-
height
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
The height of the rectangle. If not specified it will default to the height of the parent Sprite.
-
-
-
-
-
-
-
translateX
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
The x amount the rectangle will be translated from the Sprites center.
-
-
-
-
-
-
-
translateY
-
-
-
-
-
-number
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
The y amount the rectangle will be translated from the Sprites center.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/Phaser.Physics.Arcade.html b/docs/Phaser.Physics.Arcade.html
index 423fc955..b4d9a961 100644
--- a/docs/Phaser.Physics.Arcade.html
+++ b/docs/Phaser.Physics.Arcade.html
@@ -8130,7 +8130,7 @@ One way to use this is: velocityFromRotation(rotation, 200, sprite.velocity) whi
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Body.html b/docs/Phaser.Physics.Body.html
index 8632030f..99830afe 100644
--- a/docs/Phaser.Physics.Body.html
+++ b/docs/Phaser.Physics.Body.html
@@ -11849,7 +11849,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 Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.CollisionGroup.html b/docs/Phaser.Physics.CollisionGroup.html
index 658142af..f9d68a97 100644
--- a/docs/Phaser.Physics.CollisionGroup.html
+++ b/docs/Phaser.Physics.CollisionGroup.html
@@ -718,7 +718,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.ContactMaterial.html b/docs/Phaser.Physics.ContactMaterial.html
index c7ed1202..9d8c9d37 100644
--- a/docs/Phaser.Physics.ContactMaterial.html
+++ b/docs/Phaser.Physics.ContactMaterial.html
@@ -735,7 +735,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.InversePointProxy.html b/docs/Phaser.Physics.InversePointProxy.html
index b15fd958..6bccc24c 100644
--- a/docs/Phaser.Physics.InversePointProxy.html
+++ b/docs/Phaser.Physics.InversePointProxy.html
@@ -892,7 +892,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Material.html b/docs/Phaser.Physics.Material.html
index f1df5d18..f397e671 100644
--- a/docs/Phaser.Physics.Material.html
+++ b/docs/Phaser.Physics.Material.html
@@ -721,7 +721,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.PointProxy.html b/docs/Phaser.Physics.PointProxy.html
index d02d81c5..13a99cd7 100644
--- a/docs/Phaser.Physics.PointProxy.html
+++ b/docs/Phaser.Physics.PointProxy.html
@@ -892,7 +892,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Spring.html b/docs/Phaser.Physics.Spring.html
index 9e49ed45..2dbb280d 100644
--- a/docs/Phaser.Physics.Spring.html
+++ b/docs/Phaser.Physics.Spring.html
@@ -1118,7 +1118,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.World.html b/docs/Phaser.Physics.World.html
index 1d1c5eb9..ef6d1f9d 100644
--- a/docs/Phaser.Physics.World.html
+++ b/docs/Phaser.Physics.World.html
@@ -7455,7 +7455,7 @@ You can optionally set which 'walls' to create: left, right, top or bottom.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.html b/docs/Phaser.Physics.html
index b43c6356..79274a31 100644
--- a/docs/Phaser.Physics.html
+++ b/docs/Phaser.Physics.html
@@ -2083,7 +2083,7 @@ You can optionally set which 'walls' to create: left, right, top or bottom.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:30 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:42 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Plugin.html b/docs/Phaser.Plugin.html
index 93e78c8a..d1451400 100644
--- a/docs/Phaser.Plugin.html
+++ b/docs/Phaser.Plugin.html
@@ -1980,7 +1980,7 @@ It is only called if active is set to true.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:43 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.PluginManager.html b/docs/Phaser.PluginManager.html
index 9bcb5f32..cc5baf3b 100644
--- a/docs/Phaser.PluginManager.html
+++ b/docs/Phaser.PluginManager.html
@@ -1645,7 +1645,7 @@ It only calls plugins who have active=true.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Point.html b/docs/Phaser.Point.html
index 8a39d141..24efa0e4 100644
--- a/docs/Phaser.Point.html
+++ b/docs/Phaser.Point.html
@@ -5505,7 +5505,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Pointer.html b/docs/Phaser.Pointer.html
index 2bf4fc01..5858b5f5 100644
--- a/docs/Phaser.Pointer.html
+++ b/docs/Phaser.Pointer.html
@@ -4483,7 +4483,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 Fri Feb 21 2014 15:36:31 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Polygon.html b/docs/Phaser.Polygon.html
index bfba0ab3..33f4215d 100644
--- a/docs/Phaser.Polygon.html
+++ b/docs/Phaser.Polygon.html
@@ -1138,7 +1138,7 @@ arguments passed can be flat x,y values e.g. new Phaser.Polygon(x,y, x,y,
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.QuadTree.html b/docs/Phaser.QuadTree.html
deleted file mode 100644
index 845733ae..00000000
--- a/docs/Phaser.QuadTree.html
+++ /dev/null
@@ -1,1709 +0,0 @@
-
-
-
-
-
- Phaser Class: QuadTree
-
-
-
-
-
-
-
-
-
-
-
A QuadTree implementation. The original code was a conversion of the Java code posted to GameDevTuts.
-However I've tweaked it massively to add node indexing, removed lots of temp. var creation and significantly increased performance as a result.
-Original version at https://github.com/timohausmann/quadtree-js/
-
-
-
-
-
-
-
-
-
-
-
new QuadTree(x, y, width, height, maxObjects, maxLevels, level)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/Phaser.RandomDataGenerator.html b/docs/Phaser.RandomDataGenerator.html
index 1abc018c..0920b7b0 100644
--- a/docs/Phaser.RandomDataGenerator.html
+++ b/docs/Phaser.RandomDataGenerator.html
@@ -2111,7 +2111,7 @@ Random number generator from
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Rectangle.html b/docs/Phaser.Rectangle.html
index ec1300ea..ed4cd879 100644
--- a/docs/Phaser.Rectangle.html
+++ b/docs/Phaser.Rectangle.html
@@ -7708,7 +7708,7 @@ This method checks the x, y, width, and height properties of the Rectangles.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.RenderTexture.html b/docs/Phaser.RenderTexture.html
index 95788e6d..b8abd193 100644
--- a/docs/Phaser.RenderTexture.html
+++ b/docs/Phaser.RenderTexture.html
@@ -1620,7 +1620,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.RequestAnimationFrame.html b/docs/Phaser.RequestAnimationFrame.html
index f4611c86..d618ecdd 100644
--- a/docs/Phaser.RequestAnimationFrame.html
+++ b/docs/Phaser.RequestAnimationFrame.html
@@ -1534,7 +1534,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:44 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Signal.html b/docs/Phaser.Signal.html
index 18afda0b..1075e446 100644
--- a/docs/Phaser.Signal.html
+++ b/docs/Phaser.Signal.html
@@ -2362,7 +2362,7 @@ IMPORTANT: should be called only during signal dispatch, calling it before/after
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.SinglePad.html b/docs/Phaser.SinglePad.html
index 251dff3a..1b45fbb0 100644
--- a/docs/Phaser.SinglePad.html
+++ b/docs/Phaser.SinglePad.html
@@ -3991,7 +3991,7 @@ analog trigger buttons on the XBOX 360 controller
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Sound.html b/docs/Phaser.Sound.html
index e5f9ed40..ee8690d4 100644
--- a/docs/Phaser.Sound.html
+++ b/docs/Phaser.Sound.html
@@ -5873,7 +5873,7 @@ This allows you to bundle multiple sounds together into a single audio file and
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:32 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.SoundManager.html b/docs/Phaser.SoundManager.html
index 55cac110..b9a44303 100644
--- a/docs/Phaser.SoundManager.html
+++ b/docs/Phaser.SoundManager.html
@@ -1143,7 +1143,7 @@ Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:conf
@@ -2514,45 +2514,6 @@ Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:conf
-
-
-
-
destroyOnComplete
-
-
-
-
-
-boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- false
-
-
-
-
-
If true the Sound will destroy itself once it has finished playing, or is stopped.
-
-
-
@@ -2931,7 +2892,7 @@ Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:conf
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Sprite.html b/docs/Phaser.Sprite.html
index 8475e04b..55e15a09 100644
--- a/docs/Phaser.Sprite.html
+++ b/docs/Phaser.Sprite.html
@@ -5348,7 +5348,7 @@ It will dispatch the onRevived event, you can listen to Sprite.events.onRevived
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.SpriteBatch.html b/docs/Phaser.SpriteBatch.html
index 35553d3d..29500248 100644
--- a/docs/Phaser.SpriteBatch.html
+++ b/docs/Phaser.SpriteBatch.html
@@ -9199,7 +9199,7 @@ You cannot swap a child with itself, or swap un-parented children, doing so will
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Stage.html b/docs/Phaser.Stage.html
index 3e0a12ad..729433cf 100644
--- a/docs/Phaser.Stage.html
+++ b/docs/Phaser.Stage.html
@@ -780,7 +780,7 @@ focus handling, game resizing, scaling and the pause, boot and orientation scree
@@ -1975,7 +2044,7 @@ Most objects have preUpdate methods and it's where initial movement and position
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:45 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.StageScaleMode.html b/docs/Phaser.StageScaleMode.html
index ef73be97..affdd587 100644
--- a/docs/Phaser.StageScaleMode.html
+++ b/docs/Phaser.StageScaleMode.html
@@ -5264,7 +5264,7 @@ Please note that this needs to be supported by the web browser and isn't the sam
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.State.html b/docs/Phaser.State.html
index 2344d187..e2cf2223 100644
--- a/docs/Phaser.State.html
+++ b/docs/Phaser.State.html
@@ -2642,7 +2642,7 @@ If you need to use the loader, you may need to use them here.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:33 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.StateManager.html b/docs/Phaser.StateManager.html
index 4cf5f866..fadbd1c5 100644
--- a/docs/Phaser.StateManager.html
+++ b/docs/Phaser.StateManager.html
@@ -1709,6 +1709,108 @@
+
+
+
+
+
+
+
+
+
+
onResumedCallback
+
+
+
+
+
+
+
+
+
+
+
+
+
Properties:
+
+
+
+
+
+
+
+
Name
+
+
+
Type
+
+
+
+
+
+
Description
+
+
+
+
+
+
+
+
+
onResumedCallback
+
+
+
+
+
+function
+
+
+
+
+
+
+
+
+
+
This will be called when the state is resumed from a paused state.
@@ -3346,7 +3448,7 @@ State must exist and have at least one callback function registered..
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Text.html b/docs/Phaser.Text.html
index 584e5b3b..16e1cd43 100644
--- a/docs/Phaser.Text.html
+++ b/docs/Phaser.Text.html
@@ -4404,7 +4404,7 @@ activated for this object and it will then start to process click/touch events a
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tile.html b/docs/Phaser.Tile.html
index 4d1a6ec1..cc8fa8a3 100644
--- a/docs/Phaser.Tile.html
+++ b/docs/Phaser.Tile.html
@@ -4039,7 +4039,7 @@ The callback must true true for collision processing to take place.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TileSprite.html b/docs/Phaser.TileSprite.html
index a692a5d9..eacb38d2 100644
--- a/docs/Phaser.TileSprite.html
+++ b/docs/Phaser.TileSprite.html
@@ -881,7 +881,7 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
By default a TileSprite won't process any input events at all. By setting inputEnabled to true the Phaser.InputHandler is
+activated for this object and it will then start to process click/touch events and more.
+
+
+
+
+
+
+
+
+
+
Properties:
+
+
+
+
+
+
+
+
Name
+
+
+
Type
+
+
+
+
+
+
Description
+
+
+
+
+
+
+
+
+
inputEnabled
+
+
+
+
+
+boolean
+
+
+
+
+
+
+
+
+
+
Set to true to allow this object to receive input events.
@@ -2912,7 +3124,7 @@ If the requested animation is already playing this request will be ignored. If y
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tilemap.html b/docs/Phaser.Tilemap.html
index 53b74e55..62195fad 100644
--- a/docs/Phaser.Tilemap.html
+++ b/docs/Phaser.Tilemap.html
@@ -10995,7 +10995,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 Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:46 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TilemapLayer.html b/docs/Phaser.TilemapLayer.html
index 3ee341c3..ba0185ec 100644
--- a/docs/Phaser.TilemapLayer.html
+++ b/docs/Phaser.TilemapLayer.html
@@ -4674,7 +4674,7 @@ half as quickly as the 'normal' camera-locked layers do)
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TilemapParser.html b/docs/Phaser.TilemapParser.html
index f6f5793d..409618c3 100644
--- a/docs/Phaser.TilemapParser.html
+++ b/docs/Phaser.TilemapParser.html
@@ -1609,7 +1609,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tileset.html b/docs/Phaser.Tileset.html
index 557a06a2..80b1e4a4 100644
--- a/docs/Phaser.Tileset.html
+++ b/docs/Phaser.Tileset.html
@@ -2676,7 +2676,7 @@ You should not normally instantiate this class directly.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:34 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Time.html b/docs/Phaser.Time.html
index 543419d3..60996890 100644
--- a/docs/Phaser.Time.html
+++ b/docs/Phaser.Time.html
@@ -3156,7 +3156,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Timer.html b/docs/Phaser.Timer.html
index 72e43077..edbe1c64 100644
--- a/docs/Phaser.Timer.html
+++ b/docs/Phaser.Timer.html
@@ -3820,7 +3820,7 @@ If the Timer is already running the delay will be calculated based on the timers
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TimerEvent.html b/docs/Phaser.TimerEvent.html
index 68696d96..71f6e8d5 100644
--- a/docs/Phaser.TimerEvent.html
+++ b/docs/Phaser.TimerEvent.html
@@ -1745,7 +1745,7 @@ It can call a specific callback, passing in optional parameters.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Touch.html b/docs/Phaser.Touch.html
index 5f77cf04..c57d48e3 100644
--- a/docs/Phaser.Touch.html
+++ b/docs/Phaser.Touch.html
@@ -2715,7 +2715,7 @@ Doesn't appear to be supported by most browsers on a canvas element yet.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:47 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tween.html b/docs/Phaser.Tween.html
index 1c051b46..3428ebc5 100644
--- a/docs/Phaser.Tween.html
+++ b/docs/Phaser.Tween.html
@@ -3204,7 +3204,7 @@ Used in combination with repeat you can create endless loops.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TweenManager.html b/docs/Phaser.TweenManager.html
index 0a9df269..56b95513 100644
--- a/docs/Phaser.TweenManager.html
+++ b/docs/Phaser.TweenManager.html
@@ -1708,7 +1708,7 @@ Please see https://github.com/sole/tw
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Utils.Debug.html b/docs/Phaser.Utils.Debug.html
index ecec4f96..44677928 100644
--- a/docs/Phaser.Utils.Debug.html
+++ b/docs/Phaser.Utils.Debug.html
@@ -1986,7 +1986,7 @@ your game set to use Phaser.AUTO then swap it for Phaser.CANVAS to ensure WebGL
@@ -7140,7 +7140,7 @@ your game set to use Phaser.AUTO then swap it for Phaser.CANVAS to ensure WebGL
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Utils.html b/docs/Phaser.Utils.html
index 7e61abb8..54cf0b2f 100644
--- a/docs/Phaser.Utils.html
+++ b/docs/Phaser.Utils.html
@@ -1333,7 +1333,7 @@ dir = 1 (left), 2 (right), 3 (both)
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:35 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.World.html b/docs/Phaser.World.html
index 00366e5b..c0d0973d 100644
--- a/docs/Phaser.World.html
+++ b/docs/Phaser.World.html
@@ -10182,7 +10182,7 @@ You cannot swap a child with itself, or swap un-parented children, doing so will
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:36 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.html b/docs/Phaser.html
index 2dbbe412..1b8bd313 100644
--- a/docs/Phaser.html
+++ b/docs/Phaser.html
@@ -810,7 +810,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.js.html b/docs/Phaser.js.html
index 4490ca6b..6d44c50f 100644
--- a/docs/Phaser.js.html
+++ b/docs/Phaser.js.html
@@ -590,7 +590,7 @@ PIXI.InteractionManager = function (dummy) {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Plugin.js.html b/docs/Plugin.js.html
index f40ede86..ba57b9ab 100644
--- a/docs/Plugin.js.html
+++ b/docs/Plugin.js.html
@@ -633,7 +633,7 @@ Phaser.Plugin.prototype.constructor = Phaser.Plugin;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/PluginManager.js.html b/docs/PluginManager.js.html
index f0d45c44..fb140a30 100644
--- a/docs/PluginManager.js.html
+++ b/docs/PluginManager.js.html
@@ -809,7 +809,7 @@ Phaser.PluginManager.prototype.constructor = Phaser.PluginManager;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Point.js.html b/docs/Point.js.html
index 3eb655a9..35a20115 100644
--- a/docs/Point.js.html
+++ b/docs/Point.js.html
@@ -969,7 +969,7 @@ PIXI.Point = Phaser.Point;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/PointProxy.js.html b/docs/PointProxy.js.html
index e5ba42ca..a04d40aa 100644
--- a/docs/PointProxy.js.html
+++ b/docs/PointProxy.js.html
@@ -573,7 +573,7 @@ Object.defineProperty(Phaser.Physics.PointProxy.prototype, "y", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Pointer.js.html b/docs/Pointer.js.html
index fd02125f..6b6cacac 100644
--- a/docs/Pointer.js.html
+++ b/docs/Pointer.js.html
@@ -1156,7 +1156,7 @@ Object.defineProperty(Phaser.Pointer.prototype, "worldY", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Polygon.js.html b/docs/Polygon.js.html
index 40673184..b1f61d60 100644
--- a/docs/Polygon.js.html
+++ b/docs/Polygon.js.html
@@ -620,7 +620,7 @@ PIXI.Polygon = Phaser.Polygon;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/QuadTree.js.html b/docs/QuadTree.js.html
deleted file mode 100644
index 95f7c93a..00000000
--- a/docs/QuadTree.js.html
+++ /dev/null
@@ -1,808 +0,0 @@
-
-
-
-
-
- Phaser Source: math/QuadTree.js
-
-
-
-
-
-
-
-
-
-
-
// Version 0.2 - Copyright 2013 - Jim Riecken <jimr@jimr.ca>
-//
-// Released under the MIT License - https://github.com/jriecken/sat-js
-//
-// A simple library for determining intersections of circles and
-// polygons using the Separating Axis Theorem.
-/** @preserve SAT.js - Version 0.2 - Copyright 2013 - Jim Riecken <jimr@jimr.ca> - released under the MIT License. https://github.com/jriecken/sat-js */
-
-/*global define: false, module: false*/
-/*jshint shadow:true, sub:true, forin:true, noarg:true, noempty:true,
- eqeqeq:true, bitwise:true, strict:true, undef:true,
- curly:true, browser:true */
-
-// Create a UMD wrapper for SAT. Works in:
-//
-// - Plain browser via global SAT variable
-// - AMD loader (like require.js)
-// - Node.js
-//
-// The quoted properties all over the place are used so that the Closure Compiler
-// does not mangle the exposed API in advanced mode.
-/**
- * @param {*} root - The global scope
- * @param {Function} factory - Factory that creates SAT module
- */
-(function (root, factory) {
- "use strict";
- if (typeof define === 'function' && define['amd']) {
- define(factory);
- } else if (typeof exports === 'object') {
- module['exports'] = factory();
- } else {
- root['SAT'] = factory();
- }
-}(this, function () {
- "use strict";
-
- var SAT = {};
-
- //
- // ## Vector
- //
- // Represents a vector in two dimensions with `x` and `y` properties.
-
-
- // Create a new Vector, optionally passing in the `x` and `y` coordinates. If
- // a coordinate is not specified, it will be set to `0`
- /**
- * @param {?number=} x The x position.
- * @param {?number=} y The y position.
- * @constructor
- */
- function Vector(x, y) {
- this['x'] = x || 0;
- this['y'] = y || 0;
- }
- SAT['Vector'] = Vector;
- // Alias `Vector` as `V`
- SAT['V'] = Vector;
-
-
- // Copy the values of another Vector into this one.
- /**
- * @param {Vector} other The other Vector.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['copy'] = Vector.prototype.copy = function(other) {
- this['x'] = other['x'];
- this['y'] = other['y'];
- return this;
- };
-
- // Change this vector to be perpendicular to what it was before. (Effectively
- // roatates it 90 degrees in a clockwise direction)
- /**
- * @return {Vector} This for chaining.
- */
- Vector.prototype['perp'] = Vector.prototype.perp = function() {
- var x = this['x'];
- this['x'] = this['y'];
- this['y'] = -x;
- return this;
- };
-
- // Rotate this vector (counter-clockwise) by the specified angle (in radians).
- /**
- * @param {number} angle The angle to rotate (in radians)
- * @return {Vector} This for chaining.
- */
- Vector.prototype['rotate'] = Vector.prototype.rotate = function (angle) {
- var x = this['x'];
- var y = this['y'];
- this['x'] = x * Math.cos(angle) - y * Math.sin(angle);
- this['y'] = x * Math.sin(angle) + y * Math.cos(angle);
- return this;
- };
-
- // Rotate this vector (counter-clockwise) by the specified angle (in radians) which has already been calculated into sin and cos.
- /**
- * @param {number} sin - The Math.sin(angle)
- * @param {number} cos - The Math.cos(angle)
- * @return {Vector} This for chaining.
- */
- Vector.prototype['rotatePrecalc'] = Vector.prototype.rotatePrecalc = function (sin, cos) {
- var x = this['x'];
- var y = this['y'];
- this['x'] = x * cos - y * sin;
- this['y'] = x * sin + y * cos;
- return this;
- };
-
- // Reverse this vector.
- /**
- * @return {Vector} This for chaining.
- */
- Vector.prototype['reverse'] = Vector.prototype.reverse = function() {
- this['x'] = -this['x'];
- this['y'] = -this['y'];
- return this;
- };
-
-
- // Normalize this vector. (make it have length of `1`)
- /**
- * @return {Vector} This for chaining.
- */
- Vector.prototype['normalize'] = Vector.prototype.normalize = function() {
- var d = this.len();
- if(d > 0) {
- this['x'] = this['x'] / d;
- this['y'] = this['y'] / d;
- }
- return this;
- };
-
- // Add another vector to this one.
- /**
- * @param {Vector} other The other Vector.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['add'] = Vector.prototype.add = function(other) {
- this['x'] += other['x'];
- this['y'] += other['y'];
- return this;
- };
-
- // Subtract another vector from this one.
- /**
- * @param {Vector} other The other Vector.
- * @return {Vector} This for chaiing.
- */
- Vector.prototype['sub'] = Vector.prototype.sub = function(other) {
- this['x'] -= other['x'];
- this['y'] -= other['y'];
- return this;
- };
-
- // Scale this vector. An independant scaling factor can be provided
- // for each axis, or a single scaling factor that will scale both `x` and `y`.
- /**
- * @param {number} x The scaling factor in the x direction.
- * @param {?number=} y The scaling factor in the y direction. If this
- * is not specified, the x scaling factor will be used.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['scale'] = Vector.prototype.scale = function(x,y) {
- this['x'] *= x;
- this['y'] *= y || x;
- return this;
- };
-
- // Project this vector on to another vector.
- /**
- * @param {Vector} other The vector to project onto.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['project'] = Vector.prototype.project = function(other) {
- var amt = this.dot(other) / other.len2();
- this['x'] = amt * other['x'];
- this['y'] = amt * other['y'];
- return this;
- };
-
- // Project this vector onto a vector of unit length. This is slightly more efficient
- // than `project` when dealing with unit vectors.
- /**
- * @param {Vector} other The unit vector to project onto.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['projectN'] = Vector.prototype.projectN = function(other) {
- var amt = this.dot(other);
- this['x'] = amt * other['x'];
- this['y'] = amt * other['y'];
- return this;
- };
-
- // Reflect this vector on an arbitrary axis.
- /**
- * @param {Vector} axis The vector representing the axis.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['reflect'] = Vector.prototype.reflect = function(axis) {
- var x = this['x'];
- var y = this['y'];
- this.project(axis).scale(2);
- this['x'] -= x;
- this['y'] -= y;
- return this;
- };
-
- // Reflect this vector on an arbitrary axis (represented by a unit vector). This is
- // slightly more efficient than `reflect` when dealing with an axis that is a unit vector.
- /**
- * @param {Vector} axis The unit vector representing the axis.
- * @return {Vector} This for chaining.
- */
- Vector.prototype['reflectN'] = Vector.prototype.reflectN = function(axis) {
- var x = this['x'];
- var y = this['y'];
- this.projectN(axis).scale(2);
- this['x'] -= x;
- this['y'] -= y;
- return this;
- };
-
- // Get the dot product of this vector and another.
- /**
- * @param {Vector} other The vector to dot this one against.
- * @return {number} The dot product.
- */
- Vector.prototype['dot'] = Vector.prototype.dot = function(other) {
- return this['x'] * other['x'] + this['y'] * other['y'];
- };
-
- // Get the squared length of this vector.
- /**
- * @return {number} The length^2 of this vector.
- */
- Vector.prototype['len2'] = Vector.prototype.len2 = function() {
- return this.dot(this);
- };
-
- // Get the length of this vector.
- /**
- * @return {number} The length of this vector.
- */
- Vector.prototype['len'] = Vector.prototype.len = function() {
- return Math.sqrt(this.len2());
- };
-
- // ## Circle
- //
- // Represents a circle with a position and a radius.
-
- // Create a new circle, optionally passing in a position and/or radius. If no position
- // is given, the circle will be at `(0,0)`. If no radius is provided, the circle will
- // have a radius of `0`.
- /**
- * @param {Vector=} pos A vector representing the position of the center of the circle
- * @param {?number=} r The radius of the circle
- * @constructor
- */
- function Circle(pos, r) {
- this['pos'] = pos || new Vector();
- this['r'] = r || 0;
- }
- SAT['Circle'] = Circle;
-
- // ## Polygon
- //
- // Represents a *convex* polygon with any number of points (specified in counter-clockwise order)
- //
- // The edges/normals of the polygon will be calculated on creation and stored in the
- // `edges` and `normals` properties. If you change the polygon's points, you will need
- // to call `recalc` to recalculate the edges/normals.
-
- // Create a new polygon, passing in a position vector, and an array of points (represented
- // by vectors relative to the position vector). If no position is passed in, the position
- // of the polygon will be `(0,0)`.
- /**
- * @param {Vector=} pos A vector representing the origin of the polygon. (all other
- * points are relative to this one)
- * @param {Array.<Vector>=} points An array of vectors representing the points in the polygon,
- * in counter-clockwise order.
- * @constructor
- */
- function Polygon(pos, points) {
- this['pos'] = pos || new Vector();
- this['points'] = points || [];
- this.recalc();
- }
- SAT['Polygon'] = Polygon;
-
- // Recalculates the edges and normals of the polygon. This **must** be called
- // if the `points` array is modified at all and the edges or normals are to be
- // accessed.
- /**
- * @return {Polygon} This for chaining.
- */
- Polygon.prototype['recalc'] = Polygon.prototype.recalc = function() {
- // The edges here are the direction of the `n`th edge of the polygon, relative to
- // the `n`th point. If you want to draw a given edge from the edge value, you must
- // first translate to the position of the starting point.
- this['edges'] = [];
- // The normals here are the direction of the normal for the `n`th edge of the polygon, relative
- // to the position of the `n`th point. If you want to draw an edge normal, you must first
- // translate to the position of the starting point.
- this['normals'] = [];
- var points = this['points'];
- var len = points.length;
- for (var i = 0; i < len; i++) {
- var p1 = points[i];
- var p2 = i < len - 1 ? points[i + 1] : points[0];
- var e = new Vector().copy(p2).sub(p1);
- var n = new Vector().copy(e).perp().normalize();
- this['edges'].push(e);
- this['normals'].push(n);
- }
- return this;
- };
-
- // Rotates this polygon counter-clockwise around the origin of *its local coordinate system* (i.e. `pos`).
- //
- // Note: You do **not** need to call `recalc` after rotation.
- /**
- * @param {number} angle The angle to rotate (in radians)
- * @return {Polygon} This for chaining.
- */
- Polygon.prototype['rotate'] = Polygon.prototype.rotate = function(angle) {
- var i;
- var points = this['points'];
- var edges = this['edges'];
- var normals = this['normals'];
- var len = points.length;
-
- // Calc it just the once, rather than 4 times per array element
- var cos = Math.cos(angle);
- var sin = Math.sin(angle);
-
- for (i = 0; i < len; i++) {
- points[i].rotatePrecalc(sin, cos);
- edges[i].rotatePrecalc(sin, cos);
- normals[i].rotatePrecalc(sin, cos);
- }
- return this;
- };
-
- // Rotates this polygon counter-clockwise around the origin of *its local coordinate system* (i.e. `pos`).
- //
- // Note: You do **not** need to call `recalc` after rotation.
- /**
- * @param {number} angle The angle to rotate (in radians)
- * @return {Polygon} This for chaining.
- */
- Polygon.prototype['scale'] = Polygon.prototype.scale = function(x, y) {
- var i;
- var points = this['points'];
- var edges = this['edges'];
- var normals = this['normals'];
- var len = points.length;
- for (i = 0; i < len; i++) {
- points[i].scale(x,y);
- edges[i].scale(x,y);
- normals[i].scale(x,y);
- }
- return this;
- };
-
- // Translates the points of this polygon by a specified amount relative to the origin of *its own coordinate
- // system* (i.e. `pos`).
- //
- // This is most useful to change the "center point" of a polygon.
- //
- // Note: You do **not** need to call `recalc` after translation.
- /**
- * @param {number} x The horizontal amount to translate.
- * @param {number} y The vertical amount to translate.
- * @return {Polygon} This for chaining.
- */
- Polygon.prototype['translate'] = Polygon.prototype.translate = function (x, y) {
- var i;
- var points = this['points'];
- var len = points.length;
- for (i = 0; i < len; i++) {
- points[i].x += x;
- points[i].y += y;
- }
- return this;
- };
-
- // ## Box
- //
- // Represents an axis-aligned box, with a width and height.
-
-
- // Create a new box, with the specified position, width, and height. If no position
- // is given, the position will be `(0,0)`. If no width or height are given, they will
- // be set to `0`.
- /**
- * @param {Vector=} pos A vector representing the top-left of the box.
- * @param {?number=} w The width of the box.
- * @param {?number=} h The height of the box.
- * @constructor
- */
- function Box(pos, w, h) {
- this['pos'] = pos || new Vector();
- this['w'] = w || 0;
- this['h'] = h || 0;
- }
- SAT['Box'] = Box;
-
- // Returns a polygon whose edges are the same as this box.
- /**
- * @return {Polygon} A new Polygon that represents this box.
- */
- Box.prototype['toPolygon'] = Box.prototype.toPolygon = function() {
- var pos = this['pos'];
- var w = this['w'];
- var h = this['h'];
- return new Polygon(new Vector(pos['x'], pos['y']), [
- new Vector(), new Vector(w, 0),
- new Vector(w,h), new Vector(0,h)
- ]);
- };
-
- // ## Response
- //
- // An object representing the result of an intersection. Contains:
- // - The two objects participating in the intersection
- // - The vector representing the minimum change necessary to extract the first object
- // from the second one (as well as a unit vector in that direction and the magnitude
- // of the overlap)
- // - Whether the first object is entirely inside the second, and vice versa.
- /**
- * @constructor
- */
- function Response() {
- this['a'] = null;
- this['b'] = null;
- this['overlapN'] = new Vector();
- this['overlapV'] = new Vector();
- this.clear();
- }
- SAT['Response'] = Response;
-
- // Set some values of the response back to their defaults. Call this between tests if
- // you are going to reuse a single Response object for multiple intersection tests (recommented
- // as it will avoid allcating extra memory)
- /**
- * @return {Response} This for chaining
- */
- Response.prototype['clear'] = Response.prototype.clear = function() {
- this['aInB'] = true;
- this['bInA'] = true;
- this['overlap'] = Number.MAX_VALUE;
- return this;
- };
-
- // ## Object Pools
-
- // A pool of `Vector` objects that are used in calculations to avoid
- // allocating memory.
- /**
- * @type {Array.<Vector>}
- */
- var T_VECTORS = [];
- for (var i = 0; i < 10; i++) { T_VECTORS.push(new Vector()); }
-
- // A pool of arrays of numbers used in calculations to avoid allocating
- // memory.
- /**
- * @type {Array.<Array.<number>>}
- */
- var T_ARRAYS = [];
- for (var i = 0; i < 5; i++) { T_ARRAYS.push([]); }
-
- // ## Helper Functions
-
- // Flattens the specified array of points onto a unit vector axis,
- // resulting in a one dimensional range of the minimum and
- // maximum value on that axis.
- /**
- * @param {Array.<Vector>} points The points to flatten.
- * @param {Vector} normal The unit vector axis to flatten on.
- * @param {Array.<number>} result An array. After calling this function,
- * result[0] will be the minimum value,
- * result[1] will be the maximum value.
- */
- function flattenPointsOn(points, normal, result) {
- var min = Number.MAX_VALUE;
- var max = -Number.MAX_VALUE;
- var len = points.length;
- for (var i = 0; i < len; i++ ) {
- // The magnitude of the projection of the point onto the normal
- var dot = points[i].dot(normal);
- if (dot < min) { min = dot; }
- if (dot > max) { max = dot; }
- }
- result[0] = min; result[1] = max;
- }
-
- // Check whether two convex polygons are separated by the specified
- // axis (must be a unit vector).
- /**
- * @param {Vector} aPos The position of the first polygon.
- * @param {Vector} bPos The position of the second polygon.
- * @param {Array.<Vector>} aPoints The points in the first polygon.
- * @param {Array.<Vector>} bPoints The points in the second polygon.
- * @param {Vector} axis The axis (unit sized) to test against. The points of both polygons
- * will be projected onto this axis.
- * @param {Response=} response A Response object (optional) which will be populated
- * if the axis is not a separating axis.
- * @return {boolean} true if it is a separating axis, false otherwise. If false,
- * and a response is passed in, information about how much overlap and
- * the direction of the overlap will be populated.
- */
- function isSeparatingAxis(aPos, bPos, aPoints, bPoints, axis, response) {
- var rangeA = T_ARRAYS.pop();
- var rangeB = T_ARRAYS.pop();
- // The magnitude of the offset between the two polygons
- var offsetV = T_VECTORS.pop().copy(bPos).sub(aPos);
- var projectedOffset = offsetV.dot(axis);
- // Project the polygons onto the axis.
- flattenPointsOn(aPoints, axis, rangeA);
- flattenPointsOn(bPoints, axis, rangeB);
- // Move B's range to its position relative to A.
- rangeB[0] += projectedOffset;
- rangeB[1] += projectedOffset;
- // Check if there is a gap. If there is, this is a separating axis and we can stop
- if (rangeA[0] > rangeB[1] || rangeB[0] > rangeA[1]) {
- T_VECTORS.push(offsetV);
- T_ARRAYS.push(rangeA);
- T_ARRAYS.push(rangeB);
- return true;
- }
- // This is not a separating axis. If we're calculating a response, calculate the overlap.
- if (response) {
- var overlap = 0;
- // A starts further left than B
- if (rangeA[0] < rangeB[0]) {
- response['aInB'] = false;
- // A ends before B does. We have to pull A out of B
- if (rangeA[1] < rangeB[1]) {
- overlap = rangeA[1] - rangeB[0];
- response['bInA'] = false;
- // B is fully inside A. Pick the shortest way out.
- } else {
- var option1 = rangeA[1] - rangeB[0];
- var option2 = rangeB[1] - rangeA[0];
- overlap = option1 < option2 ? option1 : -option2;
- }
- // B starts further left than A
- } else {
- response['bInA'] = false;
- // B ends before A ends. We have to push A out of B
- if (rangeA[1] > rangeB[1]) {
- overlap = rangeA[0] - rangeB[1];
- response['aInB'] = false;
- // A is fully inside B. Pick the shortest way out.
- } else {
- var option1 = rangeA[1] - rangeB[0];
- var option2 = rangeB[1] - rangeA[0];
- overlap = option1 < option2 ? option1 : -option2;
- }
- }
- // If this is the smallest amount of overlap we've seen so far, set it as the minimum overlap.
- var absOverlap = Math.abs(overlap);
- if (absOverlap < response['overlap']) {
- response['overlap'] = absOverlap;
- response['overlapN'].copy(axis);
- if (overlap < 0) {
- response['overlapN'].reverse();
- }
- }
- }
- T_VECTORS.push(offsetV);
- T_ARRAYS.push(rangeA);
- T_ARRAYS.push(rangeB);
- return false;
- }
-
- // Calculates which Vornoi region a point is on a line segment.
- // It is assumed that both the line and the point are relative to `(0,0)`
- //
- // | (0) |
- // (-1) [S]--------------[E] (1)
- // | (0) |
- /**
- * @param {Vector} line The line segment.
- * @param {Vector} point The point.
- * @return {number} LEFT_VORNOI_REGION (-1) if it is the left region,
- * MIDDLE_VORNOI_REGION (0) if it is the middle region,
- * RIGHT_VORNOI_REGION (1) if it is the right region.
- */
- function vornoiRegion(line, point) {
- var len2 = line.len2();
- var dp = point.dot(line);
- // If the point is beyond the start of the line, it is in the
- // left vornoi region.
- if (dp < 0) { return LEFT_VORNOI_REGION; }
- // If the point is beyond the end of the line, it is in the
- // right vornoi region.
- else if (dp > len2) { return RIGHT_VORNOI_REGION; }
- // Otherwise, it's in the middle one.
- else { return MIDDLE_VORNOI_REGION; }
- }
- // Constants for Vornoi regions
- /**
- * @const
- */
- var LEFT_VORNOI_REGION = -1;
- /**
- * @const
- */
- var MIDDLE_VORNOI_REGION = 0;
- /**
- * @const
- */
- var RIGHT_VORNOI_REGION = 1;
-
- // ## Collision Tests
-
- // Check if two circles collide.
- /**
- * @param {Circle} a The first circle.
- * @param {Circle} b The second circle.
- * @param {Response=} response Response object (optional) that will be populated if
- * the circles intersect.
- * @return {boolean} true if the circles intersect, false if they don't.
- */
- function testCircleCircle(a, b, response) {
- // Check if the distance between the centers of the two
- // circles is greater than their combined radius.
- var differenceV = T_VECTORS.pop().copy(b['pos']).sub(a['pos']);
- var totalRadius = a['r'] + b['r'];
- var totalRadiusSq = totalRadius * totalRadius;
- var distanceSq = differenceV.len2();
- // If the distance is bigger than the combined radius, they don't intersect.
- if (distanceSq > totalRadiusSq) {
- T_VECTORS.push(differenceV);
- return false;
- }
- // They intersect. If we're calculating a response, calculate the overlap.
- if (response) {
- var dist = Math.sqrt(distanceSq);
- response['a'] = a;
- response['b'] = b;
- response['overlap'] = totalRadius - dist;
- response['overlapN'].copy(differenceV.normalize());
- response['overlapV'].copy(differenceV).scale(response['overlap']);
- response['aInB']= a['r'] <= b['r'] && dist <= b['r'] - a['r'];
- response['bInA'] = b['r'] <= a['r'] && dist <= a['r'] - b['r'];
- }
- T_VECTORS.push(differenceV);
- return true;
- }
- SAT['testCircleCircle'] = testCircleCircle;
-
- // Check if a polygon and a circle collide.
- /**
- * @param {Polygon} polygon The polygon.
- * @param {Circle} circle The circle.
- * @param {Response=} response Response object (optional) that will be populated if
- * they interset.
- * @return {boolean} true if they intersect, false if they don't.
- */
- function testPolygonCircle(polygon, circle, response) {
- // Get the position of the circle relative to the polygon.
- var circlePos = T_VECTORS.pop().copy(circle['pos']).sub(polygon['pos']);
- var radius = circle['r'];
- var radius2 = radius * radius;
- var points = polygon['points'];
- var len = points.length;
- var edge = T_VECTORS.pop();
- var point = T_VECTORS.pop();
-
- // For each edge in the polygon:
- for (var i = 0; i < len; i++) {
- var next = i === len - 1 ? 0 : i + 1;
- var prev = i === 0 ? len - 1 : i - 1;
- var overlap = 0;
- var overlapN = null;
-
- // Get the edge.
- edge.copy(polygon['edges'][i]);
- // Calculate the center of the circle relative to the starting point of the edge.
- point.copy(circlePos).sub(points[i]);
-
- // If the distance between the center of the circle and the point
- // is bigger than the radius, the polygon is definitely not fully in
- // the circle.
- if (response && point.len2() > radius2) {
- response['aInB'] = false;
- }
-
- // Calculate which Vornoi region the center of the circle is in.
- var region = vornoiRegion(edge, point);
- // If it's the left region:
- if (region === LEFT_VORNOI_REGION) {
- // We need to make sure we're in the RIGHT_VORNOI_REGION of the previous edge.
- edge.copy(polygon['edges'][prev]);
- // Calculate the center of the circle relative the starting point of the previous edge
- var point2 = T_VECTORS.pop().copy(circlePos).sub(points[prev]);
- region = vornoiRegion(edge, point2);
- if (region === RIGHT_VORNOI_REGION) {
- // It's in the region we want. Check if the circle intersects the point.
- var dist = point.len();
- if (dist > radius) {
- // No intersection
- T_VECTORS.push(circlePos);
- T_VECTORS.push(edge);
- T_VECTORS.push(point);
- T_VECTORS.push(point2);
- return false;
- } else if (response) {
- // It intersects, calculate the overlap.
- response['bInA'] = false;
- overlapN = point.normalize();
- overlap = radius - dist;
- }
- }
- T_VECTORS.push(point2);
- // If it's the right region:
- } else if (region === RIGHT_VORNOI_REGION) {
- // We need to make sure we're in the left region on the next edge
- edge.copy(polygon['edges'][next]);
- // Calculate the center of the circle relative to the starting point of the next edge.
- point.copy(circlePos).sub(points[next]);
- region = vornoiRegion(edge, point);
- if (region === LEFT_VORNOI_REGION) {
- // It's in the region we want. Check if the circle intersects the point.
- var dist = point.len();
- if (dist > radius) {
- // No intersection
- T_VECTORS.push(circlePos);
- T_VECTORS.push(edge);
- T_VECTORS.push(point);
- return false;
- } else if (response) {
- // It intersects, calculate the overlap.
- response['bInA'] = false;
- overlapN = point.normalize();
- overlap = radius - dist;
- }
- }
- // Otherwise, it's the middle region:
- } else {
- // Need to check if the circle is intersecting the edge,
- // Change the edge into its "edge normal".
- var normal = edge.perp().normalize();
- // Find the perpendicular distance between the center of the
- // circle and the edge.
- var dist = point.dot(normal);
- var distAbs = Math.abs(dist);
- // If the circle is on the outside of the edge, there is no intersection.
- if (dist > 0 && distAbs > radius) {
- // No intersection
- T_VECTORS.push(circlePos);
- T_VECTORS.push(normal);
- T_VECTORS.push(point);
- return false;
- } else if (response) {
- // It intersects, calculate the overlap.
- overlapN = normal;
- overlap = radius - dist;
- // If the center of the circle is on the outside of the edge, or part of the
- // circle is on the outside, the circle is not fully inside the polygon.
- if (dist >= 0 || overlap < 2 * radius) {
- response['bInA'] = false;
- }
- }
- }
-
- // If this is the smallest overlap we've seen, keep it.
- // (overlapN may be null if the circle was in the wrong Vornoi region).
- if (overlapN && response && Math.abs(overlap) < Math.abs(response['overlap'])) {
- response['overlap'] = overlap;
- response['overlapN'].copy(overlapN);
- }
- }
-
- // Calculate the final overlap vector - based on the smallest overlap.
- if (response) {
- response['a'] = polygon;
- response['b'] = circle;
- response['overlapV'].copy(response['overlapN']).scale(response['overlap']);
- }
- T_VECTORS.push(circlePos);
- T_VECTORS.push(edge);
- T_VECTORS.push(point);
- return true;
- }
- SAT['testPolygonCircle'] = testPolygonCircle;
-
- // Check if a circle and a polygon collide.
- //
- // **NOTE:** This is slightly less efficient than polygonCircle as it just
- // runs polygonCircle and reverses everything at the end.
- /**
- * @param {Circle} circle The circle.
- * @param {Polygon} polygon The polygon.
- * @param {Response=} response Response object (optional) that will be populated if
- * they interset.
- * @return {boolean} true if they intersect, false if they don't.
- */
- function testCirclePolygon(circle, polygon, response) {
- // Test the polygon against the circle.
- var result = testPolygonCircle(polygon, circle, response);
- if (result && response) {
- // Swap A and B in the response.
- var a = response['a'];
- var aInB = response['aInB'];
- response['overlapN'].reverse();
- response['overlapV'].reverse();
- response['a'] = response['b'];
- response['b'] = a;
- response['aInB'] = response['bInA'];
- response['bInA'] = aInB;
- }
- return result;
- }
- SAT['testCirclePolygon'] = testCirclePolygon;
-
- // Checks whether polygons collide.
- /**
- * @param {Polygon} a The first polygon.
- * @param {Polygon} b The second polygon.
- * @param {Response=} response Response object (optional) that will be populated if
- * they interset.
- * @return {boolean} true if they intersect, false if they don't.
- */
- function testPolygonPolygon(a, b, response) {
- var aPoints = a['points'];
- var aLen = aPoints.length;
- var bPoints = b['points'];
- var bLen = bPoints.length;
- // If any of the edge normals of A is a separating axis, no intersection.
- for (var i = 0; i < aLen; i++) {
- if (isSeparatingAxis(a['pos'], b['pos'], aPoints, bPoints, a['normals'][i], response)) {
- return false;
- }
- }
- // If any of the edge normals of B is a separating axis, no intersection.
- for (var i = 0;i < bLen; i++) {
- if (isSeparatingAxis(a['pos'], b['pos'], aPoints, bPoints, b['normals'][i], response)) {
- return false;
- }
- }
- // Since none of the edge normals of A or B are a separating axis, there is an intersection
- // and we've already calculated the smallest overlap (in isSeparatingAxis). Calculate the
- // final overlap vector.
- if (response) {
- response['a'] = a;
- response['b'] = b;
- response['overlapV'].copy(response['overlapN']).scale(response['overlap']);
- }
- return true;
- }
- SAT['testPolygonPolygon'] = testPolygonPolygon;
-
- return SAT;
-}));
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/Signal.js.html b/docs/Signal.js.html
index 5fe8f083..19ae8888 100644
--- a/docs/Signal.js.html
+++ b/docs/Signal.js.html
@@ -814,7 +814,7 @@ Phaser.Signal.prototype.constructor = Phaser.Signal;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SignalBinding.html b/docs/SignalBinding.html
index 59511c17..cf65eb7a 100644
--- a/docs/SignalBinding.html
+++ b/docs/SignalBinding.html
@@ -807,7 +807,7 @@ Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes.
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:36 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:48 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SignalBinding.js.html b/docs/SignalBinding.js.html
index 3172b2b5..fc678376 100644
--- a/docs/SignalBinding.js.html
+++ b/docs/SignalBinding.js.html
@@ -674,7 +674,7 @@ Phaser.SignalBinding.prototype.constructor = Phaser.SignalBinding;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SinglePad.js.html b/docs/SinglePad.js.html
index 93e93c62..b7ad0cd0 100644
--- a/docs/SinglePad.js.html
+++ b/docs/SinglePad.js.html
@@ -1079,7 +1079,7 @@ Object.defineProperty(Phaser.SinglePad.prototype, "index", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Sound.js.html b/docs/Sound.js.html
index 7d959b39..2118504e 100644
--- a/docs/Sound.js.html
+++ b/docs/Sound.js.html
@@ -832,7 +832,7 @@ Phaser.Sound.prototype = {
if (this.currentTime >= this.durationMS)
{
- //console.log(this.currentMarker, 'has hit duration');
+ console.log(this.currentMarker, 'has hit duration');
if (this.usingWebAudio)
{
if (this.loop)
@@ -891,7 +891,7 @@ Phaser.Sound.prototype = {
position = position || 0;
if (typeof volume === 'undefined') { volume = this._volume; }
- if (typeof loop === 'undefined') { loop = false; }
+ if (typeof loop === 'undefined') { loop = this.loop; }
if (typeof forceRestart === 'undefined') { forceRestart = true; }
// console.log(this.name + ' play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop, 'force', forceRestart);
@@ -1335,7 +1335,7 @@ Object.defineProperty(Phaser.Sound.prototype, "volume", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SoundManager.js.html b/docs/SoundManager.js.html
index ac447ac6..42a93dd9 100644
--- a/docs/SoundManager.js.html
+++ b/docs/SoundManager.js.html
@@ -843,12 +843,9 @@ Phaser.SoundManager.prototype = {
* @param {string} key - Asset key for the sound.
* @param {number} [volume=1] - Default value for the volume.
* @param {boolean} [loop=false] - Whether or not the sound will loop.
- * @param {boolean} [destroyOnComplete=false] - If true the Sound will destroy itself once it has finished playing, or is stopped.
* @return {Phaser.Sound} The new sound instance.
*/
- play: function (key, volume, loop, destroyOnComplete) {
-
- if (typeof destroyOnComplete == 'undefined') { destroyOnComplete = false; }
+ play: function (key, volume, loop) {
var sound = this.add(key, volume, loop);
@@ -992,7 +989,7 @@ Object.defineProperty(Phaser.SoundManager.prototype, "volume", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Spring.js.html b/docs/Spring.js.html
index 512c37b7..61962b7c 100644
--- a/docs/Spring.js.html
+++ b/docs/Spring.js.html
@@ -576,7 +576,7 @@ Phaser.Physics.Spring.prototype.constructor = Phaser.Physics.Spring;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Sprite.js.html b/docs/Sprite.js.html
index a720ae7d..5c9b89e7 100644
--- a/docs/Sprite.js.html
+++ b/docs/Sprite.js.html
@@ -1463,7 +1463,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SpriteBatch.js.html b/docs/SpriteBatch.js.html
index acaeb69c..e2890a6c 100644
--- a/docs/SpriteBatch.js.html
+++ b/docs/SpriteBatch.js.html
@@ -545,7 +545,7 @@ Phaser.SpriteBatch.prototype.constructor = Phaser.SpriteBatch;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Stage.js.html b/docs/Stage.js.html
index 26ff3886..9512df79 100644
--- a/docs/Stage.js.html
+++ b/docs/Stage.js.html
@@ -546,6 +546,12 @@ Phaser.Stage = function (game, width, height) {
*/
this.exists = true;
+ /**
+ * @property {string} hiddenVar - The page visibility API event name.
+ * @private
+ */
+ this._hiddenVar = 'hidden';
+
/**
* @property {number} _nextOffsetCheck - The time to run the next offset check.
* @private
@@ -721,10 +727,38 @@ Phaser.Stage.prototype.boot = function () {
Phaser.Canvas.setUserSelect(this.game.canvas, 'none');
Phaser.Canvas.setTouchAction(this.game.canvas, 'none');
- document.addEventListener('visibilitychange', this._onChange, false);
- document.addEventListener('webkitvisibilitychange', this._onChange, false);
- document.addEventListener('pagehide', this._onChange, false);
- document.addEventListener('pageshow', this._onChange, false);
+ this.checkVisibility();
+
+}
+
+/**
+* Starts a page visibility event listener running, or window.blur/focus if not supported by the browser.
+* @method Phaser.Stage#checkVisibility
+*/
+Phaser.Stage.prototype.checkVisibility = function () {
+
+ var supportsVisibilityApi = false;
+ var prefixes = [ "", "moz", "ms", "webkit" ];
+
+ while (prefixes.length)
+ {
+ prefix = prefixes.pop();
+ this._hiddenVar = prefix ? prefix + "Hidden" : "hidden";
+
+ if (this._hiddenVar in document)
+ {
+ supportsVisibilityApi = true;
+ break;
+ }
+ }
+
+ // Does browser support it? If not (like in IE9 or old Android) we need to fall back to blur/focus
+ if (supportsVisibilityApi)
+ {
+ document.addEventListener(this._hiddenVar, this._onChange, false);
+ document.addEventListener('pagehide', this._onChange, false);
+ document.addEventListener('pageshow', this._onChange, false);
+ }
window.onblur = this._onChange;
window.onfocus = this._onChange;
@@ -761,7 +795,7 @@ Phaser.Stage.prototype.visibilityChange = function (event) {
return;
}
- if (this.game.paused === false && (event.type == 'pagehide' || event.type == 'blur' || document['hidden'] === true || document['webkitHidden'] === true))
+ if (this.game.paused === false && (event.type === 'pagehide' || event.type === 'blur' || document[this._hiddenVar] === true))
{
this.game.paused = true;
}
@@ -835,7 +869,7 @@ Object.defineProperty(Phaser.Stage.prototype, "backgroundColor", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/StageScaleMode.js.html b/docs/StageScaleMode.js.html
index c7c64c2b..864ee5f3 100644
--- a/docs/StageScaleMode.js.html
+++ b/docs/StageScaleMode.js.html
@@ -1293,7 +1293,7 @@ Object.defineProperty(Phaser.StageScaleMode.prototype, "isLandscape", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/State.js.html b/docs/State.js.html
index 32e17c26..77d757da 100644
--- a/docs/State.js.html
+++ b/docs/State.js.html
@@ -681,7 +681,7 @@ Phaser.State.prototype.constructor = Phaser.State;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/StateManager.js.html b/docs/StateManager.js.html
index bc2763df..c9df4a40 100644
--- a/docs/StateManager.js.html
+++ b/docs/StateManager.js.html
@@ -584,6 +584,11 @@ Phaser.StateManager = function (game, pendingState) {
*/
this.onPausedCallback = null;
+ /**
+ * @property {function} onResumedCallback - This will be called when the state is resumed from a paused state.
+ */
+ this.onResumedCallback = null;
+
/**
* @property {function} onShutDownCallback - This will be called when the state is shut down (i.e. swapped to another state).
*/
@@ -686,6 +691,7 @@ Phaser.StateManager.prototype = {
this.onUpdateCallback = null;
this.onRenderCallback = null;
this.onPausedCallback = null;
+ this.onResumedCallback = null;
this.onDestroyCallback = null;
}
@@ -861,6 +867,7 @@ Phaser.StateManager.prototype = {
this.onPreRenderCallback = this.states[key]['preRender'] || null;
this.onRenderCallback = this.states[key]['render'] || null;
this.onPausedCallback = this.states[key]['paused'] || null;
+ this.onResumedCallback = this.states[key]['resumed'] || null;
// Used when the state is no longer the current active state
this.onShutDownCallback = this.states[key]['shutdown'] || this.dummy;
@@ -909,7 +916,7 @@ Phaser.StateManager.prototype = {
if (this._created && this.onPausedCallback)
{
- this.onPausedCallback.call(this.callbackContext, this.game, true);
+ this.onPausedCallback.call(this.callbackContext, this.game);
}
},
@@ -920,9 +927,9 @@ Phaser.StateManager.prototype = {
*/
resume: function () {
- if (this._created && this.onre)
+ if (this._created && this.onResumedCallback)
{
- this.onPausedCallback.call(this.callbackContext, this.game, false);
+ this.onResumedCallback.call(this.callbackContext, this.game);
}
},
@@ -1009,6 +1016,7 @@ Phaser.StateManager.prototype = {
this.onUpdateCallback = null;
this.onRenderCallback = null;
this.onPausedCallback = null;
+ this.onResumedCallback = null;
this.onDestroyCallback = null;
this.game = null;
@@ -1041,7 +1049,7 @@ Phaser.StateManager.prototype.constructor = Phaser.StateManager;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Text.js.html b/docs/Text.js.html
index 596c7146..0a741a9d 100644
--- a/docs/Text.js.html
+++ b/docs/Text.js.html
@@ -1328,7 +1328,7 @@ Object.defineProperty(Phaser.Text.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tile.js.html b/docs/Tile.js.html
index 15856305..70f71e48 100644
--- a/docs/Tile.js.html
+++ b/docs/Tile.js.html
@@ -803,7 +803,7 @@ Object.defineProperty(Phaser.Tile.prototype, "bottom", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TileSprite.js.html b/docs/TileSprite.js.html
index 1fb1e9cb..78b1b533 100644
--- a/docs/TileSprite.js.html
+++ b/docs/TileSprite.js.html
@@ -574,6 +574,11 @@ Phaser.TileSprite = function (game, x, y, width, height, key, frame) {
this.position.set(x, y);
+ /**
+ * @property {Phaser.InputHandler|null} input - The Input Handler for this object. Needs to be enabled with image.inputEnabled = true before you can use it.
+ */
+ this.input = null;
+
/**
* @property {Phaser.Point} world - The world coordinates of this Sprite. This differs from the x/y coordinates which are relative to the Sprites container.
*/
@@ -908,6 +913,42 @@ Object.defineProperty(Phaser.TileSprite.prototype, "fixedToCamera", {
}
}
+});
+
+/**
+* By default a TileSprite won't process any input events at all. By setting inputEnabled to true the Phaser.InputHandler is
+* activated for this object and it will then start to process click/touch events and more.
+*
+* @name Phaser.TileSprite#inputEnabled
+* @property {boolean} inputEnabled - Set to true to allow this object to receive input events.
+*/
+Object.defineProperty(Phaser.TileSprite.prototype, "inputEnabled", {
+
+ get: function () {
+
+ return (this.input && this.input.enabled);
+
+ },
+
+ set: function (value) {
+
+ if (value)
+ {
+ if (this.input === null)
+ {
+ this.input = new Phaser.InputHandler(this);
+ this.input.start();
+ }
+ }
+ else
+ {
+ if (this.input && this.input.enabled)
+ {
+ this.input.stop();
+ }
+ }
+ }
+
});
@@ -930,7 +971,7 @@ Object.defineProperty(Phaser.TileSprite.prototype, "fixedToCamera", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tilemap.js.html b/docs/Tilemap.js.html
index f9e77132..5d3a238d 100644
--- a/docs/Tilemap.js.html
+++ b/docs/Tilemap.js.html
@@ -1925,7 +1925,7 @@ Phaser.Tilemap.prototype.constructor = Phaser.Tilemap;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TilemapLayer.js.html b/docs/TilemapLayer.js.html
index c057bf76..8504855f 100644
--- a/docs/TilemapLayer.js.html
+++ b/docs/TilemapLayer.js.html
@@ -1390,7 +1390,7 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "collisionHeight", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TilemapParser.js.html b/docs/TilemapParser.js.html
index 7ca86c26..6144d9a0 100644
--- a/docs/TilemapParser.js.html
+++ b/docs/TilemapParser.js.html
@@ -891,7 +891,14 @@ Phaser.TilemapParser = {
newSet.columns = (set.imagewidth - set.margin) / (set.tilewidth + set.spacing);
newSet.total = newSet.rows * newSet.columns;
- tilesets.push(newSet);
+ if (newSet.rows % 1 !== 0 || newSet.columns % 1 !== 0)
+ {
+ console.warn('TileSet image dimensions do not match expected dimensions. Tileset width/height must be evenly divisible by Tilemap tile width/height.');
+ }
+ else
+ {
+ tilesets.push(newSet);
+ }
}
map.tilesets = tilesets;
@@ -969,7 +976,7 @@ Phaser.TilemapParser = {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tileset.js.html b/docs/Tileset.js.html
index 52ca0715..abd3864e 100644
--- a/docs/Tileset.js.html
+++ b/docs/Tileset.js.html
@@ -666,7 +666,7 @@ Phaser.Tileset.prototype.constructor = Phaser.Tileset;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Time.js.html b/docs/Time.js.html
index cfb57c5b..7da3ac77 100644
--- a/docs/Time.js.html
+++ b/docs/Time.js.html
@@ -857,7 +857,7 @@ Phaser.Time.prototype.constructor = Phaser.Time;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Timer.js.html b/docs/Timer.js.html
index cabba614..f52d35eb 100644
--- a/docs/Timer.js.html
+++ b/docs/Timer.js.html
@@ -1019,7 +1019,7 @@ Phaser.Timer.prototype.constructor = Phaser.Timer;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TimerEvent.js.html b/docs/TimerEvent.js.html
index b5b57d71..b9ac2980 100644
--- a/docs/TimerEvent.js.html
+++ b/docs/TimerEvent.js.html
@@ -583,7 +583,7 @@ Phaser.TimerEvent.prototype.constructor = Phaser.TimerEvent;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Touch.js.html b/docs/Touch.js.html
index 8223f21a..87d106d2 100644
--- a/docs/Touch.js.html
+++ b/docs/Touch.js.html
@@ -881,7 +881,7 @@ Phaser.Touch.prototype.constructor = Phaser.Touch;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tween.js.html b/docs/Tween.js.html
index bbe88916..02820360 100644
--- a/docs/Tween.js.html
+++ b/docs/Tween.js.html
@@ -1089,7 +1089,7 @@ Phaser.Tween.prototype.constructor = Phaser.Tween;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TweenManager.js.html b/docs/TweenManager.js.html
index c08f1aa9..93dc2618 100644
--- a/docs/TweenManager.js.html
+++ b/docs/TweenManager.js.html
@@ -714,7 +714,7 @@ Phaser.TweenManager.prototype.constructor = Phaser.TweenManager;
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Utils.js.html b/docs/Utils.js.html
index a2ddcbee..c70406a4 100644
--- a/docs/Utils.js.html
+++ b/docs/Utils.js.html
@@ -815,7 +815,7 @@ if (!Array.isArray) {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/World.js.html b/docs/World.js.html
index 2f50bc7a..793f0199 100644
--- a/docs/World.js.html
+++ b/docs/World.js.html
@@ -544,7 +544,7 @@ Phaser.Physics.World = function (game, config) {
/**
* @property {Phaser.InversePointProxy} gravity - The gravity applied to all bodies each step.
*/
- this.gravity = new Phaser.Physics.InversePointProxy(this.world.gravity);
+ this.gravity = new Phaser.Physics.InversePointProxy(game, this.world.gravity);
/**
* @property {p2.Body} bounds - The bounds body contains the 4 walls that border the World. Define or disable with setBounds.
@@ -1574,7 +1574,7 @@ Object.defineProperty(Phaser.Physics.World.prototype, "enableBodySleeping", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/World.js_.html b/docs/World.js_.html
index f2d024f1..7082bfd3 100644
--- a/docs/World.js_.html
+++ b/docs/World.js_.html
@@ -723,7 +723,7 @@ Object.defineProperty(Phaser.World.prototype, "randomY", {
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/classes.list.html b/docs/classes.list.html
index 3860ac29..e9893460 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -881,7 +881,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/global.html b/docs/global.html
index b5185e31..33e6a813 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -1257,7 +1257,7 @@ this function is taken from Starling Framework as its pretty neat ;)
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index 2c595f8a..eeb5af88 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -510,9 +510,9 @@
-
Phaser 1.2-dev
+
Phaser 2.0.0-dev
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.
As you may know we had planned to release 1.1.4 at the end of 2013. For various reasons this didn't quite happen, but we're happy to announce it's finally out! There have been some dramatic changes internally, and if you make use of either the physics systems or tilemaps then you are going to need to update your code. Hopefully only a little bit, but there have been a number of core API changes which we detail below. There are also a host of new features, the headliners being:
-
-
New Physics system. Uses SAT.js internally so physics bodies can now be rectangles, circles or polygons and support rotation.
-
New Tilemap system. Brand new collision system for tiles, much more advanced layer handling, tile properties, multiple tilesets of layer and more.
-
New Timer. This handy new class lets you create timed events easily.
-
Your Game can now be configured from an external configuration object.
-
Over 150 new features and updates and over 30 reported bug fixes.
-
-
This release also brings the TypeScript definitions file as bang up to date as possible. There are still a few areas that need looking at, but with your help hopefully we can iron those final few bits out and have a 100% accruate defs file on offer.
-
There is a new Contributors Guide which we'd urge you to follow if you wish to help with Phaser development, and we've updated the doc files and added lots more details into key areas. The Examples have grown too! Now over 220 of them including several great ones from the community.
-
We're going to settle on this build for a short while as we do some quick iteration bug fixing, so expect to see some small point releases very soon that do nothing but address any issues you may find. But in parallel to this we are also now rebuilding our core to bring it in-line with the latest version of Pixi.js, which has had some dramatic changes under the hood, changes will impact a lot of what Phaser does internally. But the changes are all for the better and once we upgrade Pixi you'll have a significantly faster renderer and a smaller codebase too, as we do away with stacks of linked list code :)
-
As always we offer a heart-felt "Thank you!" to everyone who has encouraged us along the way. To those of you who worked with Phaser during its various incarnations. The number of games being released that were made with Phaser is staggering and we really love to see how you use it! You are our heroes. It's your kind words and enthusiasm that has keeps us going.
-
Phaser is everything we ever wanted from an HTML5 game framework. It powers all of our client work in build today and remains our single most important product, and we've still only just scratched the surface of what we have planned for it.
-
+
Phaser 2.0 "welcome" text to go here.
Getting Started Guides
We have a new 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.
There is a comprehensive How to Learn Phaser guide on the GameDevTuts+ site which is a great place to learn where to find tutorials, examples and support.
fixedToCamera now works across all display objects. When enabled it will fix at its current x/y coordinate, but can be changed via cameraOffset.
fixedToCamrea now works for Groups as well :) You can fix a Group to the camera and it will influence its children.
Tilemap.createCollisionObjects will parse Tiled data for objectgroups and convert polyline instances into physics objects you can collide with in the world.
+
Loader can now load JSON files specifically (game.load.json) and they are parsed and stored in the Game.Cache. Retrieve with game.cache.getJSON(key).
+
TileSprites can now receive full Input events, dragging, etc and be positioned in-world and fixed to cameras.
+
The StateManager now looks for a function called 'resumed' which is called when a game un-pauses.
Updates:
@@ -620,6 +610,11 @@
Device, Canvas and GamePad classes all updated for better CocoonJS support (thanks Videlais)
BitmapData.alphaMask will draw the given image onto a BitmapData using an image as an alpha mask.
The new GameObjectCreator (which you access via game.make or State.make) lets you easily create an object but NOT add it to the display list.
+
TilemapParser will now throw a warning if the tileset image isn't the right size for the tile dimensions.
+
We now force IE11 into Canvas mode to avoid a Pixi bug with pre-multiplied alpha. Will remove once that is fixed, sorry, but it's better than no game at all, right? :(
+
Loader.setPreloadSprite() will now set sprite.visible = true once the crop has been applied. Should help avoid issues (#430) on super-slow connections.
+
Updated the way the page visibility is checked, should now be more compatible across more browsers.
+
Phaser.Input.Key.isUp now defaults to 'true', as does GamepadButton.isUp (#474)
Bug Fixes:
@@ -635,6 +630,9 @@
Fixed bug in Math.angleBetween where it was using the coordinates in the wrong order.
Previously using a Pixel Perfect check didn't work if the Sprite was rotated or had a non-zero anchor point, now works under all conditions + atlas frames.
If pixelPerfect Input Sprites overlapped each other the pixel check wasn't taken into consieration in the Pointer move method.
+
Updated Input.Mouse to use event.button not event.which, so the const reference from input.mouse.button is correct (thanks grimor)
+
Text that was fixedToCamera would 'jitter' if the world scrolled. Now works as expected across all fixed objects.
+
Fixed a bug where Sound.play wouldn't pick-up the local loop setting if not specified in the parameter.
TO DO:
@@ -705,31 +703,29 @@ Sprites also have full Input support: click them, touch them, drag them around,
Although Phaser 1.0 is a brand new release it is born from years of experience building some of the biggest mobile HTML5 games out there. 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.
Road Map
-
Here is what's on our road map for the coming months:
-
Version 1.3 ("Tarabon")
+
Beyond version 2.0 here are some of the features planned for the future:
+
Version 2.1 ("Shienar")
Enhance the State Management, so you can perform non-destructive State swaps and persistence.
-
Dedicated CocoonJS packaging features (screencanvas, etc)
A more advanced Particle system, one that can render to a single canvas (rather than spawn hundreds of Sprites), more advanced effects, etc.
Ability to control DOM elements from the core game and layer them into the game.
Touch Gestures.
Support for parallel asset loading.
-
Fixed width bitmap font support, plus enhanced Bitmap font rendering.
-
Version 2.0 ("Aes Sedai")
+
Version 2.2 ("Tarabon")
-
Integrate p2.js physics system completely.
Comprehensive testing across Firefox OS devices, CocoonJS and Ejecta.
Integration with third party services like Google Play Game Services and Amazon JS SDK.
Flash CC HTML5 export integration.
-
Massively enhance the audio side of Phaser. Although it does what it does well, it could do with taking more advantage of Web Audio - echo effects, positional sound, etc.
+
Massively enhance the audio side of Phaser. Take more advantage of Web Audio: echo effects, positional sound, etc.
-
Beyond version 2.0
+
Beyond version 2.2
Test out packaging with Node-webkit.
Game parameters stored in Google Docs.
Look at HiDPI Canvas settings.
Multiple Camera support.
+
DragonBones support.
Nadion
Nadion is a set of powerful enhancements for Phaser that makes level building even easier. It includes features such as Trigger, Area, Alarms and Emitters, debug panels, state machines, parallax layer scrolling, 'developer mode' short-cuts and more.
@@ -773,7 +769,7 @@ Sprites also have full Input support: click them, touch them, drag them around,
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html
index 747eeb6f..81e37a08 100644
--- a/docs/namespaces.list.html
+++ b/docs/namespaces.list.html
@@ -881,7 +881,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the DocStrap template.
diff --git a/resources/wip/01_phaser-arcade.jpg b/resources/wip/01_phaser-arcade.jpg
deleted file mode 100644
index 2fe7c150b6c845a1071673dc16dae619b66e6673..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 248637
zcmeFZd0dj|_diUlHI=rnF4a^{i<+4!C|FrJl}lxlJ4~68k)k59Yg0{r%9K{g1*kD)
zOocJW5Jj9aWy}N(6?alpL{vl;1(zP|v;4ll=WD;`c|Fg+-|Gd+a^3ei?{m&|UHA1q
z=jKbxmu|quL`
zqHHf-MqUcD4Mj%SVJ}A6+1u{71Gu_jqb`Ob!eX~x3WJA7g10NnDz8e{y|@({aXk_R!h*MdJvqqudiG+&X*4i`z
zKL~URbGr2J^UQg?(;?>*`|!i3<~$O4{ohe=<|;B4iMoo6+UoAU^#`wuq2ZCU
z?|0Ao=%0{}g~f!&g&a_HcJ1Ka;~{N?|z#H>f<+4#
zE;3nUd@fnMXwl*&-z}MK-!1=cnX!Gh{9nz?Y~@Nbv-RuNty{nGKW*Nk#f!gN`rVr4
z%h#-3Wx8tZf4=yC`{K(xz^WxC^$Y)4FmDxL{;GKkR?YkJe%@BVym^563ygpM)8@@z
zv|!<4lO^;1-Tuor3l=U~Y_ie_b^d~dOBOAhKY!jLV=utG`3qJpT)BGD)@^In?mzRh
z{egq)79Za3uw(s^?{_*znH=49?8bvX+z%apzG0QI@BD=(%a$%$ylDQyMT?Ac+5A-t
zR&KLjedKI(;r0Uyx1PE9%flCM8)DWt9KCe&(QmK6M;+Y%^SQN)4v%)f`xNSXt7u28
z%DpG+*yTSSSDs(D(=iOacr^g9&}jKZi~fUR-l}aYxBhIu|4h{38)q;6vigs|jzo7q
zs2`ob{pK3L{CV>iE?jKHJll-mjGgUQ9yxn)H2Rl^ThF{GeA}?UTlMqds6TEz_|gVg
zzTm5htBn07fB26n{^!O2Sm1vw@IMy#9}E2dv4F`Y={PV{+<)W$=_F>>xqsn1x_+Lc
z-{Ml?z1WQJlbFCsb?<=#2kzg$pZ)jWA9g$MN3Ljm^7u9r`)+?EYYHhon?>wM&=HCd;0+YXAhE=T)K2RdfW0Jf96KNl}TQz
zbs~NzM`7Fq{P#8xFj`kvjuT8xLYcwMG3$0e3^htPu-o&uv|T68dfp4$wCnhR`}Z#U
z{*dc=&p+q*?qlbFcseWj>GB^-8tu1zmE3;!?s9}t0mmioo8RBrvGdaLzq%>8vy$UP
z{0@%d=l?Dj0FVcacD{Lo4MAi#J-q%hnGK=+BQb=zAa~cpTDpklwcas3^+W37v*&Wc
zA3jOTeC(S0=<-?rc9DKY;@+d(`$Ft`2t9(`7pyG7C?e6eQHsi27KAkM6-0)ujpJl>
z!s!rN#^+KgdlR;;a`(oU_MV8fcO5dL?H_O2@k^HP7UTbIi}HTnaqM;q-@1N6=4;mx
zr93rKNpMq+Aq}R{6v1LDI1i8rY>t@XBTKU0ri`
zA=94#yh06lR+5KNi~?N{LKod+a=YjL$9pA^voe8nrw?j
z2{sB(*Zqw$fS`AClLZdu!G)ETKpjWd_UV1~$<-%9X4c3dk%3i{iB2(R<^X1Xa+Fu}
zGuBJ#+a3_{^x|CwcZN=KkO=Id<>d%wssSB1pw3*6E5H>R;%&bG7}S!Q`z?RJ4%_rm
zW}YTIC_Dte6k6o)A=RJv{aY=`Eu$h=gDZ=}!Q9Gf^dz^F1~==%kn$LTkdB=p!}%I?
z`Bc|r=a@c!D0p6VbJ3QuOcFGK5yEOQlv6bdXy#`5ug%MTz4R=AADx0zsinYBG7TFK
zxBDH-BYUyZNLFcdk-|2NA0*_rOu^v!vSC%3N^e%yEqwE0$2(8duFJKdGWw5WD6v&^
zAM>v{00W47nFL0nyxc7-K%Pn^oANjWgJrOb2)u>4uABW6rk|MJq2D-o4Qyle8XeEB
zX(zb0ejKyU6vPAo9e_J}KMsYO>y5~PwVO>Xhw1dzlJsgsDEylA9WI`d3Rghsrg)*_
z`yxRo^Ksua)3ht$Ie~|~)bnatQ+gG;MNzKkSK}0Y(^jYRG!S+uJKlu}Ml6fY-zUv1
zQS-^>aM#gLNRpa6lWcpF5Dy<5)w+3fIV8(!M{%Uew*vz%`do7Me8(R&026ygr
z*cIes8=us}KLL>ngKx}%dEV#KQ^gG`U=Kj8{p0jDlHl%#xa5VcoxA$i+Cv*
zJ7f@UC(3FyDn;LTr!zeNTA^rjtCB2mb@L^=7&hebi{$-zcl%2SaW1l!68UM4yz=Jt
z@C|R{bTI@TBcWXr7LD-tRFydenB7GSe^!yuSz3gR6Vz04
znD0dw3JYblNRE`^U+ls9FYDXciIK%SM!Nj(R`g5|4Vx%$LD*;!40>2y{kULp6TN$*%~a^yYLsL(2MK?
zIfR8ms0ri&yb}Hx?(m1aazO!A-xZ%)bYGY&e}5QvubnT1kXzdc@pKDrcomADKROsC
zuM!1zcsc#0pZWsu5EV{BhtU6!Rl2sB38#iDD8C8FZ8AD5p!gj%-oK}t=IRYu<3=rD
z?ISItf%xs5t8>}FYNLYYTNT%wB*wZbU#Z7kGkKITWP(`e+gKZMXJdYcLG~8Gc+zBG
zC2j_HZs^ouePDegRz;tJI9*J4Q(PxjoUXruts9kb(dJ+t#@~Q}TKP-%m~BZmyka>1
zB~91+(c85NK8Y?nDqLj}$+&9N3mvA%+#0+NHV4y+is8jPXS?MU_T9tdA;if7RW~Ku
zsjc~7xI87B4%U%KLYAbmAUf!6S*0i#42nW4s(3WNej?pnJHw&zIMIkZk9&zcC4&Z~
z5wA;;n<>9IV`YgcSiL~j6eWdn!!X!?~&;xt51h)*`bRH=cO_1iusCUiBeN1W_G`3v{mu
z+V^~}C?L{vu!{GXQoHLzSeI!>#SltXtOsc!C;3CNW>Lfwim4Ns+T*-8s9BFJ693(0
zfrM30TGdVx%q+`juKEhr&_G9&R$l?q5Xs?JD3q+BL;93>y055i7ng^YV`zkAGrJQa
zqT0v7u0Y~UGpW^Zk&rKd!@4Q@XxvXDRV6$6QZC)l3dSyL{mn{5kGCpOm^sVfj
zlYX2{h43yx-n4Y8_f$DEQ@@rrWLi_?K8sJLcSAQsh3ACQm`SB{paxrdQk|rtx<NrhiD4p=hV&SREEW@iDq-am
znLWV6h*ebVw4Y+e35U}~%ZJ8vYN@EtUfg>6ty4eN!1b|$f{p6=5BDkRCi0Q>*HEp!
z4kXgOCbgp1Ij;4}7=9|#As7P@aP|Rk+|B~b(5711OWhV(J4YlVZkF|-2X!H(W3lpI
z#lOhtXI1eRz5t%I;z%qrC>K!e(4k2tfGN3ZJ6^$KoktVw8k@VpneMRWSWSr6?X^8GKRxT|TiaPp~eSC%x
z9u&^}G{_kr?H~o_^1!(1ib%r2v2zBH*wW7lW4lQlDjaBqhXjuB&(*~jB~t=Qh3ktN
zy1+C>gvk-SJy#@ak!we2UZnIcUR`Ij0#8NoiFA{Ol9-lIQKt@(rz#!AIW~)YwM2_f
zDN~j;EK@=07*s{|qw6?yTXZ-t@$Vj)))m7Zxelo|l%R{8|LB-fXkcq)_&8jc5}El5t;ciotIw5Zoj7L0V2(j;gz3|
z77pTYAi|)4)S5P``A`a3CC1j0@zX6
zoGS#@J8eL&HmD(K)GIOJO;U`+h4osc)uxq)C}gxwbpP45=9#n}nWVSUsYYA}A%n>k
zQp3!QDIp~es3@jlq9uhwQ4LkIYib0fL5Xk1HhCJz8|wR0_5hauc+vks&WUKx8-Pul
z3*c@r({zQi)=*K@CygE*u^@c`&@1aZg_OKDeG1sVTSH{D;ieP=l4W#DS&*FARq2Xo
zl-N{Qwp_z?71ff=%m}PRFTO$t;b#@gg@Ij5KHuNjHZ?*&s!|qHc;CR6k~R>o9#mUq
zUcOv1fhQq)@o#40xo7XDb;mal9xlQyu>v^_(j^=
z)|4)g8qV5