Commit graph

9453 commits

Author SHA1 Message Date
Richard Davey
2433844cd3 Added setVolume and setMute 2018-03-21 14:54:23 +00:00
Richard Davey
4c75c48a77 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-21 14:41:56 +00:00
Richard Davey
2182511b1d Image swap 2018-03-21 14:41:51 +00:00
Richard Davey
c6fc61e470 Fixed class names 2018-03-21 14:41:45 +00:00
Richard Davey
72690734c3 Fixed exposure 2018-03-21 14:41:34 +00:00
Richard Davey
0899c135d6 Fixed types 2018-03-21 14:41:16 +00:00
Richard Davey
13f5608cbe Added XHRSettings Conf 2018-03-21 14:41:04 +00:00
Richard Davey
f500f5509b Added DeviceConf def 2018-03-21 14:40:30 +00:00
Richard Davey
645c03f2e9 Added setRate and setDetune methods 2018-03-21 14:40:07 +00:00
Richard Davey
8e7944a1b4 Updated EventEmitter reference 2018-03-21 14:09:58 +00:00
Richard Davey
3f0ee709f0 Renamed methods to avoid confliction with Animation component 2018-03-21 14:09:30 +00:00
Richard Davey
d62dd0aa62
Merge pull request #3438 from jmcriat/patch-2
(WebGL) updating currentScissor on game.resize
2018-03-21 12:52:06 +00:00
Richard Davey
db613c793a Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-21 03:17:00 +00:00
Richard Davey
8a3f06c898 Todo note 2018-03-21 03:16:55 +00:00
Richard Davey
786d181a91 Sorted the components 2018-03-21 03:16:49 +00:00
Richard Davey
2f86100f87 MatterGameObject is a new function, available via the Matter Factory in this.matter.add.gameObject, that will inject a Matter JS Body into any Game Object, such as a Text object. 2018-03-21 03:16:36 +00:00
Richard Davey
5cae6d38b3 Matter.SetBody and SetExistingBody will now set the origin of the Game Object to be the Matter JS sprite.xOffset and yOffset values, which will auto-center the Game Object to the origin of the body, regardless of shape. 2018-03-21 03:16:01 +00:00
José Maria
f9e978a2bd
(WebGL) updating currentScissor on game.resize
with the array being update it solves the issue with the global background not being fully draw after resizing the game.
2018-03-20 23:38:00 -03:00
Richard Davey
00b0f1b965
Merge pull request #3436 from orblazer/fix-callback
Fix RemoveCallback call on Group (this callback is not called)
2018-03-21 00:31:15 +00:00
orblazer
4f7f2b8981 Fix RemoveCallback call on Group 2018-03-21 00:32:13 +01:00
Richard Davey
d329724ae5 Added the ComputedSize component to the Text Game Object, which allows Text.getBounds, and related methods, to work again instead of returning NaN. 2018-03-20 19:00:48 +00:00
Richard Davey
28206e872f
Merge pull request #3433 from orblazer/fix-types
Fix "any" types
2018-03-20 16:28:43 +00:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
Richard Davey
31bf979eb2
Merge pull request #3432 from orblazer/fix-types
Fix nullable and multiple types
2018-03-20 15:31:17 +00:00
Felipe Alfonso
701d43b3c3 TransformNode Implemented for nested transformations 2018-03-20 12:15:14 -03:00
orblazer
44103dc475 Fix remaining multiple types 2018-03-20 16:12:42 +01:00
orblazer
9375bb0530 Fix multiple types on Tilemaps 2018-03-20 16:11:33 +01:00
orblazer
dca7996179 Fix multiple types on Physics, Texture and Input 2018-03-20 16:10:19 +01:00
orblazer
7e05b333a0 Fix multiple types on Math 2018-03-20 16:06:30 +01:00
orblazer
8a9223811f Fix multiple types on Geom 2018-03-20 16:01:08 +01:00
orblazer
37b6fc5862 Fix many multiple types 2018-03-20 15:58:02 +01:00
orblazer
3cb00c85c9 Fix multiple types on Actions 2018-03-20 15:57:12 +01:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
orblazer
4cff464555 Fix nullable types 2018-03-20 15:36:03 +01:00
Richard Davey
1de572a0e8
Merge pull request #3431 from orblazer/updates-pak
Update packages
2018-03-20 14:16:15 +00:00
Richard Davey
f88489119b
Merge pull request #3430 from orblazer/fix-types
Fix types in Tilemaps
2018-03-20 14:14:36 +00:00
orblazer
b44ef9e850 Remove unused uuid package 2018-03-20 14:49:40 +01:00
orblazer
395591d93e Fix minimizer on Webpack production config 2018-03-20 14:43:57 +01:00
orblazer
52ca9d2201 Update packages 2018-03-20 13:24:42 +01:00
orblazer
30f410d1d3 Fix types in Tilemaps 2018-03-20 12:36:35 +01:00
Richard Davey
b6f2c80ae6 Groups will now listen for a destroy event from any Game Object added to them, and if received will automatically remove that GameObject from the Group. Fix #3418 2018-03-20 01:08:45 +00:00
Richard Davey
cb5b12e9d3 The GameObject destroy event is now emitted at the start of the destroy process, before things like the body or input managers have been removed, so you're able to use the event handler to extract any information you require from the GameObject before it's actually disposed of. Previously, the event was dispatched at the very end of the process. 2018-03-20 01:05:53 +00:00
Richard Davey
8d7ed97d38 Removed const because already merged into namespace (#3417) 2018-03-20 00:37:10 +00:00
Richard Davey
8eedc220c8 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-20 00:36:40 +00:00
Richard Davey
07ec73774b Updated change log 2018-03-20 00:36:33 +00:00
Richard Davey
3591edcb73
Merge pull request #3417 from rexrainbow/master
Bug fix: font might not sync to context
2018-03-20 00:34:51 +00:00
Richard Davey
64fdbc3040 Graphics.alpha was being ignored in the WebGL renderer and is now applied properly to strokes and fills. Fix #3426 2018-03-20 00:27:39 +00:00
Richard Davey
75bb9d92a9 Camera.fadeIn is a new method that will fade the camera in from a given color (black by default) and then optionally invoke a callback. This is the same as using Camera.flash but with an easier to grok method name. Fix #3412 2018-03-20 00:10:55 +00:00
Richard Davey
00a3f71859 Modified camera effect durations and prevented callbacks from being overwritten 2018-03-19 23:53:03 +00:00
Richard Davey
490aa2838d Updated change log 2018-03-19 23:32:36 +00:00