Commit graph

12285 commits

Author SHA1 Message Date
Richard Davey
5683713253 Added flush argument 2018-12-11 14:59:50 +00:00
Richard Davey
d9f89fbde1 Fixed lint error, added docs. 2018-12-11 09:31:56 +00:00
Richard Davey
c239700528 Added getIndex and getPixels methods. 2018-12-11 02:37:00 +00:00
Richard Davey
27c1426856 Updated earcut from 2.1.1 to 2.1.4. 2018-12-10 16:35:11 +00:00
Richard Davey
24ffe623cd Update README.md 2018-12-10 15:57:50 +00:00
Bryan
d35e30dc6b Add facebook plugin to Phaser.Scene for JSDoc 2018-12-10 15:21:34 +10:00
Bryan
dc2f6153b4 Change JSDoc @type from any to Phaser.FacebookInstantGamesPlugin
This matches the definition in Phaser.Game
2018-12-10 14:24:22 +10:00
Richard Davey
b8e681e29c Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-08 15:02:58 +00:00
Richard Davey
a62f01e97c Update CHANGELOG.md 2018-12-08 15:02:52 +00:00
Richard Davey
d70ecfca8c
Merge pull request #4215 from snowbillr/update-group-creator-and-factory-param-type
update type param for group factory and creator methods
2018-12-08 15:02:13 +00:00
Richard Davey
84bf2e5e93 lint fix 2018-12-08 14:59:07 +00:00
Richard Davey
c3524b345f Added CanvasTexture.drawFrame method. 2018-12-08 13:10:55 +00:00
Richard Davey
8e495da71d Fixed currentScissor assignment order of operation 2018-12-08 11:37:26 +00:00
Richard Davey
9dd7d2d8aa Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-07 19:28:48 +00:00
Richard Davey
f1113358b8 Update CHANGELOG.md 2018-12-07 19:28:43 +00:00
Richard Davey
7d34db2753 Added clear region arguments 2018-12-07 19:28:38 +00:00
Richard Davey
50502cfb63 Added emitOnRepeat boolean 2018-12-07 19:28:25 +00:00
Richard Davey
06c6b280e7 New global adshowerror handler and better event flow. 2018-12-07 04:29:18 +00:00
Richard Davey
2ed6c649a3 Swapped ad events placement. 2018-12-07 01:49:01 +00:00
Richard Davey
e672592aef Modified how ad placement loading works. 2018-12-07 01:39:30 +00:00
Richard Davey
da0d9802de Fixed typo 2018-12-06 16:59:53 +00:00
Richard Davey
2fe4d536a9 Updated docs 2018-12-06 15:59:22 +00:00
Richard Davey
e6f5d0144e Added Animation.chain method to queue an animation to start when the current one ends. 2018-12-06 15:57:52 +00:00
Richard Davey
96fab45ced Update CHANGELOG.md 2018-12-06 15:40:00 +00:00
Richard Davey
cd80b27ea6 Updated jsdocs 2018-12-06 15:39:57 +00:00
Richard Davey
3d36215623 Added repeat event. 2018-12-06 15:39:47 +00:00
Richard Davey
8fe2e30635 Removed update event 2018-12-06 15:34:15 +00:00
Richard Davey
eda6e648fc Animation now extends the EventEmitter. 2018-12-06 15:28:48 +00:00
Richard Davey
9e78553a48 reverse no longer needs the argument. play and playReverse can now take an Animation instance as an argument, not just a key. 2018-12-06 15:28:32 +00:00
Richard Davey
8955c50ab5 Update CHANGELOG.md 2018-12-06 14:47:29 +00:00
Richard Davey
20ea562d23 create no longer throws a warning, returns existing animation. Also added exists method. 2018-12-06 14:47:26 +00:00
Richard Davey
1a407bc4f5 ArcadePhysics.Body.destroy will now only add itself to the World pendingDestroy list if the world property exists. This prevents Cannot read property 'pendingDestroy' of undefined errors if you try to delete a physics body in a callback and then immediately change Scene (which tells the physics work to also delete all bodies) 2018-12-06 14:47:06 +00:00
Richard Davey
bca8d9b0c9 Add Key capture information 2018-12-06 11:55:14 +00:00
Richard Davey
1df20f9070 Keyboard events can now be blocked on a local or global level. 2018-12-06 11:35:16 +00:00
Bill Reed
df9365cae6 update type param for group factory and creator methods 2018-12-05 11:32:47 -05:00
Richard Davey
4174626b84 Update CHANGELOG.md 2018-12-05 16:07:51 +00:00
Richard Davey
715e6d3c15 Added key capturing methods. 2018-12-05 16:07:47 +00:00
Richard Davey
114d61cf59 Added capture handling and event queue. 2018-12-05 16:02:29 +00:00
Richard Davey
a7fba605ad By default, no key captures. 2018-12-05 16:02:09 +00:00
Richard Davey
97805afab0 Input Manager now creates Keyboard Manager. 2018-12-05 16:01:39 +00:00
Richard Davey
7431f0a621 No longer required. 2018-12-05 15:58:53 +00:00
Richard Davey
dd051ddc03 Added event handlers and event emitter. 2018-12-05 15:58:44 +00:00
Richard Davey
606a3832c1 Moving to a global keyboard manager for the DOM events. 2018-12-05 11:16:45 +00:00
Mato
87be97aaf0
Add link to bitmaptext 2018-12-05 16:29:18 +07:00
Richard Davey
2780babe10 Final Doc Jam merge 2018-12-03 15:16:23 +00:00
Thomas Felix
bd5f2b3bf5 fixes the typedef for the layer parameter
The layer parameter is used to call getLayer() so the parameter type for
the parent function should match the on of getLayer().
2018-12-01 20:40:17 +01:00
Richard Davey
6f8759c186 Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects. 2018-11-30 10:27:25 +00:00
Richard Davey
146745057a Utils.Array.MoveUp wouldn't let you move an array element to the top-most index in the array. This also impacted Container.moveUp. 2018-11-29 23:33:54 +00:00
Richard Davey
52cfd5b4d6 Update CHANGELOG.md 2018-11-29 13:44:53 +00:00
Richard Davey
2eb5fb6794 You can now load external Scene files using the new load.sceneFile method. This allows you to dynamically load a Scene into the Scene Manager of your game, and swap to it at will. 2018-11-29 13:44:51 +00:00