Commit graph

12411 commits

Author SHA1 Message Date
Richard Davey
b75db77db8 Updated docs 2019-03-05 09:25:19 +00:00
Richard Davey
3456e19815 Updated jsdocs 2019-03-05 09:20:30 +00:00
Richard Davey
c85648e06a The PluginManager.installScenePlugin method has a new optional boolean parameter fromLoader which controls if the plugin is coming in from the result of a Loader operation or not. If it is, it no longer throws a console warning if the plugin already exists. This fixes an issue where if you return to a Scene that loads a Scene Plugin it would throw a warning and then not install the plugin to the Scene. 2019-02-28 12:24:41 +00:00
Richard Davey
c15734f1bc A Scene will now emit the new CREATE event after it has been created by the Scene Manager. If the Scene has a create method this event comes after that, so is useful to knowing when a Scene may have finished creating Game Objects, etc. 2019-02-26 11:00:20 +00:00
Richard Davey
a1265a207b The return from the ScenePlugin.add method has changed. Previously, it would return the ScenePlugin, but now it returns a reference to the Scene that was added to the Scene Manager, keeping it in-line with all other add methods in the API. Fix #4359 2019-02-25 17:12:00 +00:00
Richard Davey
f9e6f2cd71 Update CHANGELOG.md 2019-02-25 17:09:08 +00:00
Richard Davey
8180764cca Added jsdoc override for origin 2019-02-25 17:07:09 +00:00
Richard Davey
9589c9194f Merge branch 'master' of https://github.com/photonstorm/phaser 2019-02-24 23:36:59 +00:00
Richard Davey
35363631d6 Added jsdoc blocks 2019-02-24 23:36:56 +00:00
Richard Davey
dfb1e48f6f
Merge pull request #4380 from englercj/master
Correct jsdoc for Class utilities
2019-02-24 23:07:10 +00:00
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