Commit graph

9430 commits

Author SHA1 Message Date
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
Richard Davey
18c327e743 Effect callbacks now pass the camera. Tidied up potential infinity divides. 2018-03-19 23:29:15 +00:00
Richard Davey
efc5a12f75
Merge pull request #3424 from pixelscripter/master
Added callback methods to Camera2D effects: Shake, Fade and Flash
2018-03-19 23:08:55 +00:00
Richard Davey
f4f88a6daa
Merge pull request #3425 from orblazer/fix-types
Add callbacks types
2018-03-19 23:02:37 +00:00
orblazer
fa13b597e3 Add more callbacks 2018-03-19 23:08:05 +01:00
orblazer
1e8311e1ab Add callbacks on Dom and Data 2018-03-19 22:43:48 +01:00
orblazer
33e49a4416 Add callbacks on Boot, Actions and Create 2018-03-19 22:37:47 +01:00
orblazer
b4a30b8e43 Add callbacks on GameObjects 2018-03-19 22:27:16 +01:00
Jeroen Reurings
ed3dc2b9b4 Added @since 3.3.0 to new callback method comments. 2018-03-19 22:25:19 +01:00
orblazer
41d7c4b715 Add callbacks on Input and Geom 2018-03-19 22:12:11 +01:00
orblazer
f30218d3d3 Add callbacks on Physics 2018-03-19 21:42:07 +01:00
orblazer
8fdedabaeb Add callbacks on Renderer 2018-03-19 21:41:24 +01:00
Jeroen Reurings
6ada1ec2f3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-19 20:31:10 +01:00
Richard Davey
6d8b702b70
Merge pull request #3423 from orblazer/fix-types
Fix types
2018-03-19 19:22:52 +00:00
orblazer
bf630f7d57 Fix types in JSDocs 2018-03-19 19:49:14 +01:00
Jeroen Reurings
a759266064 Changed default values of effect callbacks to null instead of undefined;
Removed @since JSDoc comments for newly added class methods (because it's still unknown in which version they will be added).
2018-03-19 19:38:43 +01:00
orblazer
6a4fda392c Fix Object type in DataManager 2018-03-19 19:03:00 +01:00
Richard Davey
ff7119dfc1
Merge pull request #3422 from orblazer/fix-types
Fix types and begin object TypeDef
2018-03-19 17:16:45 +00:00
orblazer
45158c2fbd Update JSDoc on Animations and Boot 2018-03-19 18:13:33 +01:00
Richard Davey
4de9719fbe Fixed jsdoc types 2018-03-19 17:05:29 +00:00
Richard Davey
15579d7350 Fixed jsdocs 2018-03-19 17:01:53 +00:00
Richard Davey
968dc05eae Triangle.getLineA/B/C now returns a Line instead of an untyped object. It also now has an optional argument that allows you to pass a Line in to be populated, rather than creating a new one. 2018-03-19 16:51:39 +00:00
Richard Davey
4704745ac6 Optional vec2. 2018-03-19 16:47:43 +00:00
Richard Davey
917dc8f8be Rectangle.getLineA/B/C/D now returns a Line instead of an untyped object. It also now has an optional argument that allows you to pass a Line in to be populated, rather than creating a new one. 2018-03-19 16:47:34 +00:00