From f4ff4d88feddd1fd6041a13c44844cb5368dad08 Mon Sep 17 00:00:00 2001
From: photonstorm
Date: Mon, 24 Feb 2014 01:28:13 +0000
Subject: [PATCH] 1.1.6 release. The final of the 1.1 branch.
---
README.md | 69 +--
changelog.md | 18 +
docs/Animation.js.html | 2 +-
docs/AnimationManager.js.html | 2 +-
docs/AnimationParser.js.html | 2 +-
docs/ArcadePhysics.js.html | 41 +-
docs/BitmapData.js.html | 2 +-
docs/BitmapText.js.html | 4 +-
docs/Body.js.html | 5 +-
docs/Button.js.html | 8 +-
docs/Cache.js.html | 2 +-
docs/Camera.js.html | 2 +-
docs/Canvas.js.html | 2 +-
docs/Circle.js.html | 2 +-
docs/Color.js.html | 2 +-
docs/DOMSprite.js.html | 2 +-
docs/Debug.js.html | 2 +-
docs/Device.js.html | 2 +-
docs/Easing.js.html | 2 +-
docs/Emitter.js.html | 2 +-
docs/Events.js.html | 2 +-
docs/Filter.js.html | 2 +-
docs/Frame.js.html | 2 +-
docs/FrameData.js.html | 2 +-
docs/Game.js.html | 2 +-
docs/GameObjectFactory.js.html | 2 +-
docs/Gamepad.js.html | 2 +-
docs/GamepadButton.js.html | 2 +-
docs/Graphics.js.html | 4 +-
docs/Group.js.html | 8 +-
docs/Input.js.html | 2 +-
docs/InputHandler.js.html | 4 +-
docs/Key.js.html | 4 +-
docs/Keyboard.js.html | 2 +-
docs/Line.js.html | 4 +-
docs/LinkedList.js.html | 2 +-
docs/Loader.js.html | 27 +-
docs/LoaderParser.js.html | 2 +-
docs/MSPointer.js.html | 2 +-
docs/Math.js.html | 4 +-
docs/Mouse.js.html | 2 +-
docs/Net.js.html | 2 +-
docs/Particles.js.html | 2 +-
docs/Phaser.Animation.html | 2 +-
docs/Phaser.AnimationManager.html | 2 +-
docs/Phaser.AnimationParser.html | 2 +-
docs/Phaser.BitmapData.html | 2 +-
docs/Phaser.BitmapText.html | 67 ++-
docs/Phaser.Button.html | 12 +-
docs/Phaser.Cache.html | 2 +-
docs/Phaser.Camera.html | 2 +-
docs/Phaser.Canvas.html | 2 +-
docs/Phaser.Circle.html | 2 +-
docs/Phaser.Color.html | 2 +-
docs/Phaser.DOMSprite.html | 2 +-
docs/Phaser.Device.html | 2 +-
docs/Phaser.Easing.Back.html | 2 +-
docs/Phaser.Easing.Bounce.html | 2 +-
docs/Phaser.Easing.Circular.html | 2 +-
docs/Phaser.Easing.Cubic.html | 2 +-
docs/Phaser.Easing.Elastic.html | 2 +-
docs/Phaser.Easing.Exponential.html | 2 +-
docs/Phaser.Easing.Linear.html | 2 +-
docs/Phaser.Easing.Quadratic.html | 2 +-
docs/Phaser.Easing.Quartic.html | 2 +-
docs/Phaser.Easing.Quintic.html | 2 +-
docs/Phaser.Easing.Sinusoidal.html | 2 +-
docs/Phaser.Easing.html | 2 +-
docs/Phaser.Events.html | 2 +-
docs/Phaser.Filter.html | 2 +-
docs/Phaser.Frame.html | 2 +-
docs/Phaser.FrameData.html | 2 +-
docs/Phaser.Game.html | 2 +-
docs/Phaser.GameObjectFactory.html | 2 +-
docs/Phaser.Gamepad.html | 144 +-----
docs/Phaser.GamepadButton.html | 2 +-
docs/Phaser.Graphics.html | 75 ++-
docs/Phaser.Group.html | 288 ++++++------
docs/Phaser.Input.html | 2 +-
docs/Phaser.InputHandler.html | 276 +++++------
docs/Phaser.Key.html | 4 +-
docs/Phaser.Keyboard.html | 2 +-
docs/Phaser.Line.html | 548 +++++++++++-----------
docs/Phaser.LinkedList.html | 2 +-
docs/Phaser.Loader.html | 206 +++++++-
docs/Phaser.LoaderParser.html | 2 +-
docs/Phaser.MSPointer.html | 2 +-
docs/Phaser.Math.html | 376 +++++++--------
docs/Phaser.Mouse.html | 2 +-
docs/Phaser.Net.html | 2 +-
docs/Phaser.Particles.Arcade.Emitter.html | 298 ++++++------
docs/Phaser.Particles.html | 2 +-
docs/Phaser.Physics.Arcade.Body.html | 70 +--
docs/Phaser.Physics.Arcade.html | 206 +-------
docs/Phaser.Physics.html | 2 +-
docs/Phaser.Plugin.html | 2 +-
docs/Phaser.PluginManager.html | 2 +-
docs/Phaser.Point.html | 284 +++++------
docs/Phaser.Pointer.html | 2 +-
docs/Phaser.Polygon.html | 2 +-
docs/Phaser.QuadTree.html | 2 +-
docs/Phaser.RandomDataGenerator.html | 2 +-
docs/Phaser.Rectangle.html | 2 +-
docs/Phaser.RenderTexture.html | 2 +-
docs/Phaser.RequestAnimationFrame.html | 2 +-
docs/Phaser.Signal.html | 2 +-
docs/Phaser.SinglePad.html | 144 +++++-
docs/Phaser.Sound.html | 2 +-
docs/Phaser.SoundManager.html | 2 +-
docs/Phaser.Sprite.html | 71 +--
docs/Phaser.Stage.html | 2 +-
docs/Phaser.StageScaleMode.html | 2 +-
docs/Phaser.State.html | 2 +-
docs/Phaser.StateManager.html | 2 +-
docs/Phaser.Text.html | 67 +--
docs/Phaser.Tile.html | 2 +-
docs/Phaser.TileSprite.html | 76 +--
docs/Phaser.Tilemap.html | 2 +-
docs/Phaser.TilemapLayer.html | 2 +-
docs/Phaser.TilemapParser.html | 2 +-
docs/Phaser.Tileset.html | 2 +-
docs/Phaser.Time.html | 2 +-
docs/Phaser.Timer.html | 2 +-
docs/Phaser.TimerEvent.html | 2 +-
docs/Phaser.Touch.html | 2 +-
docs/Phaser.Tween.html | 2 +-
docs/Phaser.TweenManager.html | 142 +++---
docs/Phaser.Utils.Debug.html | 2 +-
docs/Phaser.Utils.html | 2 +-
docs/Phaser.World.html | 438 ++++++++---------
docs/Phaser.html | 2 +-
docs/Phaser.js.html | 4 +-
docs/Plugin.js.html | 2 +-
docs/PluginManager.js.html | 2 +-
docs/Point.js.html | 4 +-
docs/Pointer.js.html | 2 +-
docs/Polygon.js.html | 2 +-
docs/QuadTree.js.html | 2 +-
docs/RandomDataGenerator.js.html | 2 +-
docs/Rectangle.js.html | 2 +-
docs/RenderTexture.js.html | 2 +-
docs/RequestAnimationFrame.js.html | 2 +-
docs/SAT.js.html | 2 +-
docs/Signal.js.html | 2 +-
docs/SignalBinding.html | 2 +-
docs/SignalBinding.js.html | 2 +-
docs/SinglePad.js.html | 4 +-
docs/Sound.js.html | 2 +-
docs/SoundManager.js.html | 2 +-
docs/Sprite.js.html | 2 +-
docs/Stage.js.html | 2 +-
docs/StageScaleMode.js.html | 2 +-
docs/State.js.html | 2 +-
docs/StateManager.js.html | 2 +-
docs/Text.js.html | 2 +-
docs/Tile.js.html | 2 +-
docs/TileSprite.js.html | 2 +-
docs/Tilemap.js.html | 2 +-
docs/TilemapLayer.js.html | 2 +-
docs/TilemapParser.js.html | 6 +-
docs/Tileset.js.html | 2 +-
docs/Time.js.html | 2 +-
docs/Timer.js.html | 2 +-
docs/TimerEvent.js.html | 2 +-
docs/Touch.js.html | 2 +-
docs/Tween.js.html | 2 +-
docs/TweenManager.js.html | 6 +-
docs/Utils.js.html | 2 +-
docs/World.js.html | 4 +-
docs/classes.list.html | 2 +-
docs/global.html | 2 +-
docs/index.html | 63 +--
docs/namespaces.list.html | 2 +-
examples/_site/examples.json | 4 +
examples/_site/js/phaser-viewer.js | 2 +-
examples/_site/view_full.html | 2 +-
examples/assets/games/golf/arrow.png | Bin 0 -> 1201 bytes
examples/assets/games/golf/ball.png | Bin 0 -> 1108 bytes
examples/assets/games/golf/course1.json | 93 ++++
examples/assets/games/golf/course1.tmx | 467 ++++++++++++++++++
examples/assets/games/golf/course2.json | 79 ++++
examples/assets/games/golf/course2.tmx | 466 ++++++++++++++++++
examples/assets/games/golf/course3.json | 79 ++++
examples/assets/games/golf/course3.tmx | 466 ++++++++++++++++++
examples/assets/games/golf/grass.png | Bin 0 -> 180900 bytes
examples/assets/games/golf/hole.png | Bin 0 -> 392 bytes
examples/assets/games/golf/tiles.png | Bin 0 -> 73490 bytes
examples/games/golf.js | 252 ++++++++++
examples/index.html | 2 +-
examples/sideview.html | 2 +-
package.json | 2 +-
src/Phaser.js | 2 +-
src/physics/arcade/ArcadePhysics.js | 36 +-
src/physics/arcade/Body.js | 3 +-
194 files changed, 4070 insertions(+), 2236 deletions(-)
create mode 100644 examples/assets/games/golf/arrow.png
create mode 100644 examples/assets/games/golf/ball.png
create mode 100644 examples/assets/games/golf/course1.json
create mode 100644 examples/assets/games/golf/course1.tmx
create mode 100644 examples/assets/games/golf/course2.json
create mode 100644 examples/assets/games/golf/course2.tmx
create mode 100644 examples/assets/games/golf/course3.json
create mode 100644 examples/assets/games/golf/course3.tmx
create mode 100644 examples/assets/games/golf/grass.png
create mode 100644 examples/assets/games/golf/hole.png
create mode 100644 examples/assets/games/golf/tiles.png
create mode 100644 examples/games/golf.js
diff --git a/README.md b/README.md
index d7764c7a..7924e7ed 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@

-Phaser 1.1.5
+Phaser 1.1.6
============
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses [Pixi.js](https://github.com/GoodBoyDigital/pixi.js/) internally for fast 2D Canvas and WebGL rendering.
-Version: 1.1.5 "Saldaea" - Released: 12th February 2014
+Version: 1.1.6 "Shienar" - Released: 24th February 2014
By Richard Davey, [Photon Storm](http://www.photonstorm.com)
@@ -23,7 +23,7 @@ By Richard Davey, [Photon Storm](http://www.photonstorm.com)
Welcome to Phaser
-----------------
-This 1.1.5 release is released to address issues in 1.1.4 that we didn't want you to have to wait too long for.
+1.1.6 is the final point release before Phaser 2.0 is released this March.
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:
@@ -46,10 +46,12 @@ Phaser is everything we ever wanted from an HTML5 game framework. It powers all

-Help Test 1.2
+Help Test 2.0
-------------
-You'll notice a new [1.2 branch](https://github.com/photonstorm/phaser/tree/1.2) on github. Please help test out 1.2 as much as you can. It features the brand new Pixi 1.5 internally as well as nearly complete integration with p2.js for all physics (dropping ArcadePhysics entirely). New versions are being pushed several times a day, so be sure to update and pull often. Don't expect to just run old games right under it yet, but please do check out the new tests, experiment and poke it around as much as you can - thank you!
+Originally we were going to release Phaser 1.2 next, however after working solidly on it for a while we realise it's such a large and API breaking/changing update that we need to ste-up the version to 2.0 to avoid any possible confusion. Progress has been rapid and we'd love for you to help test it. You'll notice a new [1.2 branch](https://github.com/photonstorm/phaser/tree/1.2) on github - we're going to keep the branch name as 1.2 as we're nearly at the end of development now, but please understand this is what will actually be the 2.0 release.
+
+Please help test out 1.2/2.0 as much as you can. It features the brand new Pixi 1.5 internally as well as nearly complete integration with p2.js for all physics (dropping ArcadePhysics entirely). New versions are being pushed several times a day, so be sure to update and pull often. Don't expect to just run old games right under it yet, but please do check out the new tests, experiment and poke it around as much as you can - thank you!
Getting Started Guides
@@ -65,24 +67,30 @@ There is also an [un-official Getting Started Guide](http://www.antonoffplus.com
Change Log
----------
-Version 1.1.5 - "Saldaea" - 12th February 2014
+Version 1.1.6 - "Shienar" - 24th February 2014
+
+New Examples:
+
+* Added lovely new little mini golf game by jpcloud.
+
+
+Updates:
+
+* Loader can now load JSON files natively (thanks lucas)
+* TilemapParser now errors if the tileset isn't the right size
+
Bug Fixes:
-* Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)
-* Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)
-* Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)
-* Added SAT.js to TypeScript definition. Now compiles properly.
-* Added missing Line.js to the Grunt file.
-* Tilemap#paste diffX and diffY equations changed, fixed issue #393 (thanks brejep)
-* Added missing return value in Body.hitLeft and hitRight, fixes issue #398 (thanks ram64).
-* Fixed easing tween example case. Issue #379 (thanks wesleywerner)
-* Removed SAT.js UMD wrapped, fixes issue #361 (thanks luizbills)
-* Removed inContact check from Body.separate.
-* Fixed Tilemap docs (wrongly pointed to Tileset methods)
+* Updated Physics.Body.applyDamping so that velocity is reduced down to zero properly (thanks caezs)
+* ArcadePhysics.collideSpriteVsTilemapLayer wouldn't call the process or collide callbacks if only 1 tile was involved in the check (thanks mandarinx)
+* Lots of documentation fixes (thanks nhowell)
+* Fix for PixiPatch so it renders masks again (thanks georgios)
+* Modified ArcadePhysics.intersects so it returns a value as well as asigns (thanks bunnyhero)
+* Lots of TypeScript defs fixes (thanks clark)
-See the full Change Log for all the 1.1.4 updates and API changes (as there were a lot of them!)
+See the full Change Log for all the 1.1.4 and 1.1.5 updates and API changes (as there were a lot of them!)
You can view the Change Log for all previous versions at https://github.com/photonstorm/phaser/changelog.md
@@ -120,11 +128,11 @@ CDNJS
Thanks to a community member Phaser is now available on [CDNJS](http://cdnjs.com). You can include the following in your html:
-`http://cdnjs.cloudflare.com/ajax/libs/phaser/1.1.4/phaser.min.js`
+`http://cdnjs.cloudflare.com/ajax/libs/phaser/1.1.5/phaser.min.js`
Or if you prefer you can leave the protocol off, so it works via http and https:
-`//cdnjs.cloudflare.com/ajax/libs/phaser/1.1.4/phaser.min.js`
+`//cdnjs.cloudflare.com/ajax/libs/phaser/1.1.5/phaser.min.js`
Requirements
@@ -231,34 +239,39 @@ Road Map
Here is what's on our road map for the coming months:
-Version 1.2 ("Shienar")
+March 2014 will see Phaser 2.0 ("Aes Sedai") Released. The new features and fixes already implemented are vast, and include:
* Update to Pixi 1.5 - this newly released build has lots of internal changes and new features we want to take advantage of.
+* Integration of the p2.js physics system and removal of the old ArcadePhysics. Full body dynamics are go!
+* Better CocoonJS packaging features (screencanvas, audio checks, etc)
+* Fixed width bitmap font support, plus enhanced Bitmap font rendering.
+* Significantly optimised render and update loops. We're seeing significant fps improvements across the board.
+* Literally hundreds of bug fixes across all core classes.
-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.
Contributing
diff --git a/changelog.md b/changelog.md
index d4338b3f..b5000dba 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,24 @@
Change Log
==========
+Version 1.1.5 - "Saldaea" - 12th February 2014
+----------------------------------------------
+
+Bug Fixes:
+
+* Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)
+* Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)
+* Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)
+* Added SAT.js to TypeScript definition. Now compiles properly.
+* Added missing Line.js to the Grunt file.
+* Tilemap#paste diffX and diffY equations changed, fixed issue #393 (thanks brejep)
+* Added missing return value in Body.hitLeft and hitRight, fixes issue #398 (thanks ram64).
+* Fixed easing tween example case. Issue #379 (thanks wesleywerner)
+* Removed SAT.js UMD wrapped, fixes issue #361 (thanks luizbills)
+* Removed inContact check from Body.separate.
+* Fixed Tilemap docs (wrongly pointed to Tileset methods)
+
+
Version 1.1.4 - "Kandor" - February 5th 2014
--------------------------------------------
diff --git a/docs/Animation.js.html b/docs/Animation.js.html
index c1e428d4..e3e90925 100644
--- a/docs/Animation.js.html
+++ b/docs/Animation.js.html
@@ -923,7 +923,7 @@ Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zer
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/AnimationManager.js.html b/docs/AnimationManager.js.html
index 252648c5..30acc533 100644
--- a/docs/AnimationManager.js.html
+++ b/docs/AnimationManager.js.html
@@ -879,7 +879,7 @@ Object.defineProperty(Phaser.AnimationManager.prototype, 'frameName', {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/AnimationParser.js.html b/docs/AnimationParser.js.html
index a3eb1ecd..738b001c 100644
--- a/docs/AnimationParser.js.html
+++ b/docs/AnimationParser.js.html
@@ -777,7 +777,7 @@ Phaser.AnimationParser = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/ArcadePhysics.js.html b/docs/ArcadePhysics.js.html
index f0ee8385..8ff44c3f 100644
--- a/docs/ArcadePhysics.js.html
+++ b/docs/ArcadePhysics.js.html
@@ -1127,14 +1127,8 @@ Phaser.Physics.Arcade.prototype = {
return;
}
- if (this._mapData.length > 1)
+ for (var i = 0; i < this._mapData.length; i++)
{
- this.separateTiles(sprite.body, this._mapData);
- }
- else
- {
- var i = 0;
-
if (this.separateTile(sprite.body, this._mapData[i]))
{
// They collided, is there a custom process callback?
@@ -1162,6 +1156,8 @@ Phaser.Physics.Arcade.prototype = {
}
}
+ return true;
+
},
/**
@@ -1248,7 +1244,7 @@ Phaser.Physics.Arcade.prototype = {
if (a.width <= 0 || a.height <= 0 || b.width <= 0 || b.height <= 0)
{
- result = false;
+ return false;
}
result = !(a.right < b.left || a.bottom < b.top || a.left > b.right || a.top > b.bottom);
@@ -1258,6 +1254,7 @@ Phaser.Physics.Arcade.prototype = {
a.removeContact(b);
}
+ return result;
},
/**
@@ -1293,32 +1290,6 @@ Phaser.Physics.Arcade.prototype = {
},
- /**
- * The core separation function to separate a physics body and an array of tiles.
- * @method Phaser.Physics.Arcade#separateTiles
- * @param {Phaser.Physics.Arcade.Body} body - The Body object to separate.
- * @param {array<Phaser.Tile>} tiles - The array of tiles to collide against.
- * @returns {boolean} Returns true if the body was separated, otherwise false.
- */
- separateTiles: function (body, tiles) {
-
- var tile;
- var result = false;
-
- for (var i = 0; i < tiles.length; i++)
- {
- tile = tiles[i];
-
- if (this.separateTile(body, tile))
- {
- result = true;
- }
- }
-
- return result;
-
- },
-
/**
* The core separation function to separate a physics body and a tile.
* @method Phaser.Physics.Arcade#separateTile
@@ -1881,7 +1852,7 @@ Phaser.Physics.Arcade.prototype.constructor = Phaser.Physics.Arcade;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/BitmapData.js.html b/docs/BitmapData.js.html
index b1890364..bf64097b 100644
--- a/docs/BitmapData.js.html
+++ b/docs/BitmapData.js.html
@@ -1570,7 +1570,7 @@ Phaser.BitmapData.prototype.de = Phaser.BitmapData.prototype.ellipse;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/BitmapText.js.html b/docs/BitmapText.js.html
index f65dd0cf..dfb11307 100644
--- a/docs/BitmapText.js.html
+++ b/docs/BitmapText.js.html
@@ -585,7 +585,7 @@ Phaser.BitmapText.prototype.update = function() {
}
/**
-* @method Phaser.Text.prototype.destroy
+* @method Phaser.BitmapText.prototype.destroy
*/
Phaser.BitmapText.prototype.destroy = function() {
@@ -683,7 +683,7 @@ Object.defineProperty(Phaser.BitmapText.prototype, 'y', {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Body.js.html b/docs/Body.js.html
index becdc5da..06cf15f1 100644
--- a/docs/Body.js.html
+++ b/docs/Body.js.html
@@ -932,8 +932,7 @@ Phaser.Physics.Arcade.Body.prototype = {
this.speed = 0;
}
- // Don't bother if speed 0
- if (this.speed > 0)
+ if (this.speed > 0 || !this.velocity.isZero())
{
this.velocity.x = Math.cos(this.angle) * this.speed;
this.velocity.y = Math.sin(this.angle) * this.speed;
@@ -1991,7 +1990,7 @@ Object.defineProperty(Phaser.Physics.Arcade.Body.prototype, "y", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Button.js.html b/docs/Button.js.html
index b5f84c51..98a41fc4 100644
--- a/docs/Button.js.html
+++ b/docs/Button.js.html
@@ -906,7 +906,7 @@ Phaser.Button.prototype.onInputOverHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
-* @method Phaser.Button.prototype.onInputOverHandler
+* @method Phaser.Button.prototype.onInputOutHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/
@@ -932,7 +932,7 @@ Phaser.Button.prototype.onInputOutHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
-* @method Phaser.Button.prototype.onInputOverHandler
+* @method Phaser.Button.prototype.onInputDownHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/
@@ -958,7 +958,7 @@ Phaser.Button.prototype.onInputDownHandler = function (sprite, pointer) {
* Internal function that handles input events.
*
* @protected
-* @method Phaser.Button.prototype.onInputOverHandler
+* @method Phaser.Button.prototype.onInputUpHandler
* @param {Phaser.Button} sprite - The Button that the event occured on.
* @param {Phaser.Pointer} pointer - The Pointer that activated the Button.
*/
@@ -1085,7 +1085,7 @@ Phaser.Button.prototype.setState = function (newState) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Cache.js.html b/docs/Cache.js.html
index a8c30c30..a24a64f0 100644
--- a/docs/Cache.js.html
+++ b/docs/Cache.js.html
@@ -1299,7 +1299,7 @@ Phaser.Cache.prototype.constructor = Phaser.Cache;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Camera.js.html b/docs/Camera.js.html
index 32e99f94..2dea53cc 100644
--- a/docs/Camera.js.html
+++ b/docs/Camera.js.html
@@ -867,7 +867,7 @@ Object.defineProperty(Phaser.Camera.prototype, "height", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Canvas.js.html b/docs/Canvas.js.html
index c2580731..9d89c8e9 100644
--- a/docs/Canvas.js.html
+++ b/docs/Canvas.js.html
@@ -736,7 +736,7 @@ Phaser.Canvas = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Circle.js.html b/docs/Circle.js.html
index 03a41edc..74b8c4e0 100644
--- a/docs/Circle.js.html
+++ b/docs/Circle.js.html
@@ -927,7 +927,7 @@ Phaser.Circle.intersectsRectangle = function (c, r) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Color.js.html b/docs/Color.js.html
index 3ee6ff8f..64a8b86b 100644
--- a/docs/Color.js.html
+++ b/docs/Color.js.html
@@ -801,7 +801,7 @@ Phaser.Color = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/DOMSprite.js.html b/docs/DOMSprite.js.html
index 9cdc454f..6c384679 100644
--- a/docs/DOMSprite.js.html
+++ b/docs/DOMSprite.js.html
@@ -538,7 +538,7 @@ Phaser.DOMSprite = function (game, element, x, y, style) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Debug.js.html b/docs/Debug.js.html
index 1bef645a..6486ea6d 100644
--- a/docs/Debug.js.html
+++ b/docs/Debug.js.html
@@ -1371,7 +1371,7 @@ Phaser.Utils.Debug.prototype.constructor = Phaser.Utils.Debug;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Device.js.html b/docs/Device.js.html
index fc02c8ae..e758f1f6 100644
--- a/docs/Device.js.html
+++ b/docs/Device.js.html
@@ -1129,7 +1129,7 @@ Phaser.Device.prototype.constructor = Phaser.Device;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Easing.js.html b/docs/Easing.js.html
index 1edec75c..a8fc839d 100644
--- a/docs/Easing.js.html
+++ b/docs/Easing.js.html
@@ -1013,7 +1013,7 @@ Phaser.Easing = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Emitter.js.html b/docs/Emitter.js.html
index b6e3f4c5..70490c51 100644
--- a/docs/Emitter.js.html
+++ b/docs/Emitter.js.html
@@ -1084,7 +1084,7 @@ Object.defineProperty(Phaser.Particles.Arcade.Emitter.prototype, "bottom", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Events.js.html b/docs/Events.js.html
index 24d1a03f..9dee65cb 100644
--- a/docs/Events.js.html
+++ b/docs/Events.js.html
@@ -532,7 +532,7 @@ Phaser.Events.prototype.constructor = Phaser.Events;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Filter.js.html b/docs/Filter.js.html
index dae1dee6..75c94d85 100644
--- a/docs/Filter.js.html
+++ b/docs/Filter.js.html
@@ -609,7 +609,7 @@ Object.defineProperty(Phaser.Filter.prototype, 'height', {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Frame.js.html b/docs/Frame.js.html
index 6b466af1..b6dd36c3 100644
--- a/docs/Frame.js.html
+++ b/docs/Frame.js.html
@@ -612,7 +612,7 @@ Phaser.Frame.prototype.constructor = Phaser.Frame;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/FrameData.js.html b/docs/FrameData.js.html
index 201a26df..bb9002a3 100644
--- a/docs/FrameData.js.html
+++ b/docs/FrameData.js.html
@@ -689,7 +689,7 @@ Object.defineProperty(Phaser.FrameData.prototype, "total", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Game.js.html b/docs/Game.js.html
index c7bb6092..e7e2e441 100644
--- a/docs/Game.js.html
+++ b/docs/Game.js.html
@@ -1194,7 +1194,7 @@ Object.defineProperty(Phaser.Game.prototype, "paused", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/GameObjectFactory.js.html b/docs/GameObjectFactory.js.html
index 7a296bf3..8d05cf6c 100644
--- a/docs/GameObjectFactory.js.html
+++ b/docs/GameObjectFactory.js.html
@@ -773,7 +773,7 @@ Phaser.GameObjectFactory.prototype.constructor = Phaser.GameObjectFactory;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Gamepad.js.html b/docs/Gamepad.js.html
index da72bcfd..57f14684 100644
--- a/docs/Gamepad.js.html
+++ b/docs/Gamepad.js.html
@@ -1028,7 +1028,7 @@ Phaser.Gamepad.XBOX360_STICK_RIGHT_Y = 3;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/GamepadButton.js.html b/docs/GamepadButton.js.html
index 83b8cda0..3a186749 100644
--- a/docs/GamepadButton.js.html
+++ b/docs/GamepadButton.js.html
@@ -625,7 +625,7 @@ Phaser.GamepadButton.prototype.constructor = Phaser.GamepadButton;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Graphics.js.html b/docs/Graphics.js.html
index 033154fc..1f6d247d 100644
--- a/docs/Graphics.js.html
+++ b/docs/Graphics.js.html
@@ -467,7 +467,7 @@ Phaser.Graphics.prototype.constructor = Phaser.Graphics;
/**
* Destroy this Graphics instance.
*
-* @method Phaser.Sprite.prototype.destroy
+* @method Phaser.Graphics.prototype.destroy
*/
Phaser.Graphics.prototype.destroy = function() {
@@ -554,7 +554,7 @@ Object.defineProperty(Phaser.Graphics.prototype, 'y', {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Group.js.html b/docs/Group.js.html
index fffa6608..71332fc4 100644
--- a/docs/Group.js.html
+++ b/docs/Group.js.html
@@ -1435,11 +1435,11 @@ Phaser.Group.prototype = {
},
/**
- * Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run.
+ * Allows you to call your own function on each existing member of this Group (where child.exists=true). You must pass the callback and context in which it will run.
* You can add as many parameters as you like, which will all be passed to the callback along with the child.
- * For example: Group.forEachAlive(causeDamage, this, 500)
+ * For example: Group.forEachExists(causeDamage, this, 500)
*
- * @method Phaser.Group#forEachAlive
+ * @method Phaser.Group#forEachExists
* @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter.
* @param {Object} callbackContext - The context in which the function should be called (usually 'this').
*/
@@ -2057,7 +2057,7 @@ Object.defineProperty(Phaser.Group.prototype, "alpha", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Input.js.html b/docs/Input.js.html
index 4f07826d..5a8074e9 100644
--- a/docs/Input.js.html
+++ b/docs/Input.js.html
@@ -1294,7 +1294,7 @@ Object.defineProperty(Phaser.Input.prototype, "worldY", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/InputHandler.js.html b/docs/InputHandler.js.html
index c8e9005c..afeb50b5 100644
--- a/docs/InputHandler.js.html
+++ b/docs/InputHandler.js.html
@@ -903,7 +903,7 @@ Phaser.InputHandler.prototype = {
/**
* Is this sprite being dragged by the mouse or not?
- * @method Phaser.InputHandler#pointerTimeOut
+ * @method Phaser.InputHandler#pointerDragged
* @param {Phaser.Pointer} pointer
* @return {number}
*/
@@ -1628,7 +1628,7 @@ Phaser.InputHandler.prototype.constructor = Phaser.InputHandler;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Key.js.html b/docs/Key.js.html
index c426804f..069a9694 100644
--- a/docs/Key.js.html
+++ b/docs/Key.js.html
@@ -587,7 +587,7 @@ Phaser.Key.prototype = {
/**
* Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given (default 250ms)
- * @method Phaser.Key#justPressed
+ * @method Phaser.Key#justReleased
* @param {number} [duration=250] - The duration below which the key is considered as being just released.
* @return {boolean} True if the key is just released otherwise false.
*/
@@ -623,7 +623,7 @@ Phaser.Key.prototype.constructor = Phaser.Key;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Keyboard.js.html b/docs/Keyboard.js.html
index a0f6c5d3..3517285c 100644
--- a/docs/Keyboard.js.html
+++ b/docs/Keyboard.js.html
@@ -947,7 +947,7 @@ Phaser.Keyboard.NUM_LOCK = 144;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Line.js.html b/docs/Line.js.html
index 2c27aeb3..d586bced 100644
--- a/docs/Line.js.html
+++ b/docs/Line.js.html
@@ -617,7 +617,7 @@ Object.defineProperty(Phaser.Line.prototype, "perpSlope", {
* Returns the intersection segment of AB and EF as a Point, or null if there is no intersection.
* Adapted from code by Keith Hair
*
-* @method Phaser.Line.intersects
+* @method Phaser.Line.intersectsPoints
* @param {Phaser.Point} a - The start of the first Line to be checked.
* @param {Phaser.Point} b - The end of the first line to be checked.
* @param {Phaser.Point} e - The start of the second Line to be checked.
@@ -714,7 +714,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/LinkedList.js.html b/docs/LinkedList.js.html
index 00d78e04..3666fe9c 100644
--- a/docs/LinkedList.js.html
+++ b/docs/LinkedList.js.html
@@ -606,7 +606,7 @@ Phaser.LinkedList.prototype.constructor = Phaser.LinkedList;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Loader.js.html b/docs/Loader.js.html
index 71b1400b..1138dbc0 100644
--- a/docs/Loader.js.html
+++ b/docs/Loader.js.html
@@ -799,6 +799,22 @@ Phaser.Loader.prototype = {
return this;
},
+
+ /**
+ * Add a custom 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.
+ * @return {Phaser.Loader} This Loader instance.
+ */
+ json: function (key, url) {
+
+ this.addToFileList('json', key, url);
+
+ return this;
+
+ },
/**
* Add a binary file to the Loader. It will be loaded via xhr with a responseType of "arraybuffer". You can specify an optional callback to process the file after load.
@@ -1257,12 +1273,12 @@ Phaser.Loader.prototype = {
}
break;
-
case 'tilemap':
+ case 'json':
this._xhr.open("GET", this.baseURL + file.url, true);
this._xhr.responseType = "text";
- if (file.format === Phaser.Tilemap.TILED_JSON)
+ if (!file.format || file.format === Phaser.Tilemap.TILED_JSON)
{
this._xhr.onload = function () {
return _this.jsonLoadComplete(_this._fileIndex);
@@ -1284,7 +1300,6 @@ Phaser.Loader.prototype = {
};
this._xhr.send();
break;
-
case 'text':
case 'script':
this._xhr.open("GET", this.baseURL + file.url, true);
@@ -1543,6 +1558,10 @@ Phaser.Loader.prototype = {
{
this.game.cache.addTilemap(file.key, file.url, data, file.format);
}
+ else if (file.type === 'json')
+ {
+ this.game.cache.addText(file.key, file.url, data);
+ }
else
{
this.game.cache.addTextureAtlas(file.key, file.url, file.data, data, file.format);
@@ -1763,7 +1782,7 @@ Phaser.Loader.prototype.constructor = Phaser.Loader;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/LoaderParser.js.html b/docs/LoaderParser.js.html
index 17a01951..90060097 100644
--- a/docs/LoaderParser.js.html
+++ b/docs/LoaderParser.js.html
@@ -532,7 +532,7 @@ Phaser.LoaderParser = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/MSPointer.js.html b/docs/MSPointer.js.html
index d8cc9893..c7f42ec2 100644
--- a/docs/MSPointer.js.html
+++ b/docs/MSPointer.js.html
@@ -620,7 +620,7 @@ Phaser.MSPointer.prototype.constructor = Phaser.MSPointer;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Math.js.html b/docs/Math.js.html
index 13551c1a..eceff946 100644
--- a/docs/Math.js.html
+++ b/docs/Math.js.html
@@ -463,7 +463,7 @@ Phaser.Math = {
/**
* a is fuzzyLessThan b if it is less than b + ε.
- * @method Phaser.Math#fuzzyEqual
+ * @method Phaser.Math#fuzzyLessThan
* @param {number} a
* @param {number} b
* @param {number} epsilon
@@ -1769,7 +1769,7 @@ Phaser.Math = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Mouse.js.html b/docs/Mouse.js.html
index fdcd270d..34bb6a29 100644
--- a/docs/Mouse.js.html
+++ b/docs/Mouse.js.html
@@ -781,7 +781,7 @@ Phaser.Mouse.prototype.constructor = Phaser.Mouse;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Net.js.html b/docs/Net.js.html
index bb7fb71a..42e2f335 100644
--- a/docs/Net.js.html
+++ b/docs/Net.js.html
@@ -616,7 +616,7 @@ Phaser.Net.prototype.constructor = Phaser.Net;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Particles.js.html b/docs/Particles.js.html
index be2290be..28e7a115 100644
--- a/docs/Particles.js.html
+++ b/docs/Particles.js.html
@@ -531,7 +531,7 @@ Phaser.Particles.prototype.constructor = Phaser.Particles;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Animation.html b/docs/Phaser.Animation.html
index b28d10d2..32707823 100644
--- a/docs/Phaser.Animation.html
+++ b/docs/Phaser.Animation.html
@@ -2926,7 +2926,7 @@ You could use this function to generate those by doing: Phaser.Animation.generat
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.AnimationManager.html b/docs/Phaser.AnimationManager.html
index e52866be..4f2521e7 100644
--- a/docs/Phaser.AnimationManager.html
+++ b/docs/Phaser.AnimationManager.html
@@ -2973,7 +2973,7 @@ The currentAnim property of the AnimationManager is automatically set to the ani
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.AnimationParser.html b/docs/Phaser.AnimationParser.html
index 735bd66a..bafe43ac 100644
--- a/docs/Phaser.AnimationParser.html
+++ b/docs/Phaser.AnimationParser.html
@@ -1494,7 +1494,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.BitmapData.html b/docs/Phaser.BitmapData.html
index f3e5ed33..7454e009 100644
--- a/docs/Phaser.BitmapData.html
+++ b/docs/Phaser.BitmapData.html
@@ -11953,7 +11953,7 @@ the stroke style and color in a single line of code like so:
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.BitmapText.html b/docs/Phaser.BitmapText.html
index c1f97e96..d39ecdbb 100644
--- a/docs/Phaser.BitmapText.html
+++ b/docs/Phaser.BitmapText.html
@@ -1828,6 +1828,71 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
+-
+
destroy()
+
+
+
+-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
update()
@@ -1921,7 +1986,7 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Button.html b/docs/Phaser.Button.html
index 3d093874..bedd3332 100644
--- a/docs/Phaser.Button.html
+++ b/docs/Phaser.Button.html
@@ -2572,7 +2572,7 @@
-
-
+
@@ -2685,7 +2685,7 @@
- Source:
@@ -2713,7 +2713,7 @@
-
-
+
@@ -2967,7 +2967,7 @@
- Source:
@@ -2995,7 +2995,7 @@
-
-
+
@@ -4525,7 +4525,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 Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:22 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Cache.html b/docs/Phaser.Cache.html
index a3249c86..6ceff80f 100644
--- a/docs/Phaser.Cache.html
+++ b/docs/Phaser.Cache.html
@@ -7066,7 +7066,7 @@ Normally you don't call this directly but instead use getImageKeys, getSoundKeys
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Camera.html b/docs/Phaser.Camera.html
index 2e2305f1..00a593af 100644
--- a/docs/Phaser.Camera.html
+++ b/docs/Phaser.Camera.html
@@ -3443,7 +3443,7 @@ without having to use game.camera.x and game.camera.y.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Canvas.html b/docs/Phaser.Canvas.html
index 096ddd32..c2c809b3 100644
--- a/docs/Phaser.Canvas.html
+++ b/docs/Phaser.Canvas.html
@@ -2638,7 +2638,7 @@ patchy on earlier browsers, especially on mobile.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:13 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Circle.html b/docs/Phaser.Circle.html
index 9e9df98f..263a5ba6 100644
--- a/docs/Phaser.Circle.html
+++ b/docs/Phaser.Circle.html
@@ -4316,7 +4316,7 @@ This method checks the radius distances between the two Circle objects to see if
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Color.html b/docs/Phaser.Color.html
index e22db5d8..f02378cf 100644
--- a/docs/Phaser.Color.html
+++ b/docs/Phaser.Color.html
@@ -3625,7 +3625,7 @@ Set the max value to restrict the maximum color used per channel.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.DOMSprite.html b/docs/Phaser.DOMSprite.html
index 75566e48..b8811cc1 100644
--- a/docs/Phaser.DOMSprite.html
+++ b/docs/Phaser.DOMSprite.html
@@ -1443,7 +1443,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Device.html b/docs/Phaser.Device.html
index 8d430f4a..ca53ecf3 100644
--- a/docs/Phaser.Device.html
+++ b/docs/Phaser.Device.html
@@ -6051,7 +6051,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:23 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Back.html b/docs/Phaser.Easing.Back.html
index a72423f3..06564642 100644
--- a/docs/Phaser.Easing.Back.html
+++ b/docs/Phaser.Easing.Back.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Bounce.html b/docs/Phaser.Easing.Bounce.html
index 50dea5a9..887465e2 100644
--- a/docs/Phaser.Easing.Bounce.html
+++ b/docs/Phaser.Easing.Bounce.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Circular.html b/docs/Phaser.Easing.Circular.html
index 792b1ac0..3285ddd7 100644
--- a/docs/Phaser.Easing.Circular.html
+++ b/docs/Phaser.Easing.Circular.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Cubic.html b/docs/Phaser.Easing.Cubic.html
index e9513bde..9ee6e805 100644
--- a/docs/Phaser.Easing.Cubic.html
+++ b/docs/Phaser.Easing.Cubic.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Elastic.html b/docs/Phaser.Easing.Elastic.html
index 69d3cdd6..6debea27 100644
--- a/docs/Phaser.Easing.Elastic.html
+++ b/docs/Phaser.Easing.Elastic.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Exponential.html b/docs/Phaser.Easing.Exponential.html
index b7109bb3..845aa4b2 100644
--- a/docs/Phaser.Easing.Exponential.html
+++ b/docs/Phaser.Easing.Exponential.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Linear.html b/docs/Phaser.Easing.Linear.html
index 75e8f309..c3a20f43 100644
--- a/docs/Phaser.Easing.Linear.html
+++ b/docs/Phaser.Easing.Linear.html
@@ -695,7 +695,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quadratic.html b/docs/Phaser.Easing.Quadratic.html
index bfa0202e..47ac6870 100644
--- a/docs/Phaser.Easing.Quadratic.html
+++ b/docs/Phaser.Easing.Quadratic.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quartic.html b/docs/Phaser.Easing.Quartic.html
index 8e5f55a5..0cecbbad 100644
--- a/docs/Phaser.Easing.Quartic.html
+++ b/docs/Phaser.Easing.Quartic.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Quintic.html b/docs/Phaser.Easing.Quintic.html
index 15c5b3f9..e3565555 100644
--- a/docs/Phaser.Easing.Quintic.html
+++ b/docs/Phaser.Easing.Quintic.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.Sinusoidal.html b/docs/Phaser.Easing.Sinusoidal.html
index 47d9814a..f524182f 100644
--- a/docs/Phaser.Easing.Sinusoidal.html
+++ b/docs/Phaser.Easing.Sinusoidal.html
@@ -977,7 +977,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Easing.html b/docs/Phaser.Easing.html
index b0ac592a..b4a0c910 100644
--- a/docs/Phaser.Easing.html
+++ b/docs/Phaser.Easing.html
@@ -587,7 +587,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:14 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:24 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Events.html b/docs/Phaser.Events.html
index 886ee7c8..86929683 100644
--- a/docs/Phaser.Events.html
+++ b/docs/Phaser.Events.html
@@ -601,7 +601,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Filter.html b/docs/Phaser.Filter.html
index 18566451..141c008c 100644
--- a/docs/Phaser.Filter.html
+++ b/docs/Phaser.Filter.html
@@ -1886,7 +1886,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:15 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Frame.html b/docs/Phaser.Frame.html
index abe3592d..2e80ad67 100644
--- a/docs/Phaser.Frame.html
+++ b/docs/Phaser.Frame.html
@@ -2962,7 +2962,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.FrameData.html b/docs/Phaser.FrameData.html
index 65490da4..0049bc81 100644
--- a/docs/Phaser.FrameData.html
+++ b/docs/Phaser.FrameData.html
@@ -1909,7 +1909,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 Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Game.html b/docs/Phaser.Game.html
index b314d979..f22f293a 100644
--- a/docs/Phaser.Game.html
+++ b/docs/Phaser.Game.html
@@ -5444,7 +5444,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:25 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.GameObjectFactory.html b/docs/Phaser.GameObjectFactory.html
index 70dfb364..ed47e76d 100644
--- a/docs/Phaser.GameObjectFactory.html
+++ b/docs/Phaser.GameObjectFactory.html
@@ -4919,7 +4919,7 @@ at set intervals, and fixes their positions and velocities accorindgly.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Gamepad.html b/docs/Phaser.Gamepad.html
index 79262e16..5fccff05 100644
--- a/docs/Phaser.Gamepad.html
+++ b/docs/Phaser.Gamepad.html
@@ -2396,148 +2396,6 @@ onConnectCallback, onDisconnectCallback, onDownCallback, onUpCallback, onAxisCal
-
-
-
-
--
-
addCallbacks(context, callbacks)
-
-
-
--
-
-
-
-
Add callbacks to the this Gamepad to handle connect/disconnect/button down/button up/axis change/float value buttons
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- context |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- The context under which the callbacks are run. |
-
-
-
-
-
-
- callbacks |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- Object that takes six different callbak methods:
-onConnectCallback, onDisconnectCallback, onDownCallback, onUpCallback, onAxisCallback, onFloatCallback |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3376,7 +3234,7 @@ This MUST be called manually before Phaser will start polling the Gamepad API.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.GamepadButton.html b/docs/Phaser.GamepadButton.html
index fcd9f8aa..c4525f50 100644
--- a/docs/Phaser.GamepadButton.html
+++ b/docs/Phaser.GamepadButton.html
@@ -2554,7 +2554,7 @@ If the button is up it holds the duration of the previous down session.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:16 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Graphics.html b/docs/Phaser.Graphics.html
index f9e33f38..37e677e3 100644
--- a/docs/Phaser.Graphics.html
+++ b/docs/Phaser.Graphics.html
@@ -729,6 +729,79 @@
+ Methods
+
+
+
+-
+
destroy()
+
+
+
+-
+
+
+
+
Destroy this Graphics instance.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -753,7 +826,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Group.html b/docs/Phaser.Group.html
index f9231acd..a5f47a43 100644
--- a/docs/Phaser.Group.html
+++ b/docs/Phaser.Group.html
@@ -5410,149 +5410,6 @@ For example: Group.forEachAlive(causeDamage, this, 500)
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- forEachAlive(callback, callbackContext)
-
-
-
-
-
-
-
-
Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run.
-You can add as many parameters as you like, which will all be passed to the callback along with the child.
-For example: Group.forEachAlive(causeDamage, this, 500)
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- callback |
-
-
-
-
-
-function
-
-
-
- |
-
-
-
-
-
- The function that will be called. Each child of the Group will be passed to it as its first parameter. |
-
-
-
-
-
-
- callbackContext |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- The context in which the function should be called (usually 'this'). |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
+
+
+
+-
+
forEachExists(callback, callbackContext)
+
+
+
+-
+
+
+
+
Allows you to call your own function on each existing member of this Group (where child.exists=true). You must pass the callback and context in which it will run.
+You can add as many parameters as you like, which will all be passed to the callback along with the child.
+For example: Group.forEachExists(causeDamage, this, 500)
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ callback |
+
+
+
+
+
+function
+
+
+
+ |
+
+
+
+
+
+ The function that will be called. Each child of the Group will be passed to it as its first parameter. |
+
+
+
+
+
+
+ callbackContext |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+ The context in which the function should be called (usually 'this'). |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -9098,7 +9098,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 Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Input.html b/docs/Phaser.Input.html
index e37c825d..1e82c6be 100644
--- a/docs/Phaser.Input.html
+++ b/docs/Phaser.Input.html
@@ -7662,7 +7662,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 Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:26 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.InputHandler.html b/docs/Phaser.InputHandler.html
index a3566d09..90501370 100644
--- a/docs/Phaser.InputHandler.html
+++ b/docs/Phaser.InputHandler.html
@@ -5255,6 +5255,143 @@ For example 16x16 as the snapX and snapY would make the sprite snap to every 16
+
+
+
+
+
+ pointerDragged(pointer) → {number}
+
+
+
+
+
+
+
+
Is this sprite being dragged by the mouse or not?
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ pointer |
+
+
+
+
+
+Phaser.Pointer
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
+
+ -
+ Type
+
+ -
+
+number
+
+
+
+
+
+
+
+
+
@@ -5814,143 +5951,6 @@ For example 16x16 as the snapX and snapY would make the sprite snap to every 16
- Returns:
-
-
-
-
-
- -
- Type
-
- -
-
-number
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- pointerTimeOut(pointer) → {number}
-
-
-
-
-
-
-
-
Is this sprite being dragged by the mouse or not?
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- pointer |
-
-
-
-
-
-Phaser.Pointer
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns:
@@ -7665,7 +7665,7 @@ This value is only set when the pointer is over this Sprite.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Key.html b/docs/Phaser.Key.html
index e157d564..23ac5b0b 100644
--- a/docs/Phaser.Key.html
+++ b/docs/Phaser.Key.html
@@ -2124,7 +2124,7 @@ If the key is up it holds the duration of the previous down session.
- justPressed(duration) → {boolean}
+ justReleased(duration) → {boolean}
@@ -2544,7 +2544,7 @@ If the key is up it holds the duration of the previous down session.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Keyboard.html b/docs/Phaser.Keyboard.html
index bdc5ff30..dc4e1bc3 100644
--- a/docs/Phaser.Keyboard.html
+++ b/docs/Phaser.Keyboard.html
@@ -2971,7 +2971,7 @@ This is called automatically by Phaser.Input and should not normally be invoked
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Line.html b/docs/Phaser.Line.html
index 9ec2a100..1df66e24 100644
--- a/docs/Phaser.Line.html
+++ b/docs/Phaser.Line.html
@@ -1358,7 +1358,279 @@
-
-
<static> intersects(a, b, e, f, asSegment, result) → {Phaser.Point}
+ <static> intersects(a, b, asSegment, result) → {Phaser.Point}
+
+
+
+-
+
+
+
+
Checks for intersection between two lines.
+If asSegment is true it will check for segment intersection.
+If asSegment is false it will check for line intersection.
+Returns the intersection segment of AB and EF as a Point, or null if there is no intersection.
+Adapted from code by Keith Hair
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+ Argument |
+
+
+
+ Default |
+
+
+ Description |
+
+
+
+
+
+
+
+
+ a |
+
+
+
+
+
+Phaser.Line
+
+
+
+ |
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+ The first Line to be checked. |
+
+
+
+
+
+
+ b |
+
+
+
+
+
+Phaser.Line
+
+
+
+ |
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+ The second Line to be checked. |
+
+
+
+
+
+
+ asSegment |
+
+
+
+
+
+boolean
+
+
+
+ |
+
+
+
+
+ <optional>
+
+
+
+
+
+ |
+
+
+
+
+
+ true
+
+ |
+
+
+ If true it will check for segment intersection, otherwise full line intersection. |
+
+
+
+
+
+
+ result |
+
+
+
+
+
+Phaser.Point
+
+
+
+ |
+
+
+
+
+ <optional>
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+ A Point object to store the result in, if not given a new one will be created. |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
The intersection segment of the two lines as a Point, or null if there is no intersection.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Phaser.Point
+
+
+
+
+
+
+
+
+
+
+
+
+
+-
+
<static> intersectsPoints(a, b, e, f, asSegment, result) → {Phaser.Point}
@@ -1669,278 +1941,6 @@ Adapted from code by Keith Hair
- Returns:
-
-
-
-
The intersection segment of the two lines as a Point, or null if there is no intersection.
-
-
-
-
-
- -
- Type
-
- -
-
-Phaser.Point
-
-
-
-
-
-
-
-
-
-
-
-
-
--
-
<static> intersects(a, b, asSegment, result) → {Phaser.Point}
-
-
-
--
-
-
-
-
Checks for intersection between two lines.
-If asSegment is true it will check for segment intersection.
-If asSegment is false it will check for line intersection.
-Returns the intersection segment of AB and EF as a Point, or null if there is no intersection.
-Adapted from code by Keith Hair
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
- Argument |
-
-
-
- Default |
-
-
- Description |
-
-
-
-
-
-
-
-
- a |
-
-
-
-
-
-Phaser.Line
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
- The first Line to be checked. |
-
-
-
-
-
-
- b |
-
-
-
-
-
-Phaser.Line
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
- The second Line to be checked. |
-
-
-
-
-
-
- asSegment |
-
-
-
-
-
-boolean
-
-
-
- |
-
-
-
-
- <optional>
-
-
-
-
-
- |
-
-
-
-
-
- true
-
- |
-
-
- If true it will check for segment intersection, otherwise full line intersection. |
-
-
-
-
-
-
- result |
-
-
-
-
-
-Phaser.Point
-
-
-
- |
-
-
-
-
- <optional>
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
- A Point object to store the result in, if not given a new one will be created. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns:
@@ -3067,7 +3067,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 Wed Feb 12 2014 15:32:17 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.LinkedList.html b/docs/Phaser.LinkedList.html
index d619138e..d7bd1604 100644
--- a/docs/Phaser.LinkedList.html
+++ b/docs/Phaser.LinkedList.html
@@ -1463,7 +1463,7 @@ The function must exist on the member.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Loader.html b/docs/Phaser.Loader.html
index 067003e4..5bfb2158 100644
--- a/docs/Phaser.Loader.html
+++ b/docs/Phaser.Loader.html
@@ -2436,7 +2436,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
- Source:
@@ -2684,7 +2684,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
- Source:
@@ -2932,7 +2932,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
- Source:
@@ -3180,7 +3180,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
- Source:
@@ -3370,7 +3370,7 @@ If you do so the Sprite's width or height will be cropped based on the percentag
- Source:
@@ -3620,7 +3620,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -3868,7 +3868,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -4173,7 +4173,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -4291,7 +4291,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -4409,7 +4409,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -4527,7 +4527,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -4920,6 +4920,170 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
+ Returns:
+
+
+
+
This Loader instance.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Phaser.Loader
+
+
+
+
+
+
+
+
+
+
+
+
+
+-
+
+
+
+
+-
+
+
+
+
Add a custom JSON file to the Loader.
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ key |
+
+
+
+
+
+string
+
+
+
+ |
+
+
+
+
+
+ Unique asset key of the json file. |
+
+
+
+
+
+
+ url |
+
+
+
+
+
+string
+
+
+
+ |
+
+
+
+
+
+ URL of the json file. |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Returns:
@@ -5040,7 +5204,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -5109,7 +5273,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -5250,7 +5414,7 @@ WARNING: If you specify a callback, the file data will be set to whatever your c
- Source:
@@ -6201,7 +6365,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -6293,7 +6457,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -6771,7 +6935,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -6863,7 +7027,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -6955,7 +7119,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -7096,7 +7260,7 @@ This allows you to easily make loading bars for games.
- Source:
@@ -7147,7 +7311,7 @@ This allows you to easily make loading bars for games.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.LoaderParser.html b/docs/Phaser.LoaderParser.html
index cd53fd43..f6550b6c 100644
--- a/docs/Phaser.LoaderParser.html
+++ b/docs/Phaser.LoaderParser.html
@@ -695,7 +695,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:27 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.MSPointer.html b/docs/Phaser.MSPointer.html
index cf6ba3be..b78b7b91 100644
--- a/docs/Phaser.MSPointer.html
+++ b/docs/Phaser.MSPointer.html
@@ -1413,7 +1413,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 Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Math.html b/docs/Phaser.Math.html
index e967d242..3d13970c 100644
--- a/docs/Phaser.Math.html
+++ b/docs/Phaser.Math.html
@@ -4157,193 +4157,6 @@ Clamp value to range <a, b>
-
-
-
-
--
-
fuzzyEqual(a, b, epsilon) → {boolean}
-
-
-
--
-
-
-
-
a is fuzzyLessThan b if it is less than b + ε.
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- a |
-
-
-
-
-
-number
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
- b |
-
-
-
-
-
-number
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
- epsilon |
-
-
-
-
-
-number
-
-
-
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
-
-
-
- -
- Type
-
- -
-
-boolean
-
-
-
-
-
-
-
-
-
@@ -4691,6 +4504,193 @@ Clamp value to range <a, b>
+
+
+
+
+-
+
fuzzyLessThan(a, b, epsilon) → {boolean}
+
+
+
+-
+
+
+
+
a is fuzzyLessThan b if it is less than b + ε.
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ a |
+
+
+
+
+
+number
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+ b |
+
+
+
+
+
+number
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+ epsilon |
+
+
+
+
+
+number
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
+
+
+
+ -
+ Type
+
+ -
+
+boolean
+
+
+
+
+
+
+
+
+
@@ -11191,7 +11191,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 Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Mouse.html b/docs/Phaser.Mouse.html
index a638db79..d3503e68 100644
--- a/docs/Phaser.Mouse.html
+++ b/docs/Phaser.Mouse.html
@@ -2730,7 +2730,7 @@ If the browser successfully enters a locked state the event Phaser.Mouse.pointer
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Net.html b/docs/Phaser.Net.html
index f6ac926c..95210b48 100644
--- a/docs/Phaser.Net.html
+++ b/docs/Phaser.Net.html
@@ -1357,7 +1357,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 Wed Feb 12 2014 15:32:18 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Particles.Arcade.Emitter.html b/docs/Phaser.Particles.Arcade.Emitter.html
index b5c9a86b..2c769cac 100644
--- a/docs/Phaser.Particles.Arcade.Emitter.html
+++ b/docs/Phaser.Particles.Arcade.Emitter.html
@@ -8042,154 +8042,6 @@ For example: Group.forEachAlive(causeDamage, this, 500)
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- forEachAlive(callback, callbackContext)
-
-
-
-
-
-
-
-
Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run.
-You can add as many parameters as you like, which will all be passed to the callback along with the child.
-For example: Group.forEachAlive(causeDamage, this, 500)
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- callback |
-
-
-
-
-
-function
-
-
-
- |
-
-
-
-
-
- The function that will be called. Each child of the Group will be passed to it as its first parameter. |
-
-
-
-
-
-
- callbackContext |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- The context in which the function should be called (usually 'this'). |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited From:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
+
+
+
+-
+
forEachExists(callback, callbackContext)
+
+
+
+-
+
+
+
+
Allows you to call your own function on each existing member of this Group (where child.exists=true). You must pass the callback and context in which it will run.
+You can add as many parameters as you like, which will all be passed to the callback along with the child.
+For example: Group.forEachExists(causeDamage, this, 500)
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ callback |
+
+
+
+
+
+function
+
+
+
+ |
+
+
+
+
+
+ The function that will be called. Each child of the Group will be passed to it as its first parameter. |
+
+
+
+
+
+
+ callbackContext |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+ The context in which the function should be called (usually 'this'). |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13290,7 +13290,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 Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Particles.html b/docs/Phaser.Particles.html
index 2e7b79ff..a45b5cab 100644
--- a/docs/Phaser.Particles.html
+++ b/docs/Phaser.Particles.html
@@ -1246,7 +1246,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Arcade.Body.html b/docs/Phaser.Physics.Arcade.Body.html
index 62bceca5..8ee268bb 100644
--- a/docs/Phaser.Physics.Arcade.Body.html
+++ b/docs/Phaser.Physics.Arcade.Body.html
@@ -5536,7 +5536,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -5638,7 +5638,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -5752,7 +5752,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -5870,7 +5870,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6100,7 +6100,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6192,7 +6192,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6284,7 +6284,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6376,7 +6376,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6494,7 +6494,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6563,7 +6563,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6655,7 +6655,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6819,7 +6819,7 @@ touching.up = true means the collision happened to the top of this Body for exam
- Source:
@@ -6964,7 +6964,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7109,7 +7109,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7254,7 +7254,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7399,7 +7399,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7517,7 +7517,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7609,7 +7609,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7678,7 +7678,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7770,7 +7770,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -7934,7 +7934,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -8026,7 +8026,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -8213,7 +8213,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -8377,7 +8377,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -8495,7 +8495,7 @@ If it returns false this will be skipped and must be handled manually.
- Source:
@@ -8657,7 +8657,7 @@ Also resets the forces to defaults: gravity, bounce, minVelocity,maxVelocity, an
- Source:
@@ -8799,7 +8799,7 @@ It assumes they have already been overlap checked and the resulting overlap is s
- Source:
@@ -9035,7 +9035,7 @@ The Circle will be centered on the center of the Sprite by default, but can be a
- Source:
@@ -9167,7 +9167,7 @@ Use Body.translate and/or Body.offset to re-position the polygon from the Sprite
- Source:
@@ -9397,7 +9397,7 @@ If you don't specify any parameters it will be sized to match the parent Sprites
- Source:
@@ -9538,7 +9538,7 @@ If you don't specify any parameters it will be sized to match the parent Sprites
- Source:
@@ -9656,7 +9656,7 @@ If you don't specify any parameters it will be sized to match the parent Sprites
- Source:
@@ -9797,7 +9797,7 @@ If you don't specify any parameters it will be sized to match the parent Sprites
- Source:
@@ -9939,7 +9939,7 @@ See also the Body.offset property.
- Source:
@@ -10128,7 +10128,7 @@ See also the Body.offset property.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.Arcade.html b/docs/Phaser.Physics.Arcade.html
index 57499ae0..897479ad 100644
--- a/docs/Phaser.Physics.Arcade.html
+++ b/docs/Phaser.Physics.Arcade.html
@@ -2054,7 +2054,7 @@ Note: The display object doesn't stop moving once it reaches the destination coo
- Source:
@@ -2368,7 +2368,7 @@ Note: The display object doesn't stop moving once it reaches the destination coo
- Source:
@@ -2715,7 +2715,7 @@ Note: The display object doesn't stop moving once it reaches the destination coo
- Source:
@@ -2952,7 +2952,7 @@ One way to use this is: accelerationFromRotation(rotation, 200, sprite.accelerat
- Source:
@@ -3118,7 +3118,7 @@ One way to use this is: accelerationFromRotation(rotation, 200, sprite.accelerat
- Source:
@@ -3302,7 +3302,7 @@ One way to use this is: accelerationFromRotation(rotation, 200, sprite.accelerat
- Source:
@@ -3489,7 +3489,7 @@ One way to use this is: accelerationFromRotation(rotation, 200, sprite.accelerat
- Source:
@@ -4127,7 +4127,7 @@ The collideCallback is an optional function that is only called if two sprites c
- Source:
@@ -4313,7 +4313,7 @@ If you need to calculate from the center of a display object instead use the met
- Source:
@@ -4502,7 +4502,7 @@ If you need to calculate from the center of a display object instead use the met
- Source:
@@ -4667,7 +4667,7 @@ Objects must expose properties: width, height, left, right, top, bottom.
- Source:
@@ -4942,7 +4942,7 @@ Note: Doesn't take into account acceleration, maxVelocity or drag (if you've set
- Source:
@@ -5218,7 +5218,7 @@ Note: The display object doesn't stop moving once it reaches the destination coo
- Source:
@@ -5528,7 +5528,7 @@ Note: Doesn't take into account acceleration, maxVelocity or drag (if you've set
- Source:
@@ -5994,7 +5994,7 @@ The second parameter can be an array of objects, of differing types.
- Source:
@@ -6262,7 +6262,7 @@ The second parameter can be an array of objects, of differing types.
- Source:
@@ -6426,171 +6426,7 @@ The second parameter can be an array of objects, of differing types.
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
Returns true if the body was separated, otherwise false.
-
-
-
-
-
- -
- Type
-
- -
-
-boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- separateTiles(body, tiles) → {boolean}
-
-
-
-
-
-
-
-
The core separation function to separate a physics body and an array of tiles.
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- body |
-
-
-
-
-
-Phaser.Physics.Arcade.Body
-
-
-
- |
-
-
-
-
-
- The Body object to separate. |
-
-
-
-
-
-
- tiles |
-
-
-
-
-
-array.<Phaser.Tile>
-
-
-
- |
-
-
-
-
-
- The array of tiles to collide against. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
@@ -7407,7 +7243,7 @@ Objects must expose properties: width, height, left, right, top, bottom.
- Source:
@@ -7762,7 +7598,7 @@ One way to use this is: velocityFromAngle(angle, 200, sprite.velocity) which wil
- Source:
@@ -8001,7 +7837,7 @@ One way to use this is: velocityFromRotation(rotation, 200, sprite.velocity) whi
- Source:
@@ -8077,7 +7913,7 @@ One way to use this is: velocityFromRotation(rotation, 200, sprite.velocity) whi
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Physics.html b/docs/Phaser.Physics.html
index 1a318a22..b879dfd7 100644
--- a/docs/Phaser.Physics.html
+++ b/docs/Phaser.Physics.html
@@ -553,7 +553,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:28 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Plugin.html b/docs/Phaser.Plugin.html
index 94427fd5..c9f7ba1b 100644
--- a/docs/Phaser.Plugin.html
+++ b/docs/Phaser.Plugin.html
@@ -1920,7 +1920,7 @@ It is only called if active is set to true.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.PluginManager.html b/docs/Phaser.PluginManager.html
index 1622584d..f23cefef 100644
--- a/docs/Phaser.PluginManager.html
+++ b/docs/Phaser.PluginManager.html
@@ -1585,7 +1585,7 @@ It only calls plugins who have active=true.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:19 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Point.html b/docs/Phaser.Point.html
index b631784d..941ade8d 100644
--- a/docs/Phaser.Point.html
+++ b/docs/Phaser.Point.html
@@ -3975,147 +3975,6 @@
-
-
-
-
-
- getMagnitude(magnitude) → {Phaser.Point}
-
-
-
-
-
-
-
-
Alters the length of the vector without changing the direction
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- magnitude |
-
-
-
-
-
-number
-
-
-
- |
-
-
-
-
-
- the desired magnitude of the resulting vector |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Returns:
-
-
-
-
the modified original vector
-
-
-
-
-
- -
- Type
-
- -
-
-Phaser.Point
-
-
-
-
-
-
-
-
-
@@ -4833,6 +4692,147 @@
+
+
+
+
+
+ setMagnitude(magnitude) → {Phaser.Point}
+
+
+
+
+
+
+
+
Alters the length of the vector without changing the direction
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ magnitude |
+
+
+
+
+
+number
+
+
+
+ |
+
+
+
+
+
+ the desired magnitude of the resulting vector |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
the modified original vector
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Phaser.Point
+
+
+
+
+
+
+
+
+
@@ -5281,7 +5281,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Pointer.html b/docs/Phaser.Pointer.html
index 141b46aa..befccff8 100644
--- a/docs/Phaser.Pointer.html
+++ b/docs/Phaser.Pointer.html
@@ -4368,7 +4368,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 Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Polygon.html b/docs/Phaser.Polygon.html
index 63dac9fd..e17293e5 100644
--- a/docs/Phaser.Polygon.html
+++ b/docs/Phaser.Polygon.html
@@ -713,7 +713,7 @@ arguments passed can be flat x,y values e.g. new PIXI.Polygon(x,y, x,y, x,
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:29 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.QuadTree.html b/docs/Phaser.QuadTree.html
index ac6c6a12..3f104116 100644
--- a/docs/Phaser.QuadTree.html
+++ b/docs/Phaser.QuadTree.html
@@ -1634,7 +1634,7 @@ Split the node into 4 subnodes
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.RandomDataGenerator.html b/docs/Phaser.RandomDataGenerator.html
index 6c5188d8..1dd00ab0 100644
--- a/docs/Phaser.RandomDataGenerator.html
+++ b/docs/Phaser.RandomDataGenerator.html
@@ -2051,7 +2051,7 @@ Random number generator from
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Rectangle.html b/docs/Phaser.Rectangle.html
index 733b03d7..cf4919e6 100644
--- a/docs/Phaser.Rectangle.html
+++ b/docs/Phaser.Rectangle.html
@@ -7392,7 +7392,7 @@ This method checks the x, y, width, and height properties of the Rectangles.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.RenderTexture.html b/docs/Phaser.RenderTexture.html
index d2b7d6d9..bf615406 100644
--- a/docs/Phaser.RenderTexture.html
+++ b/docs/Phaser.RenderTexture.html
@@ -1994,7 +1994,7 @@ If the display object is a Group or has children it will draw all children as we
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.RequestAnimationFrame.html b/docs/Phaser.RequestAnimationFrame.html
index 2c6128ef..daa51a13 100644
--- a/docs/Phaser.RequestAnimationFrame.html
+++ b/docs/Phaser.RequestAnimationFrame.html
@@ -1317,7 +1317,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:20 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Signal.html b/docs/Phaser.Signal.html
index 7fd45304..0db29126 100644
--- a/docs/Phaser.Signal.html
+++ b/docs/Phaser.Signal.html
@@ -2302,7 +2302,7 @@ IMPORTANT: should be called only during signal dispatch, calling it before/after
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.SinglePad.html b/docs/Phaser.SinglePad.html
index 54735128..f05073d8 100644
--- a/docs/Phaser.SinglePad.html
+++ b/docs/Phaser.SinglePad.html
@@ -2079,6 +2079,148 @@ The Key object can then be polled, have events attached to it, etc.
+
+
+
+
+
+ addCallbacks(context, callbacks)
+
+
+
+
+
+
+
+
Add callbacks to the this Gamepad to handle connect/disconnect/button down/button up/axis change/float value buttons
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ context |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+ The context under which the callbacks are run. |
+
+
+
+
+
+
+ callbacks |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+ Object that takes six different callbak methods:
+onConnectCallback, onDisconnectCallback, onDownCallback, onUpCallback, onAxisCallback, onFloatCallback |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3789,7 +3931,7 @@ analog trigger buttons on the XBOX 360 controller
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Sound.html b/docs/Phaser.Sound.html
index 108aa58a..87606d57 100644
--- a/docs/Phaser.Sound.html
+++ b/docs/Phaser.Sound.html
@@ -5813,7 +5813,7 @@ This allows you to bundle multiple sounds together into a single audio file and
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:30 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.SoundManager.html b/docs/Phaser.SoundManager.html
index 1602f767..bcb9f211 100644
--- a/docs/Phaser.SoundManager.html
+++ b/docs/Phaser.SoundManager.html
@@ -2871,7 +2871,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 Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Sprite.html b/docs/Phaser.Sprite.html
index 8665b71a..98d5f49a 100644
--- a/docs/Phaser.Sprite.html
+++ b/docs/Phaser.Sprite.html
@@ -6045,75 +6045,6 @@ If health is then taken below zero Sprite.kill is called.
-
-
-
-
-
- destroy()
-
-
-
-
-
-
-
-
Destroy this Graphics instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -7955,7 +7886,7 @@ It will dispatch the onRevived event, you can listen to Sprite.events.onRevived
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Stage.html b/docs/Phaser.Stage.html
index 475c1228..7cce68bc 100644
--- a/docs/Phaser.Stage.html
+++ b/docs/Phaser.Stage.html
@@ -1944,7 +1944,7 @@ focus handling, game resizing, scaling and the pause, boot and orientation scree
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.StageScaleMode.html b/docs/Phaser.StageScaleMode.html
index fc33400f..004bcbb1 100644
--- a/docs/Phaser.StageScaleMode.html
+++ b/docs/Phaser.StageScaleMode.html
@@ -4918,7 +4918,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 Wed Feb 12 2014 15:32:21 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.State.html b/docs/Phaser.State.html
index 2af10025..a2b20d8e 100644
--- a/docs/Phaser.State.html
+++ b/docs/Phaser.State.html
@@ -2582,7 +2582,7 @@ If you need to use the loader, you may need to use them here.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.StateManager.html b/docs/Phaser.StateManager.html
index c0dfa54c..95d6ff58 100644
--- a/docs/Phaser.StateManager.html
+++ b/docs/Phaser.StateManager.html
@@ -3268,7 +3268,7 @@ State must exist and have at least one callback function registered..
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Text.html b/docs/Phaser.Text.html
index 89174689..6ea997a6 100644
--- a/docs/Phaser.Text.html
+++ b/docs/Phaser.Text.html
@@ -2387,71 +2387,6 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- destroy()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
gameobjects/Text.js, line 176
@@ -2574,7 +2509,7 @@ If you wish to work in radians instead of degrees use the property Sprite.rotati
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tile.html b/docs/Phaser.Tile.html
index 4dcba3a7..53ed6311 100644
--- a/docs/Phaser.Tile.html
+++ b/docs/Phaser.Tile.html
@@ -3979,7 +3979,7 @@ The callback must true true for collision processing to take place.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:31 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TileSprite.html b/docs/Phaser.TileSprite.html
index 8e065c04..79a15e10 100644
--- a/docs/Phaser.TileSprite.html
+++ b/docs/Phaser.TileSprite.html
@@ -6600,80 +6600,6 @@ If health is then taken below zero Sprite.kill is called.
-
-
-
-
--
-
destroy()
-
-
-
--
-
-
-
-
Destroy this Graphics instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited From:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -8590,7 +8516,7 @@ It will dispatch the onRevived event, you can listen to Sprite.events.onRevived
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tilemap.html b/docs/Phaser.Tilemap.html
index 51864888..95b714b1 100644
--- a/docs/Phaser.Tilemap.html
+++ b/docs/Phaser.Tilemap.html
@@ -10291,7 +10291,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 Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TilemapLayer.html b/docs/Phaser.TilemapLayer.html
index ad9bb3d8..58764975 100644
--- a/docs/Phaser.TilemapLayer.html
+++ b/docs/Phaser.TilemapLayer.html
@@ -4614,7 +4614,7 @@ half as quickly as the 'normal' camera-locked layers do)
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TilemapParser.html b/docs/Phaser.TilemapParser.html
index 322389a6..b30636dd 100644
--- a/docs/Phaser.TilemapParser.html
+++ b/docs/Phaser.TilemapParser.html
@@ -1457,7 +1457,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:22 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tileset.html b/docs/Phaser.Tileset.html
index 71893fa2..db4cdff3 100644
--- a/docs/Phaser.Tileset.html
+++ b/docs/Phaser.Tileset.html
@@ -2616,7 +2616,7 @@ You should not normally instantiate this class directly.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Time.html b/docs/Phaser.Time.html
index 0e6d2557..6934304c 100644
--- a/docs/Phaser.Time.html
+++ b/docs/Phaser.Time.html
@@ -3096,7 +3096,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Timer.html b/docs/Phaser.Timer.html
index 3e878384..9711df1c 100644
--- a/docs/Phaser.Timer.html
+++ b/docs/Phaser.Timer.html
@@ -3760,7 +3760,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 Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:32 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TimerEvent.html b/docs/Phaser.TimerEvent.html
index 3227c74f..a99b463f 100644
--- a/docs/Phaser.TimerEvent.html
+++ b/docs/Phaser.TimerEvent.html
@@ -1685,7 +1685,7 @@ It can call a specific callback, passing in optional parameters.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Touch.html b/docs/Phaser.Touch.html
index f4e03a48..8752525a 100644
--- a/docs/Phaser.Touch.html
+++ b/docs/Phaser.Touch.html
@@ -2655,7 +2655,7 @@ Doesn't appear to be supported by most browsers on a canvas element yet.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Tween.html b/docs/Phaser.Tween.html
index e32693d2..6bc7ba29 100644
--- a/docs/Phaser.Tween.html
+++ b/docs/Phaser.Tween.html
@@ -3144,7 +3144,7 @@ Used in combination with repeat you can create endless loops.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.TweenManager.html b/docs/Phaser.TweenManager.html
index c788503a..71c68e3a 100644
--- a/docs/Phaser.TweenManager.html
+++ b/docs/Phaser.TweenManager.html
@@ -1203,6 +1203,75 @@ Please see https://github.com/sole/tw
+
+
+
+
+
+ pauseAll()
+
+
+
+
+
+
+
+
Pauses all currently running tweens.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1403,7 +1472,7 @@ Please see https://github.com/sole/tw
-
Pauses all currently paused tweens.
+
Resumes all currently paused tweens.
@@ -1551,75 +1620,6 @@ Please see https://github.com/sole/tw
-
-
-
-
-
- update()
-
-
-
-
-
-
-
-
Pauses all currently running tweens.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1648,7 +1648,7 @@ Please see https://github.com/sole/tw
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:23 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Utils.Debug.html b/docs/Phaser.Utils.Debug.html
index a6f2dc12..c720d200 100644
--- a/docs/Phaser.Utils.Debug.html
+++ b/docs/Phaser.Utils.Debug.html
@@ -6870,7 +6870,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 Wed Feb 12 2014 15:32:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.Utils.html b/docs/Phaser.Utils.html
index de772d78..d14a18a1 100644
--- a/docs/Phaser.Utils.html
+++ b/docs/Phaser.Utils.html
@@ -1273,7 +1273,7 @@ dir = 1 (left), 2 (right), 3 (both)
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.World.html b/docs/Phaser.World.html
index 5d33b67c..d17523b2 100644
--- a/docs/Phaser.World.html
+++ b/docs/Phaser.World.html
@@ -6070,154 +6070,6 @@ For example: Group.forEachAlive(causeDamage, this, 500)
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- forEachAlive(callback, callbackContext)
-
-
-
-
-
-
-
-
Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run.
-You can add as many parameters as you like, which will all be passed to the callback along with the child.
-For example: Group.forEachAlive(causeDamage, this, 500)
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- | Name |
-
-
- Type |
-
-
-
-
-
- Description |
-
-
-
-
-
-
-
-
- callback |
-
-
-
-
-
-function
-
-
-
- |
-
-
-
-
-
- The function that will be called. Each child of the Group will be passed to it as its first parameter. |
-
-
-
-
-
-
- callbackContext |
-
-
-
-
-
-Object
-
-
-
- |
-
-
-
-
-
- The context in which the function should be called (usually 'this'). |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited From:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
+
+
+
+-
+
forEachExists(callback, callbackContext)
+
+
+
+-
+
+
+
+
Allows you to call your own function on each existing member of this Group (where child.exists=true). You must pass the callback and context in which it will run.
+You can add as many parameters as you like, which will all be passed to the callback along with the child.
+For example: Group.forEachExists(causeDamage, this, 500)
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ | Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ callback |
+
+
+
+
+
+function
+
+
+
+ |
+
+
+
+
+
+ The function that will be called. Each child of the Group will be passed to it as its first parameter. |
+
+
+
+
+
+
+ callbackContext |
+
+
+
+
+
+Object
+
+
+
+ |
+
+
+
+
+
+ The context in which the function should be called (usually 'this'). |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Inherited From:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7843,6 +7843,76 @@ The only exception to this is if the camera is following an object, in which cas
+
+
+
+
+
+ preUpdate()
+
+
+
+
+
+
+
+
This is called automatically after the plugins preUpdate and before the State.update.
+Most objects have preUpdate methods and it's where initial movement, drawing and calculations are done.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -10104,76 +10174,6 @@ You cannot swap a child with itself, or swap un-parented children, doing so will
-
-
-
-
-
- update()
-
-
-
-
-
-
-
-
This is called automatically after the plugins preUpdate and before the State.update.
-Most objects have preUpdate methods and it's where initial movement, drawing and calculations are done.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -10272,7 +10272,7 @@ Most objects won't have an update method set unless explicitly given one.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.html b/docs/Phaser.html
index 1f432772..07e7abef 100644
--- a/docs/Phaser.html
+++ b/docs/Phaser.html
@@ -738,7 +738,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Phaser.js.html b/docs/Phaser.js.html
index 1c166445..59ce0913 100644
--- a/docs/Phaser.js.html
+++ b/docs/Phaser.js.html
@@ -441,7 +441,7 @@
var Phaser = Phaser || {
VERSION: '<%= version %>',
- DEV_VERSION: '1.1.5',
+ DEV_VERSION: '1.1.6',
GAMES: [],
AUTO: 0,
@@ -502,7 +502,7 @@ PIXI.InteractionManager = function (dummy) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Plugin.js.html b/docs/Plugin.js.html
index 8e3b09a8..68311ad1 100644
--- a/docs/Plugin.js.html
+++ b/docs/Plugin.js.html
@@ -573,7 +573,7 @@ Phaser.Plugin.prototype.constructor = Phaser.Plugin;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/PluginManager.js.html b/docs/PluginManager.js.html
index 42c45cfe..899017f0 100644
--- a/docs/PluginManager.js.html
+++ b/docs/PluginManager.js.html
@@ -749,7 +749,7 @@ Phaser.PluginManager.prototype.constructor = Phaser.PluginManager;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Point.js.html b/docs/Point.js.html
index 1a3a3bea..da27a184 100644
--- a/docs/Point.js.html
+++ b/docs/Point.js.html
@@ -674,7 +674,7 @@ Phaser.Point.prototype = {
/**
* Alters the length of the vector without changing the direction
- * @method Phaser.Point#getMagnitude
+ * @method Phaser.Point#setMagnitude
* @param {number} magnitude the desired magnitude of the resulting vector
* @return {Phaser.Point} the modified original vector
*/
@@ -882,7 +882,7 @@ Phaser.Point.rotate = function (a, x, y, angle, asDegrees, distance) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Pointer.js.html b/docs/Pointer.js.html
index 82010aee..37b67879 100644
--- a/docs/Pointer.js.html
+++ b/docs/Pointer.js.html
@@ -1094,7 +1094,7 @@ Object.defineProperty(Phaser.Pointer.prototype, "worldY", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Polygon.js.html b/docs/Polygon.js.html
index 20edf759..cab47055 100644
--- a/docs/Polygon.js.html
+++ b/docs/Polygon.js.html
@@ -479,7 +479,7 @@ Phaser.Polygon.prototype.constructor = Phaser.Polygon;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/QuadTree.js.html b/docs/QuadTree.js.html
index d9293ac9..a5d2516a 100644
--- a/docs/QuadTree.js.html
+++ b/docs/QuadTree.js.html
@@ -737,7 +737,7 @@ Phaser.QuadTree.prototype.constructor = Phaser.QuadTree;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/RandomDataGenerator.js.html b/docs/RandomDataGenerator.js.html
index 0840675b..faa5a94d 100644
--- a/docs/RandomDataGenerator.js.html
+++ b/docs/RandomDataGenerator.js.html
@@ -699,7 +699,7 @@ Phaser.RandomDataGenerator.prototype.constructor = Phaser.RandomDataGenerator;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Rectangle.js.html b/docs/Rectangle.js.html
index 3cb911c0..41783fd1 100644
--- a/docs/Rectangle.js.html
+++ b/docs/Rectangle.js.html
@@ -1140,7 +1140,7 @@ Phaser.Rectangle.union = function (a, b, out) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/RenderTexture.js.html b/docs/RenderTexture.js.html
index fb3a4ce9..275bdaf4 100644
--- a/docs/RenderTexture.js.html
+++ b/docs/RenderTexture.js.html
@@ -782,7 +782,7 @@ Phaser.RenderTexture.prototype.renderCanvas = function(displayObject, position,
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/RequestAnimationFrame.js.html b/docs/RequestAnimationFrame.js.html
index 5f65a26d..5384baee 100644
--- a/docs/RequestAnimationFrame.js.html
+++ b/docs/RequestAnimationFrame.js.html
@@ -609,7 +609,7 @@ Phaser.RequestAnimationFrame.prototype.constructor = Phaser.RequestAnimationFram
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SAT.js.html b/docs/SAT.js.html
index 46317e91..4591e7f8 100644
--- a/docs/SAT.js.html
+++ b/docs/SAT.js.html
@@ -1286,7 +1286,7 @@ var SAT = (function () {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Signal.js.html b/docs/Signal.js.html
index f4600ae6..a68e619e 100644
--- a/docs/Signal.js.html
+++ b/docs/Signal.js.html
@@ -754,7 +754,7 @@ Phaser.Signal.prototype.constructor = Phaser.Signal;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SignalBinding.html b/docs/SignalBinding.html
index 9723992f..5e88e207 100644
--- a/docs/SignalBinding.html
+++ b/docs/SignalBinding.html
@@ -747,7 +747,7 @@ Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes.
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:24 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:33 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SignalBinding.js.html b/docs/SignalBinding.js.html
index b4f72e8d..d2e69858 100644
--- a/docs/SignalBinding.js.html
+++ b/docs/SignalBinding.js.html
@@ -614,7 +614,7 @@ Phaser.SignalBinding.prototype.constructor = Phaser.SignalBinding;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SinglePad.js.html b/docs/SinglePad.js.html
index 77fe5c4f..123fc1ad 100644
--- a/docs/SinglePad.js.html
+++ b/docs/SinglePad.js.html
@@ -548,7 +548,7 @@ Phaser.SinglePad.prototype = {
/**
* Add callbacks to the this Gamepad to handle connect/disconnect/button down/button up/axis change/float value buttons
- * @method Phaser.Gamepad#addCallbacks
+ * @method Phaser.SinglePad#addCallbacks
* @param {Object} context - The context under which the callbacks are run.
* @param {Object} callbacks - Object that takes six different callbak methods:
* onConnectCallback, onDisconnectCallback, onDownCallback, onUpCallback, onAxisCallback, onFloatCallback
@@ -1019,7 +1019,7 @@ Object.defineProperty(Phaser.SinglePad.prototype, "index", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Sound.js.html b/docs/Sound.js.html
index 960c623b..f997374c 100644
--- a/docs/Sound.js.html
+++ b/docs/Sound.js.html
@@ -1275,7 +1275,7 @@ Object.defineProperty(Phaser.Sound.prototype, "volume", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/SoundManager.js.html b/docs/SoundManager.js.html
index a2100b5d..e8a092c5 100644
--- a/docs/SoundManager.js.html
+++ b/docs/SoundManager.js.html
@@ -932,7 +932,7 @@ Object.defineProperty(Phaser.SoundManager.prototype, "volume", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Sprite.js.html b/docs/Sprite.js.html
index 98cf72ba..a1ac487a 100644
--- a/docs/Sprite.js.html
+++ b/docs/Sprite.js.html
@@ -1662,7 +1662,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "inputEnabled", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Stage.js.html b/docs/Stage.js.html
index 4b29e7f7..e2bfee41 100644
--- a/docs/Stage.js.html
+++ b/docs/Stage.js.html
@@ -720,7 +720,7 @@ Object.defineProperty(Phaser.Stage.prototype, "backgroundColor", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/StageScaleMode.js.html b/docs/StageScaleMode.js.html
index 615eb702..f8bed5ef 100644
--- a/docs/StageScaleMode.js.html
+++ b/docs/StageScaleMode.js.html
@@ -1226,7 +1226,7 @@ Object.defineProperty(Phaser.StageScaleMode.prototype, "isLandscape", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/State.js.html b/docs/State.js.html
index faa13d05..938cac47 100644
--- a/docs/State.js.html
+++ b/docs/State.js.html
@@ -621,7 +621,7 @@ Phaser.State.prototype.constructor = Phaser.State;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/StateManager.js.html b/docs/StateManager.js.html
index 235ff79c..e857f09a 100644
--- a/docs/StateManager.js.html
+++ b/docs/StateManager.js.html
@@ -978,7 +978,7 @@ Phaser.StateManager.prototype.constructor = Phaser.StateManager;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Text.js.html b/docs/Text.js.html
index 065254e7..05658bcf 100644
--- a/docs/Text.js.html
+++ b/docs/Text.js.html
@@ -751,7 +751,7 @@ Object.defineProperty(Phaser.Text.prototype, 'font', {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tile.js.html b/docs/Tile.js.html
index 8ad9a00e..a344b890 100644
--- a/docs/Tile.js.html
+++ b/docs/Tile.js.html
@@ -743,7 +743,7 @@ Object.defineProperty(Phaser.Tile.prototype, "bottom", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TileSprite.js.html b/docs/TileSprite.js.html
index 0537b842..90629be2 100644
--- a/docs/TileSprite.js.html
+++ b/docs/TileSprite.js.html
@@ -608,7 +608,7 @@ Object.defineProperty(Phaser.TileSprite.prototype, "inputEnabled", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tilemap.js.html b/docs/Tilemap.js.html
index a12cc10e..8b9dd532 100644
--- a/docs/Tilemap.js.html
+++ b/docs/Tilemap.js.html
@@ -1725,7 +1725,7 @@ Phaser.Tilemap.prototype.constructor = Phaser.Tilemap;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TilemapLayer.js.html b/docs/TilemapLayer.js.html
index 2307e425..ab8d23f7 100644
--- a/docs/TilemapLayer.js.html
+++ b/docs/TilemapLayer.js.html
@@ -1330,7 +1330,7 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "collisionHeight", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TilemapParser.js.html b/docs/TilemapParser.js.html
index 450a3bef..c052dd9a 100644
--- a/docs/TilemapParser.js.html
+++ b/docs/TilemapParser.js.html
@@ -750,6 +750,10 @@ Phaser.TilemapParser = {
newSet.columns = (set.imagewidth - set.margin) / (set.tilewidth + set.spacing);
newSet.total = newSet.rows * newSet.columns;
+ if (newSet.rows % 1 !== 0 || newSet.columns % 1 !== 0) {
+ console.warn('TileSet image dimensions do not match expected dimensions.');
+ }
+
tilesets.push(newSet);
}
@@ -828,7 +832,7 @@ Phaser.TilemapParser = {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tileset.js.html b/docs/Tileset.js.html
index 7e7a550f..b950a984 100644
--- a/docs/Tileset.js.html
+++ b/docs/Tileset.js.html
@@ -606,7 +606,7 @@ Phaser.Tileset.prototype.constructor = Phaser.Tileset;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Time.js.html b/docs/Time.js.html
index 3c99a4be..c68bc5f3 100644
--- a/docs/Time.js.html
+++ b/docs/Time.js.html
@@ -797,7 +797,7 @@ Phaser.Time.prototype.constructor = Phaser.Time;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Timer.js.html b/docs/Timer.js.html
index 4a99097c..d433a0b5 100644
--- a/docs/Timer.js.html
+++ b/docs/Timer.js.html
@@ -959,7 +959,7 @@ Phaser.Timer.prototype.constructor = Phaser.Timer;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TimerEvent.js.html b/docs/TimerEvent.js.html
index 4dce42e1..796468be 100644
--- a/docs/TimerEvent.js.html
+++ b/docs/TimerEvent.js.html
@@ -523,7 +523,7 @@ Phaser.TimerEvent.prototype.constructor = Phaser.TimerEvent;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Touch.js.html b/docs/Touch.js.html
index 2090e268..a2631a08 100644
--- a/docs/Touch.js.html
+++ b/docs/Touch.js.html
@@ -821,7 +821,7 @@ Phaser.Touch.prototype.constructor = Phaser.Touch;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Tween.js.html b/docs/Tween.js.html
index ba464c91..949ca3e0 100644
--- a/docs/Tween.js.html
+++ b/docs/Tween.js.html
@@ -1029,7 +1029,7 @@ Phaser.Tween.prototype.constructor = Phaser.Tween;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/TweenManager.js.html b/docs/TweenManager.js.html
index e00c738f..57d1e477 100644
--- a/docs/TweenManager.js.html
+++ b/docs/TweenManager.js.html
@@ -605,7 +605,7 @@ Phaser.TweenManager.prototype = {
/**
* Pauses all currently running tweens.
*
- * @method Phaser.TweenManager#update
+ * @method Phaser.TweenManager#pauseAll
*/
pauseAll: function () {
@@ -617,7 +617,7 @@ Phaser.TweenManager.prototype = {
},
/**
- * Pauses all currently paused tweens.
+ * Resumes all currently paused tweens.
*
* @method Phaser.TweenManager#resumeAll
*/
@@ -654,7 +654,7 @@ Phaser.TweenManager.prototype.constructor = Phaser.TweenManager;
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/Utils.js.html b/docs/Utils.js.html
index c1f2c9d4..f22a5f1d 100644
--- a/docs/Utils.js.html
+++ b/docs/Utils.js.html
@@ -703,7 +703,7 @@ if (!Array.isArray) {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:11 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/World.js.html b/docs/World.js.html
index 558e9499..ee4d46e7 100644
--- a/docs/World.js.html
+++ b/docs/World.js.html
@@ -495,7 +495,7 @@ Phaser.World.prototype.boot = function () {
* This is called automatically after the plugins preUpdate and before the State.update.
* Most objects have preUpdate methods and it's where initial movement, drawing and calculations are done.
*
-* @method Phaser.World#update
+* @method Phaser.World#preUpdate
*/
Phaser.World.prototype.preUpdate = function () {
@@ -794,7 +794,7 @@ Object.defineProperty(Phaser.World.prototype, "visible", {
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/classes.list.html b/docs/classes.list.html
index 92f451b8..5f247443 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -788,7 +788,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/global.html b/docs/global.html
index 68efab9d..d2fb4277 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -567,7 +567,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index 9f99be60..bc6ebf0e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -450,9 +450,9 @@

-Phaser 1.1.5
+Phaser 1.1.6
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses Pixi.js internally for fast 2D Canvas and WebGL rendering.
-Version: 1.1.5 "Saldaea" - Released: 12th February 2014
+Version: 1.1.6 "Shienar" - Released: 24th February 2014
By Richard Davey, Photon Storm
- View the Official Website
@@ -464,7 +464,7 @@
Subscribe to our new Phaser Newsletter. We'll email you when new versions are released as well as send you our regular Phaser game making magazine.

Welcome to Phaser
-This 1.1.5 release is released to address issues in 1.1.4 that we didn't want you to have to wait too long for.
+1.1.6 is the final point release before Phaser 2.0 is released this March.
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.
@@ -479,29 +479,30 @@
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.

-Help Test 1.2
-You'll notice a new 1.2 branch on github. Please help test out 1.2 as much as you can. It features the brand new Pixi 1.5 internally as well as nearly complete integration with p2.js for all physics (dropping ArcadePhysics entirely). New versions are being pushed several times a day, so be sure to update and pull often. Don't expect to just run old games right under it yet, but please do check out the new tests, experiment and poke it around as much as you can - thank you!
+Help Test 2.0
+Originally we were going to release Phaser 1.2 next, however after working solidly on it for a while we realise it's such a large and API breaking/changing update that we need to ste-up the version to 2.0 to avoid any possible confusion. Progress has been rapid and we'd love for you to help test it. You'll notice a new 1.2 branch on github - we're going to keep the branch name as 1.2 as we're nearly at the end of development now, but please understand this is what will actually be the 2.0 release.
+Please help test out 1.2/2.0 as much as you can. It features the brand new Pixi 1.5 internally as well as nearly complete integration with p2.js for all physics (dropping ArcadePhysics entirely). New versions are being pushed several times a day, so be sure to update and pull often. Don't expect to just run old games right under it yet, but please do check out the new tests, experiment and poke it around as much as you can - thank you!
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.
There is also an un-official Getting Started Guide.
Change Log
-Version 1.1.5 - "Saldaea" - 12th February 2014
+Version 1.1.6 - "Shienar" - 24th February 2014
+Updates:
+
+- Loader can now load JSON files natively (thanks lucas)
+- TilemapParser now errors if the tileset isn't the right size
+
Bug Fixes:
-- Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)
-- Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)
-- Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)
-- Added SAT.js to TypeScript definition. Now compiles properly.
-- Added missing Line.js to the Grunt file.
-- Tilemap#paste diffX and diffY equations changed, fixed issue #393 (thanks brejep)
-- Added missing return value in Body.hitLeft and hitRight, fixes issue #398 (thanks ram64).
-- Fixed easing tween example case. Issue #379 (thanks wesleywerner)
-- Removed SAT.js UMD wrapped, fixes issue #361 (thanks luizbills)
-- Removed inContact check from Body.separate.
-- Fixed Tilemap docs (wrongly pointed to Tileset methods)
+- Updated Physics.Body.applyDamping so that velocity is reduced down to zero properly (thanks caezs)
+- ArcadePhysics.collideSpriteVsTilemapLayer wouldn't call the process or collide callbacks if only 1 tile was involved in the check (thanks mandarinx)
+- Lots of documentation fixes (thanks nhowell)
+- Fix for PixiPatch so it renders masks again (thanks georgios)
+- Modified ArcadePhysics.intersects so it returns a value as well as asigns (thanks bunnyhero)
+- Lots of TypeScript defs fixes (thanks clark)
-See the full Change Log for all the 1.1.4 updates and API changes (as there were a lot of them!)
+See the full Change Log for all the 1.1.4 and 1.1.5 updates and API changes (as there were a lot of them!)
You can view the Change Log for all previous versions at https://github.com/photonstorm/phaser/changelog.md
How to Build
We provide a fully compiled version of Phaser in the build directory, in both plain and minified formats.
@@ -516,9 +517,9 @@

CDNJS
Thanks to a community member Phaser is now available on CDNJS. You can include the following in your html:
-http://cdnjs.cloudflare.com/ajax/libs/phaser/1.1.4/phaser.min.js
+http://cdnjs.cloudflare.com/ajax/libs/phaser/1.1.5/phaser.min.js
Or if you prefer you can leave the protocol off, so it works via http and https:
-//cdnjs.cloudflare.com/ajax/libs/phaser/1.1.4/phaser.min.js
+//cdnjs.cloudflare.com/ajax/libs/phaser/1.1.5/phaser.min.js
Requirements
Games created with Phaser require a modern web browser that supports the canvas tag. This includes Internet Explorer 9+, Firefox, Chrome, Safari and Opera. It also works on mobile web browsers including stock Android 2.x browser and above and iOS5 Mobile Safari and above.
For developing with Phaser you can use either a plain-vanilla JavaScript approach or TypeScript using the provided TypeScript definitions file. We made no assumptions about how you like to code your games, and were careful not to impose any form of class/inheritance/structure upon you.
@@ -568,34 +569,38 @@ Sprites also have full Input support: click them, touch them, drag them around,

Road Map
Here is what's on our road map for the coming months:
-Version 1.2 ("Shienar")
+March 2014 will see Phaser 2.0 ("Aes Sedai") Released. The new features and fixes already implemented are vast, and include:
- Update to Pixi 1.5 - this newly released build has lots of internal changes and new features we want to take advantage of.
+- Integration of the p2.js physics system and removal of the old ArcadePhysics. Full body dynamics are go!
+- Better CocoonJS packaging features (screencanvas, audio checks, etc)
+- Fixed width bitmap font support, plus enhanced Bitmap font rendering.
+- Significantly optimised render and update loops. We're seeing significant fps improvements across the board.
+- Literally hundreds of bug fixes across all core classes.
-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.
Contributing
We now have a full Contributors Guide which goes into the process in more detail, but here are the headlines:
@@ -637,7 +642,7 @@ Sprites also have full Input support: click them, touch them, drag them around,
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html
index 056b19a4..6b06bb22 100644
--- a/docs/namespaces.list.html
+++ b/docs/namespaces.list.html
@@ -788,7 +788,7 @@
Documentation generated by JSDoc 3.3.0-dev
- on Wed Feb 12 2014 15:32:12 GMT-0000 (GMT) using the DocStrap template.
+ on Mon Feb 24 2014 01:12:21 GMT-0000 (GMT) using the DocStrap template.
diff --git a/examples/_site/examples.json b/examples/_site/examples.json
index dcd475f9..cac9cac7 100644
--- a/examples/_site/examples.json
+++ b/examples/_site/examples.json
@@ -270,6 +270,10 @@
"file": "breakout.js",
"title": "breakout"
},
+ {
+ "file": "golf.js",
+ "title": "golf"
+ },
{
"file": "invaders.js",
"title": "invaders"
diff --git a/examples/_site/js/phaser-viewer.js b/examples/_site/js/phaser-viewer.js
index 41ded9c0..92912d62 100644
--- a/examples/_site/js/phaser-viewer.js
+++ b/examples/_site/js/phaser-viewer.js
@@ -58,7 +58,7 @@ $(document).ready(function(){
.done(function(data) {
- if (data.version !== '1.1.5')
+ if (data.version !== '1.1.6')
{
$("#upgrade").append(data.version);
$("#upgrade").css('display', 'inline-block');
diff --git a/examples/_site/view_full.html b/examples/_site/view_full.html
index 9b179e50..d651cb28 100644
--- a/examples/_site/view_full.html
+++ b/examples/_site/view_full.html
@@ -163,7 +163,7 @@