Commit graph

3343 commits

Author SHA1 Message Date
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
Zeke Chan
5d74999620 Fixed "undefined" style bug causing crashes 2024-07-19 11:06:23 +08:00
Richard Davey
2fc8f5b3f9
Floor, not round 2024-07-16 23:17:40 +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
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
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