Richard Davey
d7d69947fb
Merge pull request #1198 from codevinsky/feature/point-parse
...
Phaser.Point.parse
2014-09-23 22:15:51 +01:00
Richard Davey
01fd3df434
AudioSprite support is now built into the Loader and SoundManager. AudioSprites are like sprite sheets, only they consist of a selection of audio files and markers in a json configuration. You can find more details at https://github.com/tonistiigi/audiosprite (thanks @codevinsky #1205 )
...
Fixed AudioSprite jsdoc, casing and formatting issues.
2014-09-23 22:15:09 +01:00
Richard Davey
be07fb33ec
Merge pull request #1205 from codevinsky/feature/audiosprite
...
Phaser.AudioSprite
2014-09-23 21:45:30 +01:00
Jeremy Dowell
7cce1366f2
jshint cleanup
2014-09-23 10:25:49 -05:00
Jeremy Dowell
dd0d1729ad
Phaser.AudioSprite
...
AudioSprite implementation for phaser.
Loads audio sprites based on the file format created with: https://github.com/tonistiigi/audiosprite
2014-09-23 10:21:29 -05:00
Richard Davey
ba7f33d386
docgen updates
2014-09-22 11:32:33 +01:00
Richard Davey
c6231ddd38
jsdoc fix
2014-09-22 11:32:26 +01:00
Richard Davey
bc0f174f29
More rigid corruption checks for the pixi docs.
2014-09-21 11:04:43 +01:00
Richard Davey
eb72e4c581
Fixing jsdoc headers.
2014-09-21 10:28:04 +01:00
Richard Davey
7528783a43
Fixed missing Pixi from class names and extends.
2014-09-21 10:24:21 +01:00
Richard Davey
0114f66af5
Split the methods and properties into public, protected and private sub-arrays.
2014-09-21 10:12:18 +01:00
Richard Davey
0c4d4cd7e1
readme update.
2014-09-19 15:22:33 +01:00
Richard Davey
49ddf46ef3
Merge pull request #1199 from codevinsky/feature/rectangle-aabb
...
Rectangle.aabb
2014-09-19 13:50:14 +01:00
photonstorm
5980a3bdc6
Loader can now natively load XML files via load.xml
. Once the XML file has loaded it is parsed via either DOMParser or ActiveXObject and then added to the Cache, where it can be retrieved via cache.getXML(key)
.
...
Cache now has support for XML files stored in their own container. You can add them with `cache.addXML` (typically this is done from the Loader automatically for you) and get them with `cache.getXML(key)`. There is also `cache.checkXMLKey(key)`, `cache.checkKeys` and `cache.removeXML(key)`.
2014-09-19 13:45:04 +01:00
Jeremy Dowell
ab9da10999
added: Rectangle.aabb
...
* Calculates the Axis Aligned Bounding Box (or aabb) from an array of points.
*
* @method Phaser.Rectangle#aabb
* @param {Phaser.Point[]} points - The array of one or more points.
* @param {Phaser.Rectangle} [out] - Optional Rectangle to store the value in, if not supplied a new Rectangle object will be created.
* @return {Phaser.Rectangle} The new Rectangle object.
* @static
2014-09-18 15:16:33 -05:00
photonstorm
5a58d6be38
Refining the processor.
2014-09-18 20:33:01 +01:00
photonstorm
090e550964
Now parses the whole codebase without throwing any errors :)
2014-09-18 17:02:51 +01:00
photonstorm
e945defb86
Mass export ability added to docgen.
2014-09-18 16:58:47 +01:00
photonstorm
d18f523d93
jsdoc fixes.
2014-09-18 16:58:25 +01:00
photonstorm
597b828d7a
StateManager.boot would call start on a State twice if it was added to the game and started before the DOM load had completed. This didn't cause an error but was duplicating function calls needlessly.
2014-09-18 05:14:44 +01:00
photonstorm
426b43cc9f
Removed console.log calls.
2014-09-18 05:12:35 +01:00
photonstorm
d68ed61999
If you called StateManager.start from within a states init
method which also had a preload
method it would fail to start the next State.
2014-09-18 05:11:58 +01:00
photonstorm
756561920f
Group.ignoreDestroy boolean will bail out early from any call to Group.destroy
. Handy if you need to create a global Group that persists across States.
2014-09-18 05:11:48 +01:00
Jeremy Dowell
29dd09fdf6
added: Phaser.Point.parse
...
static method that will take an object of any kind and return a new point based on the x & y properties of that object.
optional x & y property names can also be supplied
2014-09-17 14:23:28 -05:00
photonstorm
60888f675c
json export working. Tidied up for Methods and Parameters.
2014-09-17 01:08:43 +01:00
Richard Davey
40efc325b0
Updated index browser and viewer to handle any depth nesting.
2014-09-16 22:28:51 +01:00
photonstorm
e5eea56c9b
jsdoc updates.
2014-09-16 19:44:04 +01:00
photonstorm
20551f9129
Lots of jsdocs fixes ready for the new doc generator.
2014-09-16 17:35:08 +01:00
Richard Davey
2ea27517ab
docgen processor now handling class definitions.
2014-09-16 12:20:14 +01:00
Richard Davey
cf363a56f1
Cache.removeImage has a new parameter: removeFromPixi
which is true
by default. It will remove the image from the Pixi BaseTextureCache as well as from the Phaser Cache. Set to false if you don't want the Pixi cache touched.
2014-09-16 12:20:03 +01:00
Richard Davey
d6c0942e20
Now parsing Pixi jsdoc format.
2014-09-16 02:07:21 +01:00
Richard Davey
f73bf702d5
docgen updates and preparing to parse Pixi source.
2014-09-16 00:28:25 +01:00
Richard Davey
15a0ae6b4f
jsdoc fix
2014-09-16 00:28:09 +01:00
photonstorm
908e9d6895
Lots of docgen updates to get the doc browser and json export ready.
2014-09-15 20:19:22 +01:00
photonstorm
57295d7ac8
jsdoc fixes.
2014-09-15 13:51:17 +01:00
photonstorm
fc6b7dd36c
StateManager.unlink will null all State-level Phaser properties, such as game
, add
, etc. Useful if you never need to return to the State again.
2014-09-15 13:19:01 +01:00
Richard Davey
19b45b1c59
Updating the docs browser.
2014-09-15 12:50:46 +01:00
photonstorm
60acef2f97
If Game Objects change their frame, such as with an animated Sprite, and the change goes from a previously trimmed frame to a non-trimmed (full size) one, then the previous trim values were still left active, causing it to glitch (thanks stupot)
2014-09-11 20:56:01 +01:00
Jeremy Dowell
83007878fc
updated: Group.filter documentation
2014-09-11 13:09:52 -05:00
Jeremy Dowell
298622f65f
added: Group.filter
...
takes a predicate function and passes child, index, and the entire child array to it.
return an ArrayList containing all children that the predicate returns true for.
2014-09-11 13:06:38 -05:00
Richard Davey
bb8da110b1
Merge pull request #1184 from clark-stevenson/dev
...
Should bring phaser upto date with master, P2 has been added as it is co...
2014-09-11 12:02:44 +01:00
photonstorm
e5cac96302
Preparing for 2.1.2
2014-09-11 12:02:20 +01:00
photonstorm
5b922be56e
Version 2.1.1. of Phaser is an emergency point release. It addresses a potential race condition that could happen in States that tried to change state from the create
method but had an empty preloader or pre-cached assets.
2014-09-11 10:38:40 +01:00
photonstorm
a1a0861070
readme update + screen shot
2014-09-11 10:38:38 +01:00
Clark Stevenson
4b311944d7
Should bring phaser upto date with master, P2 has been added as it is cool to have access to the p2 data.
2014-09-11 00:02:23 +01:00
Richard Davey
5d5c8870f9
Merge pull request #1180 from FedeOmoto/dev
...
Unnecessary "if" in Line.fromSprite method
2014-09-09 22:11:26 +01:00
Federico Omoto
0bdb0bdde5
Unnecessary "if" in Line.fromSprite method
2014-09-09 17:24:36 -03:00
Richard Davey
e320ace5a8
Merge pull request #1179 from FedeOmoto/dev
...
Documentation fixes
2014-09-09 21:11:27 +01:00
Federico Omoto
471c2f444b
Documentation fixes
2014-09-09 16:22:59 -03:00
photonstorm
b801630d78
Preparing for 2.1.1 development.
2014-09-09 16:50:23 +01:00