Commit graph

3350 commits

Author SHA1 Message Date
Ben Richards
08606d934c Use UUID names for dynamic textures.
This resolves tighter requirements for texture names.
2024-11-18 16:01:49 +13:00
Ben Richards
136e35099e Revert "Fix reversion of roundPixels handling."
This reverts commit f9d42fe768.
2024-11-18 10:07:11 +13:00
Ben Richards
a4871ea319 Revert "Further fix roundPixels regression."
This reverts commit 79bcca03d8.
2024-11-18 10:07:01 +13:00
Ben Richards
79bcca03d8 Further fix roundPixels regression. 2024-11-15 19:20:05 +13:00
Ben Richards
f9d42fe768 Fix reversion of roundPixels handling. 2024-11-15 18:08:48 +13:00
Richard Davey
f0ad396974
type errors fixed 2024-11-14 23:06:27 +00:00
Richard Davey
b00ba89317
Final removal of Point objects 2024-11-14 21:37:49 +00:00
Richard Davey
4527ec67ca Removed PI2 and swapped TAU to it. Added PI_OVER_2. 2024-11-14 18:21:25 +00:00
Richard Davey
04694e369b Removes Set and moved to using JS native Set. Updated functions accordingly. 2024-11-14 16:51:10 +00:00
Richard Davey
e550202b28
v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
Richard Davey
37a6dc6f9f
Merge pull request #6930 from samme/major/particle-anims-optional
Make particle animation state optional
2024-11-13 22:27:47 +00:00
Richard Davey
4018be0bd3
Merge pull request #6941 from drakang4/master
Fix stream parameter type of video.loadMediaStream
2024-11-13 22:23:39 +00:00
Richard Davey
a6bffcdf26
Merge pull request #6920 from bagyoni/bitmaptext-idx
Fix calculation of idx in GetBitmapTextSize
2024-11-13 22:21:27 +00:00
Heeryong Kang
0123081aa9
Fix stream parameter type of video.loadMediaStream 2024-11-13 12:08:22 +09:00
Jessime Kirk
0f6e37ebfd
loose -> lose typo in Container.js 2024-10-29 13:58:28 -07:00
samme
fbdfdb884c Make particle animation state optional 2024-10-23 14:33:11 -07:00
Attila Bágyoni
95254316b3 Fix calculation of idx in GetBitmapTextSize 2024-10-12 10:39:02 +02:00
Attila Bágyoni
21efdc57e7 Remove dead code in GetBitmapTextSize 2024-10-12 10:22:39 +02: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
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
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
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
556847750e Updated Layer jsdocs, which resolves a TypeScript extends error. 2024-09-05 17:37:50 +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
Richard Davey
f5b4691166 Fixed illegal use of destructuring. 2024-09-05 09:44:54 +01:00
Richard Davey
dfe3ec3aba Fixed lint errors and lines redeclaration 2024-09-05 09:39:51 +01:00
Richard Davey
45d2d6f939 Tidied up and renamed the new depth ordering functions 2024-09-05 09:37:37 +01:00
Richard Davey
dc714b10bd lint fixes 2024-09-05 09:35:19 +01:00
Richard Davey
25f20485a2
Merge pull request #6819 from moufmouf/fix-dom-zoom-origin
Fixing DomElement position when camera zoom != 1
2024-09-03 14:36:59 +01:00
Zeke Chan
780def8cf9 Fix #6860 BitmapText not wrapping lines in some cases 2024-09-03 15:52:10 +08:00
Richard Davey
c308c430c3
The NineSlice Game Object will now guard against an invalid texture by checking for the frame and textureFrame vars before trying to read values from them. Fix #6804 2024-09-02 22:40:41 +01:00
Richard Davey
fcd0f7180c
The Mesh WebGLRenderer will now recalculate the vertexOffset correctly if the batch flushes, fixing an issue where it would display missing triangles in a mesh after a batch flush. Fix #6814 2024-09-02 22:34:29 +01:00
Richard Davey
98ea091edc
Video.getFirstFrame is a new method that can be used to load the first frame of the Video into its texture without starting playback. This is useful if you want to display the first frame of a video behind a 'Play' button, without calling the 'play' method. Fix #6695 2024-09-02 22:02:55 +01:00
Luca Fagioli
0cf92cba50
Update TextStyle.js 2024-09-02 11:06:01 +02:00
Richard Davey
c86b5b2528 Make Layer extend event emitter in the docs 2024-08-29 14:05:17 +01:00
samme
7fd11d2e98 Docs: clarify moveAbove(), moveBelow() 2024-08-23 08:50:47 -07:00
Richard Davey
5b972ae38a Added resetCursor boolean to disableInteractive and removeInteractive methods 2024-08-07 18:36:02 +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
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