Commit graph

2106 commits

Author SHA1 Message Date
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
photonstorm
58fc73348c The StateManager has a preRenderCallback option, which checks for a preRender function existing on the State, but it was never called. Have decided to add this in, so the core Game loop now calls state.preRender right before the renderer runs (thanks @AnderbergE #869) 2014-07-02 05:32:40 +01:00
Richard Davey
35cb63f952 Merge pull request #964 from clark-stevenson/patch-4
Various updates to Phaser, and 1.5.4 PIXI
2014-07-02 01:04:47 +01:00
clark-stevenson
3c90cccdd5 Various updates to Phaser, and 1.5.4 PIXI 2014-07-01 22:42:36 +01:00
Clark Stevenson
42427af3ac Updated PIXI, Filters and other bits and pieces 2014-07-01 22:39:27 +01:00
photonstorm
c71ca3b849 Updated some Rectangle docs. 2014-07-01 22:10:13 +01:00
photonstorm
757136bf4f Device.mobileSafari was no longer detecting Mobile Safari, now fixed (thanks @Zammy, #927) 2014-07-01 19:19:49 +01:00
photonstorm
79bd7c400b Key.duration wasn't set to zero after a Key.reset (thanks @DrHackenstein, #932) 2014-07-01 16:57:55 +01:00
photonstorm
db22b019be Swapped the ScaleManager creation order in Game, so both start and stop fullScreen requests work now. 2014-07-01 16:50:33 +01:00
photonstorm
7c7e924b7a Fixed Pixelate to pass jshint and be more in line with Phaser Filters. 2014-07-01 16:26:23 +01:00
photonstorm
faa9af5539 readme updates 2014-07-01 16:19:20 +01:00
Richard Davey
a127080794 Merge pull request #951 from sivael/dev
TileMap update performance
2014-07-01 16:17:20 +01:00
Richard Davey
d00a298908 Merge pull request #939 from paperkettle/master
Adding a Phaser version of the PixelateFilter
2014-07-01 16:09:05 +01:00
Richard Davey
dd11e2a5a9 Merge pull request #840 from villetou/WebAudioExternalNodeFix
Web audio external node fix
2014-07-01 16:06:08 +01:00
Richard Davey
de270908de Merge pull request #958 from renatodarrigo/patch-2
Fix rawpad button array to support win and linux
2014-07-01 15:59:06 +01:00
Richard Davey
a425470f41 Merge pull request #925 from jonkelling/dev
Fix for issue #917, Physics.P2.Body#addToWorld
2014-07-01 15:52:29 +01:00
photonstorm
d2fc42520b stopFullScreen has been changed to run against document instead of the canvas since the cancelFullScreen method is created on the document (thanks @j0hnskot, #863) 2014-07-01 15:46:32 +01:00
photonstorm
8b9aec320b Readme updates. 2014-07-01 15:46:32 +01:00
Richard Davey
e1bc2b7bd6 Merge pull request #912 from j0hnskot/onDecoded-patch
Fix for bug #906
2014-07-01 15:42:09 +01:00
Richard Davey
ba29d5bd4b Merge pull request #910 from TatumCreative/dev
Fix null returns for play()
2014-07-01 15:39:17 +01:00
Richard Davey
117aef650b Merge pull request #956 from Phaiax/phaserdts-createcollisiongroup
createCollisionGroup -> public, included in .d.ts file
2014-07-01 15:37:31 +01:00