Commit graph

2276 commits

Author SHA1 Message Date
photonstorm
0ff2eb2fb9 jshint fixes 2014-07-09 11:36:45 +01:00
photonstorm
494c33a9f4 Rectangle.randomX will return a random value located within the horizontal bounds of the Rectangle.
Rectangle.randomY will return a random value located within the vertical bounds of the Rectangle.
2014-07-09 11:34:18 +01:00
photonstorm
003403c832 Color.getWebRGB will now accept either an Object or numeric color value. 2014-07-09 11:15:24 +01:00
photonstorm
2293b64c94 Removing debug / console.log output. 2014-07-09 05:49:13 +01:00
photonstorm
ffd51479e4 Crop test 2014-07-09 05:43:15 +01:00
photonstorm
4fc26e4a26 Updated to the latest version of Pixi. 2014-07-09 05:40:50 +01:00
photonstorm
dd88f2a6e2 Fixed BitmapText parser. 2014-07-09 05:39:49 +01:00
photonstorm
a70a938505 docs fix 2014-07-09 05:38:59 +01:00
photonstorm
7b8b1bf30f New documentation generator. 2014-07-09 05:38:19 +01:00
photonstorm
8e7623e8a9 Updates TS defs (fix #982) 2014-07-08 13:01:43 +01:00
photonstorm
ca8c6e16e9 README updates. 2014-07-08 12:59:36 +01:00
photonstorm
3ff8b9f999 On-going crop tests. 2014-07-08 12:59:36 +01:00
photonstorm
f1bcd1d00b Added Phaser.Utils.mixin. 2014-07-08 12:59:36 +01:00
photonstorm
0b2bea3564 Removed hasOwnProperty check from Tween.from because it breaks on extended or inherited Game Objects. 2014-07-08 12:59:36 +01:00
photonstorm
2a106473b4 Added more detail to the Tween docs. 2014-07-08 12:59:36 +01:00
photonstorm
2d676b00b4 Working through crop issues. 2014-07-08 12:59:36 +01:00
photonstorm
77d5be1d8e When adding a new Animation to a Sprite it would incorrectly reset the current Sprite frame to the first frame of the animation sequence, it is now left un-touched until you call play on the animation. 2014-07-08 12:59:35 +01:00
Richard Davey
65a7e1b762 Merge pull request #978 from alvinsight/dev
Added game.add.plugin
2014-07-07 21:28:18 +01:00
Richard Davey
f3e61fcff9 Merge pull request #979 from clark-stevenson/dev
Update phaser.d.ts
2014-07-07 21:27:31 +01:00
Clark Stevenson
a644443f6e Update TS Defs 2014-07-07 20:02:44 +01:00
Clark Stevenson
f033f19dbb Merge branch 'dev' of https://github.com/clark-stevenson/phaser into dev 2014-07-07 19:34:31 +01:00
Alvin
7031d9ccc1 Fixed typo 2014-07-07 18:19:02 +02:00
Alvin
f6f70d35a4 Added game.add.plugin, a shotcut for game.plugins.add 2014-07-07 18:18:00 +02:00
Richard Davey
6ce183189f Merge pull request #971 from psalaets/issue-970
reorder param list of Phaser.Physics.Arcade.Body.render
2014-07-07 10:29:51 +01:00
Richard Davey
d0b756b0db Merge pull request #973 from psalaets/contributing-tweak
link to phaser forum at first mention
2014-07-07 10:28:46 +01:00
Richard Davey
e9886ad84d Merge pull request #972 from psalaets/debug-rendering-ninja-aabb-and-circle
Debug rendering for Ninja aabb and circle
2014-07-07 10:26:37 +01:00
Richard Davey
730a8eb7f9 Merge pull request #976 from b-ely/issue975
Adding a return to the Tween#from method
2014-07-07 10:21:30 +01:00
b-ely
e02a52b55d Adding a return to the Tween#from method 2014-07-06 18:21:03 -05:00
Paul Salaets
d14cd0bbbb link to phaser forum at first mention 2014-07-05 22:52:46 -04:00
Paul Salaets
cbf0a9011a remove a little duplication 2014-07-05 21:53:32 -04:00
Paul Salaets
0c15ef6adc move shape specific debug rendering into the shapes 2014-07-05 21:29:28 -04:00
Paul Salaets
77b86f43e3 support for debug rendering ninja AABB and circle bodies 2014-07-05 20:58:33 -04:00
Paul Salaets
79f550bc89 updating comments: default color and method name 2014-07-05 18:08:00 -04:00
Paul Salaets
0694dab909 reorder param list to be consistent with comment's ordering and other code 2014-07-05 17:50:13 -04:00
photonstorm
da822ab207 Fixing anchor issue :) 2014-07-03 17:21:06 +01:00
photonstorm
14109aeeb1 Animation.next will advance to the next frame in the animation, even if it's not currently playing. You can optionally define the number of frames to advance, but the default is 1. This is also aliased from the AnimationManager, so you can do Sprite.animations.next().
Animation.previous will rewind to the previous frame in the animation, even if it's not currently playing. You can optionally define the number of frames to rewind, but the default is 1. This is also aliased from the AnimationManager, so you can do `Sprite.animations.previous()`.
2014-07-03 16:23:36 +01:00
photonstorm
e4536f9999 addMarker added to ts defs (#968) 2014-07-03 14:04:14 +01:00
photonstorm
7c624f409f Updated console.log and README. 2014-07-03 10:50:26 +01:00
photonstorm
e0b5e94f45 Fixed _destroy issue in Signal. 2014-07-03 10:50:12 +01:00
photonstorm
86f972a765 Updated to latest Pixi dev branch. 2014-07-03 10:49:58 +01:00
photonstorm
212436529c Updated TS defs. 2014-07-03 02:22:56 +01:00
photonstorm
177d51f238 Signal.removeAll now has a new context parameter. If specified only listeners matching the given context are removed (thanks @lucbloom for the idea, #880) 2014-07-03 02:22:11 +01:00
photonstorm
92dbabb2df Camera.updateTarget has had a make-over and now is a lot smoother under certain conditions (thanks @tjkopena, fix #966) 2014-07-03 02:09:53 +01:00
photonstorm
336cd8b76c Build files for testing. 2014-07-02 23:23:26 +01:00
photonstorm
6e94aa7cde Updated applyForce docs. 2014-07-02 16:29:30 +01:00
photonstorm
8b160a1eb1 Tidied up formatting and docs. 2014-07-02 15:25:07 +01:00
photonstorm
8c41f6cc10 Game.onBlur and Game.onFocus events are now dispatched regardless if Stage.disableVisibilityChange is true or false, so you can respond to these events without your game automatically pausing or resuming (#911) 2014-07-02 14:57:28 +01:00
photonstorm
2916f0413f Group.bringToTop (and consequently Sprite.bringToTop) no longer removes the child from the InputManager if enabled (thanks @BinaryMoon, fix #928)
Group.sendToBack (and consequently Sprite.sendToBack) no longer removes the child from the InputManager if enabled.
Group.add has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onAddedToGroup` event.
Group.addAt has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onAddedToGroup` event.
Group.remove has a new optional boolean parameter: `silent`. If set to `true` the child will not dispatch its `onRemovedFromGroup` event.
Group.removeBetween has a new optional boolean parameter: `silent`. If set to `true` the children will not dispatch their `onRemovedFromGroup` events.
Group.removeAll has a new optional boolean parameter: `silent`. If set to `true` the children will not dispatch their `onRemovedFromGroup` events.
Internal child movements in Group (such as bringToTop) now uses the new `silent` parameter to avoid the child emitting incorrect Group addition and deletion events.
2014-07-02 14:04:14 +01:00
photonstorm
2cef655ed6 Calling Tween.stop from inside a Tween update callback would still cause the tween onComplete event to fire (thanks @eguneys, #924) 2014-07-02 05:47:38 +01:00
photonstorm
5ee9245acf Rectangle.right when set would set the new width to be Rectangle.x + the value given. However the value given should be a new Right coordinate, so the width calculation has been adjusted to compensate (thanks @cryptonomicon, #849) 2014-07-02 05:37:12 +01:00