Commit graph

7162 commits

Author SHA1 Message Date
Richard Davey
74d5af20c6 Tidying up 2018-12-13 11:07:20 +00:00
Richard Davey
a4badb68ad Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-13 10:25:58 +00:00
Richard Davey
cc164b5399 Fixed camera background in WebGL. 2018-12-13 10:25:53 +00:00
Richard Davey
caad527b29 Added getData and putData methods. 2018-12-13 00:30:13 +00:00
Richard Davey
b8fbd0d2c0 keydown and keyup events now fire for every possible key, no matter if they exist in the KeyCodes list or not. 2018-12-12 16:50:04 +00:00
Richard Davey
7b478d2860 lint fix 2018-12-12 13:14:59 +00:00
Richard Davey
af5b1f2427 StaticBody.reset in Arcade Physics would ignore the x and y values given to it. If given, they're now used to reset the parent Game Object before the body is updated. Fix #4224 2018-12-12 12:39:47 +00:00
Richard Davey
cc55ee73cf Changing scaleX or scaleY on a MatterImage or MatterSprite would cause the body scale to become distorted as the setters didn't use the correct factor when resetting the initial scale. Fix #4206 2018-12-12 12:07:16 +00:00
Richard Davey
bbe95d96d9 Added jsdocs for #4137 2018-12-12 11:58:58 +00:00
Richard Davey
3ee75a77a3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-12 11:56:19 +00:00
Richard Davey
193d1d5c73 Docs update. 2018-12-12 11:56:09 +00:00
Richard Davey
d823c66597
Merge pull request #4137 from sercant/master
Fix rotating normal map bug (issue #3870)
2018-12-12 11:52:27 +00:00
Richard Davey
5e1a144c05
Merge pull request #4181 from samme/docs/audioconfig
Correct docs for Phaser.Boot.Config#audio
2018-12-12 11:40:40 +00:00
Richard Davey
7ea03169e7
Merge pull request #4183 from DottieDot/setFont-fix
setFont fix (also fixes #4141)
2018-12-12 11:30:38 +00:00
Richard Davey
79ee2229ad
Merge pull request #4207 from tfelix/fix/tilemap-layer-typedef-fix
fixes the typedef for the layer parameter
2018-12-12 11:28:57 +00:00
Richard Davey
5c6d1cbe17
Merge pull request #4214 from matosummer/master
Add link to bitmaptext
2018-12-12 11:27:00 +00:00
Richard Davey
52e47da344
Merge pull request #4222 from bryanwood/fix-facebook-plugin-type-on-scene
Change JSDoc @type from any to Phaser.FacebookInstantGamesPlugin
2018-12-12 11:24:53 +00:00
Richard Davey
f2123a10c0
Merge pull request #4223 from bryanwood/add-facebook-plugin-to-scene-for-jsdoc
Add facebook plugin to Phaser.Scene for JSDoc
2018-12-12 11:23:46 +00:00
Richard Davey
96e08bb448 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-12 11:09:11 +00:00
Richard Davey
05ffb5312f Updated docs 2018-12-12 11:09:00 +00:00
Richard Davey
4b27b37a0c Added texture and unit arguments to batchQuad and batchTri, fixing the y2k bug. 2018-12-12 11:08:52 +00:00
Richard Davey
62b489ee04 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-11 23:22:04 +00:00
Richard Davey
69e6643800 Added setPixel method. 2018-12-11 23:22:00 +00:00
Richard Davey
bacff65177 Refactoring texture batch creation 2018-12-11 15:00:12 +00:00
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
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
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
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
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
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
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
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
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