Commit graph

19866 commits

Author SHA1 Message Date
Richard Davey
50196f4958 Disable autoResize flag. The size a DynamicTexture is created at is the size it should remain forever. 2024-08-06 18:58:31 +01:00
Richard Davey
c81c6cecc8 Remove the requirement for autoResize to be set, so anyone can resize a RenderTarget 2024-08-06 18:58:12 +01:00
Richard Davey
d4d6a4c308 Beta 3 tag 2024-08-06 18:41:11 +01:00
Roman Chaley
cdefe1f68c
Apply stroke letter by letter if there is custom letter spacing 2024-08-04 16:11:37 +02:00
zekechan
cc0bac0214 Removed empty line spacing added when text is undefined. Fix #6807 2024-07-30 13:40:53 +08:00
Richard Davey
a3470a08e5
Updated rounding to use Math.floor + 0.5 2024-07-28 14:56:53 +01:00
Wooseok Han
8a52c00cad
feat : add data argument in Scene.switch 2024-07-26 13:25:07 +09:00
Richard Davey
45db4b91e7 Updated change logs 2024-07-23 18:17:49 +01:00
Richard Davey
445d58faa9 v3.85 Beta 2 Release 2024-07-23 17:01:47 +01:00
Richard Davey
f519c582c7 Fixed jsdocs 2024-07-23 16:58:57 +01:00
Richard Davey
49456a08b8
Merge pull request #6870 from samme/feature/timestep-pauseDuration-2
Pass pauseDuration 0 in `Phaser.Core.Events#RESUME` after manual game resume
2024-07-23 16:53:01 +01:00
Richard Davey
412d0e5b71
Merge pull request #6869 from samme/docs/scene-events
Docs: correct args in some scene events
2024-07-23 16:52:33 +01:00
Richard Davey
33f3f0c777 Update CHANGELOG-v3.85.md 2024-07-23 16:39:52 +01:00
Richard Davey
abf857d949 The Texture.getFrameBounds method will now include the BASE texture in its calculations. This prevents it from returning a size of Infinity. This fixes an issue where a Tileset with margin/spacing loaded via load.spritesheet instead of load.image would have its margin and spacing ignored. Fix #6823 2024-07-23 16:39:49 +01:00
Richard Davey
ee2110c062 Removed debugging info. 2024-07-23 16:38:07 +01:00
Richard Davey
0d32e7bcbc Fixed jsdoc 2024-07-23 15:48:54 +01:00
Zeke Chan
994389d041
Merge pull request #6816 from jacklehamster/master
Add PR to fix null pointer exception.
2024-07-23 16:52:37 +08:00
Zeke Chan
54e555d56a Revert "#6816 Phaser.GameObjects.Components.FX#add fix null pipeline pointer"
This reverts commit 389e2af60f.
2024-07-23 16:51:45 +08:00
Zeke Chan
389e2af60f #6816 Phaser.GameObjects.Components.FX#add fix null pipeline pointer 2024-07-23 16:50:00 +08:00
Richard Davey
6c02206a90 Debugging tile spacing 2024-07-22 19:03:57 +01:00
Richard Davey
52085dba91 Don't call setTileSize or setSpacing unless values are given 2024-07-22 19:03:11 +01:00
Richard Davey
f44b10631d Update CHANGELOG-v3.85.md 2024-07-22 19:02:17 +01:00
Zeke Chan
c1cd18ef06 Update CHANGELOG-v3.85.md 2024-07-22 22:59:40 +08:00
samme
96bae29e62 Pass pauseDuration 0 for manual resume 2024-07-21 07:36:24 -07:00
Richard Davey
dc27d377f2 Include version in gameURL 2024-07-19 17:01:30 +01:00
Zeke Chan
5d74999620 Fixed "undefined" style bug causing crashes 2024-07-19 11:06:23 +08:00
samme
a98f1f5713 Docs: correct args in some scene events 2024-07-18 19:03:08 -07:00
Richard Davey
99260d2174
DynamicTexture now creates a Camera instance, not a BaseCamera 2024-07-18 21:21:33 +01:00
Richard Davey
4a7f2b8301
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-07-18 20:38:05 +01:00
Richard Davey
57ecb75e05
Update CHANGELOG-v3.85.md 2024-07-18 20:38:00 +01:00
Richard Davey
14429786a0
Merge pull request #6867 from samme/feature/timestep-pauseDuration
Add TimeStep#pauseDuration, pass in Phaser.Core.Events#RESUME
2024-07-18 20:34:57 +01:00
samme
2824185784 Add TimeStep#pauseDuration
Pass in Phaser.Core.Events#RESUME
2024-07-17 18:57:03 -07:00
zekechan
1334cdef7d Update phaser.json 2024-07-17 23:32:21 +08:00
zekechan
aacc610088 Update phaser.d.ts 2024-07-17 23:32:17 +08:00
zekechan
4332448e9f Moved errors description above @ignore tag 2024-07-17 23:32:12 +08:00
zekechan
3658cd145f Updated default location property from literal -1 to type number 2024-07-17 23:31:48 +08:00
zekechan
5ddd3bf8a2 Removed duplicate localScheme property 2024-07-17 23:30:53 +08:00
zekechan
f218a1bca2 Fix #6768 Tweens in a looping chain fire onStart only once 2024-07-17 15:35:06 +08:00
zekechan
112ca0dbf1 Fix #6773 Tweens in a chain fire onActive twice per chain iteration 2024-07-17 10:55:58 +08:00
Richard Davey
0017e7bcf7
Update CHANGELOG-v3.85.md 2024-07-16 23:18:36 +01:00
Richard Davey
26d85978d2
Apply Math.floor across all camera values during preRender 2024-07-16 23:18:31 +01:00
Richard Davey
2fc8f5b3f9
Floor, not round 2024-07-16 23:17:40 +01:00
Richard Davey
40224d7c25
Removed BaseCamera.preRender method as it isn't used (overriden by Camera.preRender) 2024-07-16 22:59:47 +01:00
Richard Davey
d12b51cb48
The Multi Pipeline batchSprite and batchTexture methods will now apply Math.floor to the sprite matrix calculations if camera round pixels is enabled. 2024-07-16 22:59:22 +01:00
Richard Davey
ccf09b3019
roundPixels now defaults to false again 2024-07-16 21:24:43 +01:00
Richard Davey
77f209bbe5
Removed the uRoundPixels shader uniform and from the pipelines. Pass camera.roundPixels to setQuad. 2024-07-16 21:24:16 +01:00
Richard Davey
160587fb2d
Inlined the BitmapText BatchChar math to avoid 16 function calls per character 2024-07-16 21:23:09 +01:00
Richard Davey
117b33b113
Update CHANGELOG-v3.85.md 2024-07-16 20:26:12 +01:00
Richard Davey
f2855c66dd
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-07-16 20:25:28 +01:00
Richard Davey
a8724b88d8
Calling Ellipse.setSize will internally call updateDisplayOrigin to retain position 2024-07-16 20:25:26 +01:00