Commit graph

4511 commits

Author SHA1 Message Date
Richard Davey
187d947c29 Merge pull request #1806 from joshtepei/patch-2
Fixed a comma error in README.md
2015-05-30 20:02:59 +01:00
Richard Davey
86f155da80 Merge pull request #1804 from asyncanup/patch-1
Fixed spelling error in 'rotation'
2015-05-30 20:02:09 +01:00
Richard Davey
d0386ae493 Merge pull request #1827 from jamesgroat/dev
Fix cache.getKeys() definition.
2015-05-30 20:01:16 +01:00
jamesgroat
0e493a7102 Fix cache.getKeys() definition. 2015-05-29 19:20:10 -07:00
Ryan Sadwick
4c1413e9dd fixed the responsive example - spriteMiddle was not defined and using game instead of this.game was breaking the entire example 2015-05-29 11:10:19 -04:00
photonstorm
1438248388 Group.add and Group.addAt will only create a Physics Body on the child if it doesn't already have one. This is a change from 2.3 where it would replace the physics body property with the new body, but this could lead to garbage build-up over time, so you should now properly destroy the body before changing it. 2015-05-29 00:59:23 +01:00
photonstorm
3ad60b815b Docs update. 2015-05-27 18:07:38 +01:00
photonstorm
5ef9b0a5e6 TilemapParser.parseTiledJSON would ignore 'falsey' properties set on Objects in Tiled JSON tilemaps, such as x: 0 or visible: false. These properties are now accurately copied over to the destination map data (thanks @MaksJS #1818) 2015-05-27 18:07:33 +01:00
photonstorm
fcb2dc8306 Added snapPoint value (currently unused) 2015-05-26 20:01:57 +01:00
photonstorm
83b533557d Docs update. 2015-05-26 20:01:57 +01:00
photonstorm
bdcb15fcde Tween.to and Tween.from can now accept null as the ease parameter value. If null it will use the default tween, as per the documentation (thanks @nkovacs #1817) 2015-05-26 20:01:57 +01:00
Richard Davey
7195f5f2e3 Merge pull request #1816 from clark-stevenson/dev
Handful of updates to the definition files.
2015-05-26 16:53:13 +01:00
Clark Stevenson
aff5d1d2c5 Handful of updates to the definition files.
#1812 is fixed. (Note the comments are generated and not updated)
#1803 was fixed previously at some point it seems and required no work
2015-05-25 17:09:22 +01:00
Casey Clyde
e935df328d Sprite vs Tilemap can now check for overlap, without trying to separate 2015-05-23 22:39:12 -07:00
photonstorm
621e51d949 Docs update about the lovely 48000 Hz music bug. 2015-05-23 03:37:04 +01:00
photonstorm
18ae9268aa Scope fix. 2015-05-22 15:14:49 +01:00
photonstorm
f2636a155a Readme update. 2015-05-22 15:10:27 +01:00
photonstorm
c2f7520c7a StateManager.onStateChange is a new signal which is dispatched whenever the State changes from one to another. The callback you specify is sent two parameters: the string based key of the new state, and the second parameter is the string based key of the old / previous state. 2015-05-22 15:10:20 +01:00
photonstorm
5054344668 The LoadTexture component has a new property: customRender which is checked for in the Core postUpdate to know when to render custom elements like Videos. 2015-05-21 15:24:39 +01:00
photonstorm
312c31b778 jsdoc and formatting fixes. 2015-05-21 11:53:18 +01:00
Rafael Barbosa Lopes
727f8e0fec Updating the example assetPack.json file.
This commit brings up some needed updates to the `assetPack.json` sample file,
including:

-   The addition of the missing sample entries for the following file types,
    added in recent versions of Phaser:

    -   a XML file;
    -   an Audiosprite file;
    -   a Video file entries.

-   Fix the example Bitmap Font entry.
2015-05-20 21:23:39 -03:00
Josh Tepei
6bf44a859c Fixed a grammar error in README.md
Added a comma for further clarity on line 54 of README.md
2015-05-20 14:23:33 -07:00
Richard Davey
89d107263b Merge pull request #1805 from luckylooke/patch-1
Copypaste typo
2015-05-20 15:14:24 +01:00
luckylooke
1939efd1c1 Copypaste typo
`Point.setTo(2, 2)` to `Point.set(2, 2)`
2015-05-20 14:21:35 +02:00
Anup Bishnoi
ac92e3c58e Fixed spelling error in 'rotation' 2015-05-19 22:48:03 -04:00
photonstorm
5a91f85b1f Typo. 2015-05-19 16:57:36 +01:00
Richard Davey
4431e72711 Merge pull request #1770 from jeremyosborne/distsq
Fix for #1761: [Feature Request] Add Math.distanceSq().
2015-05-19 16:14:57 +01:00
photonstorm
ab594e930b Readme update. 2015-05-19 16:09:19 +01:00
photonstorm
913ccaf22c Fixed the Pixelate filter, changing the dimensions uniform to a 2f and removing un-needed vecs from the fragment src. Also fixed the size getter and added sizeX and sizeY getters/setters (#1780) 2015-05-19 16:09:19 +01:00
Richard Davey
8db0bfa377 Merge pull request #1785 from rblopes/fix-1782
Assign the default value of 60 FPS to the optional `frameRate` parameter, when ommited.
2015-05-19 15:04:45 +01:00
photonstorm
c3d123641b Readme update. 2015-05-19 14:53:38 +01:00
photonstorm
1e2940a6a4 PIXI.Graphics was calling Polygon.flatten in its drawShape call, causing the original Polygon object to internally change. It now takes a clone of the polygon and only flattens that (#1779) 2015-05-19 14:53:32 +01:00
photonstorm
76accf4354 New build of Phaser 2.4. 2015-05-19 14:21:37 +01:00
photonstorm
d2bcb3562b If transformUrl is given an invalid URL it returns false. 2015-05-19 14:19:24 +01:00
photonstorm
734fbfea9e The mp4Video check includes h264 now. 2015-05-19 14:18:57 +01:00
photonstorm
0f6dd1a1a6 Device.firefoxVersion is a new property that contains the major Firefox version number if running within Firefox, otherwise zero. 2015-05-18 14:51:25 +01:00
photonstorm
7c9db8f632 jshint fixes. 2015-05-18 13:36:22 +01:00
photonstorm
5c69328ce4 New build. 2015-05-18 12:55:48 +01:00
photonstorm
bd44a25212 Readme updates. 2015-05-18 12:55:48 +01:00
photonstorm
2c775cf03d FrameData.getFrameIndexes when called with a partial array (such as creating an animation out of a set of frames) would return the indexes array padded out with 'undefined' entries, causing short animations to never fully play through. 2015-05-18 12:55:48 +01:00
photonstorm
2e6af02f86 AnimationManager.add no longer sets the currentFrame property when just adding an Animation to a Sprite. The currentFrame property is now only set when the animation begins playing. This avoids the Sprite.frame and Sprite.frameName properties from returning incorrect results after adding (but not playing) an Animation. It also allows very short animations (2 frames) to play correctly without needing to loop. 2015-05-18 12:55:48 +01:00
Richard Davey
42dfe21ad7 Merge pull request #1799 from gionatan7/patch-2
Fix Rope.js
2015-05-17 01:33:13 +01:00
Gionatan Iasio
1bbb3bb903 Fix Rope.js
Rope creation key parameter didn't work, because PIXI.Rope requires a texture, not string.
Changed it like Sprite.
2015-05-16 19:59:12 +02:00
photonstorm
f78a4cb337 jshint fixes. 2015-05-15 01:35:20 +01:00
photonstorm
f725ac48ae Removed all the debug information. 2015-05-15 01:27:42 +01:00
photonstorm
f2e2039009 Invalidate the texture while we wait for the new one to load (crashes IE11 otherwise) 2015-05-15 01:17:44 +01:00
photonstorm
ce27da362b Stacks of fixes to the video stream support to get it working in Firefox. 2015-05-14 23:23:38 +01:00
photonstorm
4fa99f52c5 jsdocs fix and video loader fallback for Firefox. 2015-05-14 23:23:22 +01:00
photonstorm
4cd374691a Wrapped the decodeAudio in a try/catch. 2015-05-14 23:21:19 +01:00
photonstorm
b91387c9a6 Extended the getUserMedia and window.URL check. 2015-05-14 23:20:52 +01:00