Commit graph

19878 commits

Author SHA1 Message Date
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
Zeke Chan
23e287ef0e #6773 Fixed TweenChain fire onActive twice per chain iteration 2024-07-16 17:42:10 +08:00
Zeke Chan
f8dc6dcadb
Merge pull request #6782 from rexrainbow/depth-helper
Add some helper methods for changing rendering order
2024-07-16 16:29:45 +08:00
Zeke Chan
930d1ebcb6 Added missing var in for loop 2024-07-16 16:21:26 +08:00
Zeke Chan
340f90a627
Merge pull request #6793 from samme/feature/remove-asset-pack
Add Phaser.Loader.LoaderPlugin#removePack
2024-07-16 16:17:53 +08:00
Zeke Chan
71684df68e
Merge pull request #6802 from samme/feature/timeline-timeScale
Add Phaser.Time.Timeline#timeScale
2024-07-16 15:56:34 +08:00
Richard Davey
05f3cf6ee2 Update CHANGELOG-v3.85.md 2024-07-15 18:34:24 +01:00
Richard Davey
77bbab31f1 The RenderTarget will now automatically listen for the Renderer resize event if autoResize is true. This fixes an issue with Bitmap Masks where they wouldn't resize if the renderer resized. Fix #6769 2024-07-15 18:34:22 +01:00
Richard Davey
fde24247af Update CHANGELOG-v3.85.md 2024-07-15 17:44:43 +01:00
Richard Davey
5038c26051 The TextStyle.setStyle method will no longer mutate the given style object if it includes a numeric fontSize value. Fix #6863 2024-07-15 17:44:39 +01:00
Richard Davey
b14c580282 typo 2024-07-15 17:26:16 +01:00
Richard Davey
f2cc3c0b91 Update TilemapLayer.js 2024-07-15 17:24:27 +01:00
zekechan
944c6be993 BitmapText with maxWidth set does not wrap text correctly when a line ends with a white space. Fix #6860 2024-07-15 17:12:50 +08:00
Richard Davey
5f4dfa4fb8 Fixed call to lengthSq 2024-07-12 16:58:51 +01:00
Richard Davey
3ff119ae9e Update CHANGELOG-v3.85.md 2024-07-12 16:57:59 +01:00
Richard Davey
29426d198e Updated lookAtRH to call Vec3.lengthSq 2024-07-12 16:56:17 +01:00
Richard Davey
0560a787c5 Added missing subVectors method 2024-07-12 16:56:17 +01:00
Zeke Chan
7931e181a2 Updated maxWidth calculations 2024-07-12 15:34:48 +08:00
Zeke Chan
e9f92fab64 Revert "Updated maxWidth calculations"
This reverts commit 514f99d8aa.
2024-07-12 12:37:42 +08:00
Zeke Chan
548c920fb0 Update CHANGELOG-v3.85.md 2024-07-12 12:28:55 +08:00
Zeke Chan
514f99d8aa Updated maxWidth calculations 2024-07-12 12:27:13 +08:00
Zeke Chan
70d9ab2910 Update CHANGELOG-v3.85.md 2024-07-11 17:34:51 +08:00
Zeke Chan
9ecd99d173 Corrected currentLine offset 2024-07-11 17:34:47 +08:00
Zeke Chan
187de1042d Update CHANGELOG-v3.85.md 2024-07-11 17:09:43 +08:00
Zeke Chan
6fd0769915 Fixed line wrapping issue for lines ending with a space 2024-07-11 17:00:53 +08:00
Zeke Chan
3835ed417a Update CHANGELOG-v3.85.md 2024-07-11 16:59:18 +08:00
zekechan
a190054ce0 Update TileSprite.js
Default width and height are assigned to displayFrame separately.
2024-07-10 17:15:57 +08:00
zekechan
d92c8ff2f2 Update CHANGELOG-v3.85.md 2024-07-10 17:15:07 +08:00
Zeke Chan
a51e91e066
Merge pull request #6850 from rexrainbow/bugfix-drag
Fix drag-with-multiple-camera bug
2024-07-10 16:47:26 +08:00
Zeke Chan
7a726560ee
Merge pull request #6849 from samme/docs/tilemaps-nonNull
Docs: `nonNull` argument for `GetTileAt()` etc.
2024-07-10 16:44:12 +08:00
Zeke Chan
0c17c6ac7a
Merge pull request #6859 from rexrainbow/bug-input-disableInteractive-nottoponly
Use cloned drag pointers
2024-07-10 16:27:51 +08:00
Rex
464dae5c96 Use cloned drag pointers
Drag pointer might be removed under event, it will break processing loop of drag pointers #6820
2024-07-10 10:22:03 +08:00
Zeke Chan
47fb4794c0 Update CHANGELOG-v3.85.md 2024-07-09 11:21:22 +08:00
Zeke Chan
b2f6922c20 Changed group.length to group.getLength() 2024-07-05 15:25:14 +08:00
Zeke Chan
3bb1f6f96a Changed default collisionMask = 2147483647 2024-07-05 15:24:58 +08:00
Zeke Chan
547179c5b8 Changed default collisionMask = 2147483647 2024-07-05 15:24:51 +08:00
Zeke Chan
1b1ce752db Update CHANGELOG-v3.85.md 2024-07-05 15:24:32 +08:00
Zeke Chan
5e7a8aeb01 Update RenderTarget.js 2024-07-05 14:31:06 +08:00
Zeke Chan
b4e36b2c7c Update CHANGELOG-v3.85.md 2024-07-04 15:24:41 +08:00