Commit graph

12285 commits

Author SHA1 Message Date
Bogdan Sikora
6e1db82a96 Transparent type added GameConfig 2019-03-09 16:05:36 +01:00
Richard Davey
9db9511bf1 Working on new blocked flag setting 2019-03-08 20:12:49 +00:00
Richard Davey
e27196ce52 Removed responsibility for flag setting from overlay, also return a value all the time, not just in motion 2019-03-08 20:11:27 +00:00
Richard Davey
e1f9e31e9f Added setTouching and setBlocked methods + refactored the way world bounds collision is done 2019-03-08 20:10:49 +00:00
Richard Davey
ab1d39bebb Update CHANGELOG.md 2019-03-08 20:09:31 +00:00
Richard Davey
08d4961aab Allow to pass in a single array to check against itself 2019-03-08 20:09:18 +00:00
Richard Davey
e5fbe13649 Updated docs 2019-03-08 19:54:46 +00:00
Richard Davey
8839ab1c0e Added the new overlapRect method. 2019-03-07 15:16:31 +00:00
Richard Davey
8e872fcb51 Fixed closest and furthest when the RTree is disabled 2019-03-07 14:13:45 +00:00
Richard Davey
d36ada0386 Added collideTiles and overlapTiles to AP. 2019-03-07 13:36:15 +00:00
Richard Davey
39e18a5b41 Updated docs 2019-03-07 13:36:01 +00:00
Richard Davey
4196a7380e Update CHANGELOG.md 2019-03-07 12:36:30 +00:00
Richard Davey
e0f2b829f8 startFullscreen now uses a Promise internally, if it can do so, to resolve and handle the request.
It also tidies up after itself, fires the new 'fail' event and has better documentation.
2019-03-07 12:32:32 +00:00
Richard Davey
046e9801aa Improved docs 2019-03-07 12:31:44 +00:00
Richard Davey
9440412f19 New fullscreen failed event 2019-03-07 12:31:34 +00:00
Richard Davey
c1c03b8464 Improved docs 2019-03-07 12:31:25 +00:00
Richard Davey
0ee2442597 Bumping to 3.17.0 2019-03-07 12:31:06 +00:00
Richard Davey
95d47a429d Tidying up 2019-03-05 14:46:41 +00:00
Richard Davey
ccdb109873 Update CHANGELOG.md 2019-03-05 14:45:57 +00:00
Richard Davey
197fef7b52 Tilemap.removeTile is a new method that allows you to remove a tile, or an array of tiles, by passing in references to the tiles themselves, rather than coordinates. The tiles can be replaced with new tiles of the given index, or removed entirely, and the method can optionally recalculate interesting faces on the layer. 2019-03-05 14:45:53 +00:00
Richard Davey
8167d6d305 New isLayer handling 2019-03-05 14:43:20 +00:00
Richard Davey
d160df3194 Removed late Set, optimized step process and added overlapTiles and collideTile methods. 2019-03-05 14:42:15 +00:00
Richard Davey
73617da673 Tidied up the formatting 2019-03-05 14:41:35 +00:00
Richard Davey
6095ab0ef6 Split the Body step up into preUpdate, update and postUpdate. Also tidied up the postUpdate method. 2019-03-05 14:17:57 +00:00
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