Commit graph

16988 commits

Author SHA1 Message Date
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
Richard Davey
22e170e417 Updated documentation. Fix #5488 2021-01-06 11:07:05 +00:00
Richard Davey
9d55dda2b1
Merge pull request #5487 from jdcook/safari-webaudio-fix
added null check for WebAudio pannerNode
2021-01-06 09:41:37 +00:00
jdcook
b935c5bf03 added null check for WebAudio pannerNode 2021-01-05 16:37:24 -06:00
Richard Davey
f7a41b7301 Preparing for 3.52 2021-01-05 17:59:00 +00:00
Richard Davey
c35c448ced Update README.md 2021-01-05 17:35:19 +00:00
Richard Davey
d67c93646c Update README.md 2021-01-05 16:24:54 +00:00
Richard Davey
e6b009a038 Update README.md 2021-01-05 16:21:54 +00:00
Richard Davey
941361a1aa 3.51 dist files 2021-01-05 16:21:50 +00:00
Richard Davey
1c1f924a8d 3.51 Release 2021-01-05 15:12:35 +00:00
Richard Davey
9a222576a8 Spine 3.51 Plugin 2021-01-05 15:10:42 +00:00
Richard Davey
a4227143a2 3.51.0 TS Defs 2021-01-05 15:07:59 +00:00
Richard Davey
ba107c3596 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-01-05 10:38:11 +00:00
Richard Davey
5f221a8920 Update CHANGELOG-v3.50.md 2021-01-05 10:38:05 +00:00
Richard Davey
cd8f375a0c
Merge pull request #5485 from jdcook/spine-prefix-bugfix
fixed spine texture bug when using prefixes
2021-01-05 10:35:33 +00:00
jdcook
80df367113 fixed spine texture bug when using prefixes 2021-01-04 13:02:51 -06:00
Richard Davey
e9d07ca8f8 Update CHANGELOG-v3.50.md 2021-01-04 16:16:08 +00:00
Richard Davey
c124d4c0a6
Merge pull request #5467 from rexrainbow/improve-postfx-pipeline
Remove a type of Post Pipeline instances, not only a single instance
2021-01-04 16:14:48 +00:00
Richard Davey
603acf0528 Update CHANGELOG-v3.50.md 2021-01-04 16:11:36 +00:00
Richard Davey
a19e4770df The Layer Game Object has been given all of the missing properties and methods from Game Object to make the class shapes identical. This includes the properties parentContainer, tabIndex, input and body. You cannot set any of these properties, they are ignored by the Layer itself. It also includes the methods: setInteractive, disableInteractive and removeInteractive. A Layer cannot be enabled for input or have a physics body. Fix #5459 2021-01-04 16:11:33 +00:00
Richard Davey
234b259db7 Update CHANGELOG-v3.50.md 2021-01-04 15:51:17 +00:00
Richard Davey
b71bfcf7ba The error RENDER WARNING: there is no texture bound to the unit ... would be thrown when destroying a Text Game Object, or any Game Object that uses its own custom texture. Destroying such an object will now reset the WebGL Texture cache. Fix #5464 2021-01-04 15:51:14 +00:00
Richard Davey
4fbdbb8a04 The error RENDER WARNING: there is no texture bound to the unit ... would be thrown when trying to restart a Scene. When a Scene is shutdown is will now reset the WebGL Texture cache. Fix #5464 2021-01-04 15:51:02 +00:00
Richard Davey
a765b7edfc WebGLRenderer.isTextureClean is a new boolean property that tracks of all of the multi-textures are in a clean 'default' state, to avoid lots of gl texture binds and activations during a Scene restart or destruction process. 2021-01-04 15:49:39 +00:00
Richard Davey
5457e463b1 Use displayList.getIndex 2021-01-04 12:43:34 +00:00
Richard Davey
a6716afe0b Update CHANGELOG-v3.50.md 2021-01-04 11:59:03 +00:00
Richard Davey
2a38e78bb4 Layer.destroy will now call destroy on all of its children as well. Layer.destroy will now emit the DESTROY event at the start of the method. Fix #5466 2021-01-04 11:59:00 +00:00
Richard Davey
b904ca28c9 Update CHANGELOG-v3.50.md 2021-01-04 11:52:38 +00:00
Richard Davey
cf2c607ac1 Canvas Tilemap Rendering is now working again. Fix #5480 2021-01-04 11:52:35 +00:00
Richard Davey
ba1b751e68 Update CHANGELOG-v3.50.md 2021-01-04 11:22:04 +00:00
Richard Davey
1b0649ed34 Fixed issue causing Cannot read property 'pipelines' of null to be thrown if using 3.50 with the HEADLESS renderer. Fix #5468 2021-01-04 11:22:00 +00:00
Richard Davey
f974dd7a7e Merge branch 'master' of https://github.com/photonstorm/phaser 2020-12-30 14:07:05 +00:00
Richard Davey
a2a8747dbe Update CHANGELOG-v3.50.md 2020-12-30 14:06:53 +00:00