Commit graph

19848 commits

Author SHA1 Message Date
Richard Davey
f1c4b0fef2 v3.86.0 release 2024-10-11 14:32:30 +01:00
Richard Davey
c3581595c7
Update CHANGELOG-v3.86.md 2024-10-11 00:41:47 +01:00
Richard Davey
79de922e5d
The Canvas Renderer and WebGL Multi Pipeline now uses the new renderRoundPixels boolean to determine if it can render a Sprite or a Texture with rounded position values, or not. This fixes an issue where black lines would appear between tightly grouped sprites or tiles at non-integer Camera zoom values. Fix #6907 2024-10-11 00:41:43 +01:00
Richard Davey
8e432aee8d
BaseCamera.renderRoundPixels is a new read-only property that is set during the Camera preRender method every frame. It is true if the Camera is set to render round pixels and the zoom values are integers, otherwise it is false. This is then fed into the MultiPipeline when rendering sprites and textures. 2024-10-11 00:08:00 +01:00
Richard Davey
13177a4e4a
Update CITATION.cff 2024-10-10 21:17:01 +01:00
Richard Davey
a5574822bf
Update CHANGELOG-v3.86.md 2024-10-10 21:16:59 +01:00
Richard Davey
32c82ef728
Merge pull request #6912 from thompson318/master
Adds a citation.cff file
2024-10-10 21:15:58 +01:00
Richard Davey
ede4a7a63c Update CHANGELOG-v3.86.md 2024-10-10 19:01:02 +01:00
Richard Davey
10c342c5cb Phaser.GameObjects.Container#tempTransformMatrix has been removed. This was an internal private Transform Matrix. It has been replaced by a global single matrix that is used instead. This removes the need for every Container to have its own instance of this temporary matrix, reducing object allocation and memory overhead. 2024-10-10 19:00:58 +01:00
Richard Davey
e440887fb8 Updating for 3.86 2024-10-10 18:37:43 +01:00
Richard Davey
509de6ae51 RenderTarget.resize will now check the autoResize property before applying the change. Textures that have been locked to a fixed size, such as FX POT buffers, will no longer be resized to the full canvas dimensions, causing Out of Memory errors on some mobile devices. Fix #6914 2024-10-10 18:37:00 +01:00
Richard Davey
22bd58599c Update CHANGELOG-v3.85.3.md 2024-10-10 16:54:50 +01:00
Richard Davey
72e2857882 The EXPAND Scale Mode would cause the error "Framebuffer status: Incomplete Attachment" under WebGL if the Phaser game loaded into an iframe or element with a size of 0 on either axis, such as when you load the game into a 0x0 iframe before expanding it. It now protects against divide by zero errors. 2024-10-10 16:54:46 +01:00
Richard Davey
c6caba7598 The RenderTarget.willResize method will now check if the values given to it are actually numbers. If not it will return false. 2024-10-10 16:54:34 +01:00
Richard Davey
acc96c74a5 Format fix 2024-10-10 16:25:43 +01:00
Richard Davey
2d01f5d3ae
Merge pull request #6916 from rexrainbow/bug-text-measure-width
Fix rendering bug when using letterSpacing
2024-10-10 16:24:13 +01:00
Richard Davey
7988f4dc5d jsdoc link fix 2024-10-08 17:46:51 +01:00
Richard Davey
7b2eb11366 jsdoc link fix 2024-10-08 16:49:00 +01:00
Richard Davey
40fafa4d4e Invalid link fixed 2024-10-08 16:08:56 +01:00
Rex
cbca9ecf1f Fix bug 2024-10-08 05:56:33 +08:00
Rex
03ce4cecad Twist logic 2024-10-07 20:39:28 +08:00
Rex
0105a20afe Fix bug 2024-10-07 13:29:15 +08:00
Richard Davey
57965916e3 Update CHANGELOG-v3.85.3.md 2024-10-04 15:53:30 +01:00
Richard Davey
c066ffef1b The HexagonalTileToWorldXY function incorrectly used this instead of layer causing it to error in hex tilemaps with x axis staggering. Fix #6913 2024-10-04 15:53:27 +01:00
Richard Davey
05e6fd1081 Create CHANGELOG-v3.85.3.md 2024-10-04 15:47:40 +01:00
Richard Davey
574760186d The Array.MoveAbove function didn't recalculate the baseIndex after the splice, meaning the item would end up in the wrong location. 2024-10-04 15:47:35 +01:00
Richard Davey
af31ca2b97 3.85.3 prep 2024-10-04 15:47:29 +01:00
Stephen Thompson
9e328c97a4
Add files via upload 2024-09-26 13:44:51 +01:00
Richard Davey
580ff3074c
v3.85.2 2024-09-17 20:23:08 +01:00
Richard Davey
d6ccb63de7
Update README.md 2024-09-17 20:22:57 +01:00
Richard Davey
e014aeb3e3
Update CHANGELOG.md 2024-09-17 20:22:54 +01:00
Richard Davey
0a33856fd0
Update CHANGELOG-v3.85.2.md 2024-09-17 20:22:47 +01:00
Richard Davey
91eb34c3e9 Update CHANGELOG-v3.85.2.md 2024-09-17 19:01:16 +01:00
Richard Davey
3a74008e30 TransformMatrix.setQuad has been fixed so it no longer rounds the quad dimensions, only the x/y coordinates. This fixes a bug where it could give slightly different (+- 1px) sized textures based on how the dimensions were rounded when using roundPixels on the camera. Fix #6874 2024-09-17 19:01:10 +01:00
Richard Davey
4cfa44dce4 Update CHANGELOG-v3.85.2.md 2024-09-17 15:12:03 +01:00
Richard Davey
3057998965 TS defs issue fix #6904 2024-09-17 15:12:00 +01:00
Richard Davey
ad5b38b1cb WebGLRenderer.setExtensions is a new method that queries the GL context to get the list of supported extensions. Which it then sets into the class properties. This method is called internally as part of the init and restore process.
When the WebGL context was restored it would incorrectly try to call `init.setupExtensions()` which didn't exist. It now calls the correct method, `WebGLRenderer.setExtensions`. Fix #6905
2024-09-17 15:08:20 +01:00
Richard Davey
e41b3be8ff v3.85.2 version 2024-09-17 15:07:34 +01:00
Richard Davey
6d68565b51 v3.85.1 2024-09-05 18:44:25 +01:00
Richard Davey
556847750e Updated Layer jsdocs, which resolves a TypeScript extends error. 2024-09-05 17:37:50 +01:00
Richard Davey
65f53d85e2 v3.85 dist build 2024-09-05 14:56:10 +01:00
Richard Davey
5940c2cd17
Update README.md 2024-09-05 13:47:02 +01:00
Richard Davey
19d46444b4
Update README.md 2024-09-05 13:45:28 +01:00
Richard Davey
81e9b56ad7
v3.85 Readme 2024-09-05 13:30:28 +01:00
Richard Davey
a45afc80c0
3.85 TS Defs 2024-09-05 11:30:15 +01:00
Richard Davey
8aa67ea165
Update package.json 2024-09-05 11:29:44 +01:00
Richard Davey
3f447fc5d6
Update CHANGELOG-v3.85.md 2024-09-05 11:29:37 +01:00
Richard Davey
b12f3bbaa0
Renamed methods to avoid Container conflicts 2024-09-05 11:29:29 +01:00
Richard Davey
4c2f2ed899
Added getDisplayList method 2024-09-05 11:29:18 +01:00
Richard Davey
7bd23db219 Fixed incorrect version numbers 2024-09-05 09:50:39 +01:00