Commit graph

16263 commits

Author SHA1 Message Date
James Pettit
44fb0e2086
Fix typing of MapData objects.
I believe that objects is going to be an array as the result of calling this function: 7834095789/src/tilemaps/parsers/tiled/ParseObjectLayers.js (L20)

I'm not 100% sure on the type of the array elements (Phaser.Types.Tilemaps.ObjectLayerConfig), but that appears to be what ParseObjectLayers returns.
2021-01-19 15:17:12 -08:00
Richard Davey
7834095789
Merge pull request #5512 from andrewstart/master
Move webpack loaders to dev dependencies.
2021-01-19 13:30:04 +00:00
Richard Davey
ee6a543a3b Update CHANGELOG-v3.50.md 2021-01-19 09:51:52 +00:00
Richard Davey
a324b0487e Specify globalObject name and include IE9 buid 2021-01-19 09:41:41 +00:00
Richard Davey
67771d7645 Specify globalObject name 2021-01-19 09:41:31 +00:00
Richard Davey
c9b68c167a Bail out of Device tests if running inside a Web Worker 2021-01-19 09:40:59 +00:00
Richard Davey
e0d22da461 IE9 polyfills are no longer part of the core build 2021-01-19 09:40:30 +00:00
Richard Davey
5e1da21c4d Created new IE9 specific build 2021-01-19 09:40:09 +00:00
Andrew Start
f1f8b50530
Move webpack loaders to dev dependencies. 2021-01-19 00:41:35 -05:00
Richard Davey
13c7558748 Update README.md 2021-01-17 10:15:11 +00:00
Richard Davey
9a468adadc Update README.md 2021-01-17 10:09:12 +00:00
Richard Davey
353740e1e1 Update CHANGELOG-v3.50.md 2021-01-14 17:09:08 +00:00
Richard Davey
332d9c85cb BlitterWebGLRenderer was calling an out-dated function setRenderDepth instead of addToRenderList 2021-01-14 17:09:04 +00:00
Richard Davey
a7498e5994 Preparing for 3.53.0 dev 2021-01-14 11:35:44 +00:00
Richard Davey
a7308da7a3 Update CHANGELOG-v3.50.md 2021-01-14 11:19:48 +00:00
Richard Davey
13cb430893 3.52.0 Release 2021-01-14 11:17:30 +00:00
Richard Davey
0429dacee3 3.52.0 TS Defs 2021-01-14 11:13:40 +00:00
Richard Davey
61febe8adf Update CHANGELOG-v3.50.md 2021-01-14 11:06:09 +00:00
Richard Davey
9116eddf99 Some Bitmap Text fonts were not rendering under Canvas due to the way in which the texture offset was calculated. It now uses the __BASE frame to get the texture offset, rather than the first frame in the set. Fix #5462 #5501 2021-01-14 11:06:04 +00:00
Richard Davey
b1697f5e09 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-01-14 10:19:38 +00:00
Richard Davey
3db71dec6a Update CHANGELOG-v3.50.md 2021-01-14 10:19:27 +00:00
Richard Davey
357a4fc82d AtlasJSONFile, AtlasXMLFile, BitmapFontFile and UnityAtlasFile will now call File.pendingDestroy, clearing up the resources it used during load and emiting a missing FILE_COMPLETE event. Fix #5495 2021-01-14 10:19:24 +00:00
Richard Davey
b9162847bb
Merge pull request #5498 from lackhand/patch-1
Update Mesh.js documentation around panZ
2021-01-14 10:02:12 +00:00
Richard Davey
49cb5999d1 Update CHANGELOG-v3.50.md 2021-01-14 09:59:28 +00:00
Richard Davey
a5ffb59eb2
Merge pull request #5503 from kainage/banner-url-color
Transparent background for banner gameURL
2021-01-14 09:57:47 +00:00
Richard Davey
040fced921 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-01-14 09:55:53 +00:00
Richard Davey
eee18480a3 Update CHANGELOG-v3.50.md 2021-01-14 09:55:49 +00:00
Richard Davey
5bae5c5eb6
Merge pull request #5499 from lackhand/patch-2
Fix typo in GenerateVerts.js
2021-01-14 09:54:19 +00:00
Richard Davey
a6adc82c9f Update CHANGELOG-v3.50.md 2021-01-14 09:50:26 +00:00
Richard Davey
fe6acecbb3 Update CHANGELOG-v3.50.md 2021-01-14 09:48:21 +00:00
Richard Davey
d1ece18c93 The method TilemapLayer.weightedRandomize has changed so that the parameter weightedIndexes is now first in the method and is non-optional. Previously, it was the 5th parameter and incorrectly flagged as optional. This change was made to the docs but not the parameters, but now works according to the docs 2021-01-14 09:48:16 +00:00
kainage
1e0bae4e21 Use transparent background for banner gameURL to support different browser color themes 2021-01-13 22:33:05 -08:00
Andrew Cunningham
36b3de1748
Make GenerateVertsResults verts -> vertices
Update typedefs to match the new spelling.
2021-01-13 18:46:07 -05:00
Andrew Cunningham
56fc62a21a
Fix typo in GenerateVerts.js
The result contains `["verts"]`, but the caller expects [`["vertices"]`](d67c93646c/src/gameobjects/mesh/Mesh.js (L705)). Better to expand the field name (IMO).
2021-01-13 18:36:33 -05:00
Andrew Cunningham
724c2f59d5
Update Mesh.js documentation around panZ
This adds warnings about orthographic and perspective cameras, documents setOrtho & panZ with sane (ish) default values for the default projection matrix, and updates the example code in the file.

These changes could go further; I would love it if the default mechanisms "agreed" (so that feeding it z=0 vertex values "just worked"), but that's probably a difficult backwards facing change.

Inspired by https://github.com/photonstorm/phaser/issues/5380 .
2021-01-12 14:28:52 -05:00
Richard Davey
15908ce271 getPostPipeline will now return an array of them all if there is more than one instance 2021-01-11 17:17:00 +00:00
Richard Davey
69480eff9b Update CHANGELOG-v3.50.md 2021-01-11 09:46:54 +00:00
Richard Davey
9ad922f56d Moved renderList to BaseCamera 2021-01-11 09:46:50 +00:00
Richard Davey
bc5b0d8cab Update CHANGELOG-v3.50.md 2021-01-10 11:35:47 +00:00
Richard Davey
c5afbb41ef Fixed docs 2021-01-10 11:35:45 +00:00
Richard Davey
1c8662dc1f Call addToRenderList 2021-01-07 14:52:08 +00:00
Richard Davey
fd5324e1e2 Update CHANGELOG-v3.50.md 2021-01-07 14:47:49 +00:00
Richard Davey
616566c35a Renamed sortGameObjects to sortDropZones and then repurposed the old method for the new render list sorting technique. 2021-01-07 12:32:00 +00:00
Richard Davey
00d8b6a009 Invoke camera.addToRenderList method 2021-01-07 12:31:31 +00:00
Richard Davey
dc925267fc Added the new renderList property and addToRenderList method 2021-01-07 12:31:12 +00:00
Richard Davey
5481a64023 Clear the render list if not destroying the camera 2021-01-07 12:30:46 +00:00
Richard Davey
3db77c7a10 Use Scene Display List if not available 2021-01-07 12:22:09 +00:00
Richard Davey
c6ad8b1306 Better parameter name 2021-01-07 11:03:59 +00:00
Richard Davey
1bf76f6c05 Update CHANGELOG-v3.50.md 2021-01-06 11:07:18 +00:00
Richard Davey
ceac5bdd4a Lint fix. 2021-01-06 11:07:14 +00:00