Commit graph

1991 commits

Author SHA1 Message Date
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
Richard Davey
2fb9217776 Merge pull request #955 from Phaiax/issue952-p2bounds
P2 bottom world wall position fix
2014-07-01 15:36:02 +01:00
Richard Davey
1a0ebe6d26 Merge pull request #954 from Phaiax/issue953-bodydebug
inverting debug getter result
2014-07-01 15:35:35 +01:00
Richard Davey
3c191e4cea Merge pull request #959 from woutercommandeur/dev
Add mouse wheel support
2014-07-01 15:33:34 +01:00
Richard Davey
3cbda52ca5 Merge pull request #960 from Phaiax/replaceRGBissue
replaceColor fix
2014-07-01 15:31:16 +01:00
Richard Davey
7fa3110c06 Merge pull request #961 from Phaiax/issue-bodyEnable
Body.enable only exists in Arcade physics, so move conditions concerning...
2014-07-01 15:27:33 +01:00
photonstorm
8c11ec1037 Updated readme. 2014-07-01 15:08:12 +01:00
Richard Davey
cde51d3c95 Merge pull request #940 from alvinsight/dev
Added factorial and updated to pass jshint :)
2014-07-01 15:07:10 +01:00
photonstorm
cc6aa7313b New Phaser + Pixi build files. 2014-07-01 15:04:03 +01:00
photonstorm
181fd1ae56 Merged Pixi 1.5.4 with Phaser - all of the lovely new Pixi features are in, like complex Graphics objects and masking. 2014-07-01 15:03:46 +01:00
Phaiax
00bf349ff5 Body.enable only exists in Arcade physics, so move conditions concerning this into arcarde 2014-06-30 12:49:53 +02:00
photonstorm
3d80568e4c Loader.isLoading is set to false if the filelist size is zero. 2014-06-30 09:24:25 +01:00
photonstorm
692ca928f0 Updated docs. 2014-06-29 21:19:37 +01:00
Phaiax
18229d1673 fix jshint warning 2014-06-29 18:23:43 +02:00
Phaiax
b14aff5844 Return type of Phaser.Color.packPixel changed 2014-06-29 18:02:59 +02:00
Wouter Commandeur
a863482439 Add constants for wheel up and down 2014-06-29 14:23:09 +02:00