Commit graph

12301 commits

Author SHA1 Message Date
Richard Davey
84c24862cf GetAdvancedValue now uses the correct Math RND reference, which means anything that used the randInt or randFloat features of this function, such as creating a Sprite from a Config object, or Bitmap Text sizing, will no longer throw an error about a null object reference. Fix #4369 2019-02-24 22:56:29 +00:00
Richard Davey
06f966e3b0 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-02-24 22:12:20 +00:00
Richard Davey
0ed8cc052f Update CHANGELOG.md 2019-02-24 22:12:14 +00:00
Richard Davey
9bfd1e28b0 Added missing audio config property 2019-02-24 22:12:11 +00:00
Richard Davey
a87f275054 The parent bounds are reset when exiting fullscreen mode in the Scale Manager. This fixes an issue when leaving fullscreen mode by pressing ESC (instead of programmatically) would leave the canvas in the full screen size. Fix #4357 2019-02-24 22:12:00 +00:00
Richard Davey
5f9154606f
Merge pull request #4371 from cruzdanilo/frame-numbers
fix reverse generateFrameNumbers
2019-02-24 21:47:14 +00:00
Richard Davey
1e3b75b32c
Merge pull request #4363 from rootasjey/patch-1
Update `Tile.properties` type to `any`
2019-02-24 21:45:23 +00:00
Richard Davey
80c8250d4f Update CHANGELOG.md 2019-02-22 03:58:29 +00:00
Richard Davey
341e78ce0d Added touch Window handlers and remove handlers 2019-02-22 02:26:52 +00:00
Richard Davey
c90ae09f9f Added window specific handlers
And game config option:

```
    input: {
        windowEvents: false
    },
```
2019-02-22 02:11:13 +00:00
Richard Davey
c9e730379f Merge branch 'master' of https://github.com/photonstorm/phaser 2019-02-22 00:47:36 +00:00
Richard Davey
38927d48b6 Update CHANGELOG.md 2019-02-22 00:47:23 +00:00
Richard Davey
d1df27bd5e
Merge pull request #4389 from sky-coding/master
remove erroneous doc comment parameter
2019-02-22 00:40:00 +00:00
sky-coding
bab6a0bd69 remove erroneous doc comment parameter 2019-02-20 20:48:09 -08:00
Chad Engler
5fbef0b1cb Correct jsdoc for Class utilities 2019-02-18 16:47:44 -08:00
danilo neves cruz
a586a4adeb fix reverse generateFrameNumbers 2019-02-15 17:38:39 -02:00
Richard Davey
376f06d2a9 Updated for 3.16.3 2019-02-15 10:39:07 +00:00
Richard Davey
53c63fa190 Removed all references to Cocoon. 2019-02-15 10:38:57 +00:00
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