Commit graph

12483 commits

Author SHA1 Message Date
Jeremie Corpinot
e40ff20a2c
Update Tile.properties type to any
Update `Tile.properties` type from ` object` to `any` so we can access any un-declared property without TypeScript throwing an error.

Solve issue https://github.com/photonstorm/phaser/issues/4356
2019-02-13 20:04:45 +01:00
Richard Davey
0479badd6e Properties are optional 2019-02-13 17:20:10 +00:00
Richard Davey
31b14156de Fixed event name 2019-02-13 16:55:52 +00:00
Richard Davey
fd629fe783 Adding callback typedefs 2019-02-13 16:32:27 +00:00
Richard Davey
4fc817c519 Final batch of typedefs 2019-02-13 16:06:00 +00:00
Richard Davey
ccf677dfa6 Textures typedefs 2019-02-13 15:43:08 +00:00
Richard Davey
0db663d901 More typedefs 2019-02-13 15:38:50 +00:00
Richard Davey
42cb39749f Matter and Snapshot typedefs 2019-02-13 15:22:29 +00:00
Richard Davey
b4dbfea0a1 Impact typedefs 2019-02-13 15:05:16 +00:00
Richard Davey
3bb73c5664 Fixed Group defs and completed Arcade Physics defs 2019-02-13 14:45:36 +00:00
Richard Davey
43b4aad96c Math typedefs 2019-02-13 14:20:51 +00:00
Richard Davey
3938675d9f Input typedefs 2019-02-13 14:17:36 +00:00
Richard Davey
c9bdb83941 GameObject and Loader typedefs 2019-02-13 13:57:59 +00:00
Richard Davey
f62ec4a739 Config typedefs done 2019-02-13 12:58:04 +00:00
Richard Davey
70a87a576d Some legacy instances of float moved to number. 2019-02-13 12:39:36 +00:00
Richard Davey
e7b1d086e7 Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Richard Davey
b50e1c78b5 Lots more jsdoc tweaks and improvements 2019-02-12 15:01:54 +00:00
Richard Davey
c8439393fb Much better keycode jsdoc handling. 2019-02-12 12:51:43 +00:00
Richard Davey
4e817497d4 Namespace fixes 2019-02-12 12:48:41 +00:00
Richard Davey
dc73993fe2 Added jsdoc version numbers 2019-02-12 12:22:25 +00:00
Richard Davey
56dfdb7a74 More jsdoc global fixes 2019-02-12 12:14:26 +00:00
Richard Davey
27004061f5 Fixed jsdocs 2019-02-12 12:04:35 +00:00
Richard Davey
c85497b6c5 Fixing jsdocs 2019-02-12 11:59:31 +00:00
Richard Davey
ccaae460a4 Added jsdoc version numbers to each event 2019-02-12 11:37:58 +00:00
Richard Davey
04080bc1ba 3.16.2 Release 2019-02-11 09:59:29 +00:00
Richard Davey
cd67fd6108 Update CHANGELOG.md 2019-02-10 21:45:56 +00:00
Richard Davey
3104246386
Merge pull request #4347 from rgk/patch-5
On mobile, have pointerup and pointerout get triggered together.
2019-02-10 21:17:24 +00:00
Richard Davey
62399a3aa5 Removed un-used package 2019-02-10 17:33:51 +00:00
Richard Davey
d50475045d Added Zone.setBlendMode method as a NOOP function, fixing a bug where if you added a Zone to a Container when running under Canvas it would fail. Fix #4295 2019-02-10 17:30:01 +00:00
Richard Davey
f3f65d1437 Refactored the game over and out handling to work with the non-legacy input system. Fix #4344 2019-02-10 17:10:13 +00:00
Richard Davey
a252225be6 Entering Fullscreen mode in the Scale Manager and then pressing ESC would leave the injected fullsceen div in the DOM, causing it to fail with a node insertion failure the second time you wanted to enter fullscreen mode. Fix #4352 2019-02-10 16:13:45 +00:00
Richard Davey
0ab61ac6de When the Matter World creates its wall bounds, the left and right walls now extend further up and down than before, so that in a 4-wall setting there are no gaps in the corners, which previously allowed for fast moving objects that hit a corner intersection point to sometimes travel through it. 2019-02-09 16:27:20 +00:00
Richard Davey
fd8d75ab02 Refactored the Pointer Constraint to make it work more like a real pointer does, added missing events, added full jsdocs. 2019-02-09 16:02:21 +00:00
Richard Davey
7041601893 Added drag events to Pointer Constraint 2019-02-09 14:58:42 +00:00
Richard Davey
bb83f4803e Testing Pointer events. 2019-02-08 19:46:23 +00:00
Richard Davey
5f03d2cd5e Testing Composite.remove, instead of removeBody. 2019-02-08 19:46:13 +00:00
Richard Davey
ac1b0d8d85 Added dirty rect arguments to putData method 2019-02-08 19:45:58 +00:00
Richard Davey
5fe8dbbb4e Merge branch 'master' of https://github.com/photonstorm/phaser 2019-02-08 17:34:00 +00:00
Richard Davey
8eaaa3515f Update CHANGELOG.md 2019-02-08 17:33:53 +00:00
Robert Kowalski
6105c1a9b2
Emit pointerout always after pointerup on touch.
Now pointerout will always emit after pointerup.
2019-02-08 09:33:25 -05:00
Richard Davey
2467b624d0
Merge pull request #4350 from brian-lui/patch-1
Fix: Type declaration for blendMode
2019-02-08 13:37:53 +00:00
Richard Davey
550ac7a051 Bumped version number 2019-02-08 13:37:07 +00:00
Richard Davey
7fbf4152c7 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-02-08 13:36:37 +00:00
Richard Davey
1a1ed45925 Update CHANGELOG.md 2019-02-08 13:36:31 +00:00
Richard Davey
f121b1e416
Merge pull request #4346 from strangeweekend/doc-fix-scale-manager-in-scene
Added this.scale property to Scene
2019-02-08 13:35:36 +00:00
Richard Davey
b4aeeadb65 Update CHANGELOG.md 2019-02-08 13:32:58 +00:00
Richard Davey
6cd17618b1 Moved time to getter and fixed checkDown. 2019-02-08 13:32:54 +00:00
Richard Davey
7f91956c09 Added time property and preStep. 2019-02-08 13:32:44 +00:00
Richard Davey
f0de61961f 3.16.2 2019-02-08 13:32:34 +00:00
Richard Davey
17d56bd8ac Moved jsdoc comment to stop weird TS module generation 2019-02-08 13:08:32 +00:00