Commit Graph

  • 5c676b8677 Update CHANGELOG-v3.89.md Zeke Chan 2025-03-17 23:14:49 +08:00
  • 87796a9f72 Fix #7029. Grid renders lineWidth correctly in WebGL mode. Zeke Chan 2025-03-17 23:12:30 +08:00
  • 478c965e55 Fix #7045. Check if game object exists before destroying it when stopping a scene. Zeke Chan 2025-03-17 22:39:42 +08:00
  • c03856a6d2 Add missing types. This addresses #7079 more thoroughly. Ben Richards 2025-03-17 21:23:55 +13:00
  • 9a870a0088 Merge pull request #7052 from mikuso/fix-jsdoc BenjaminDRichards 2025-03-17 20:05:56 +13:00
  • e4104e53f2 Update CHANGELOG-v3.89.md zekechan 2025-03-17 15:05:05 +08:00
  • f54f3ec23f Update CHANGELOG-v3.89.md zekechan 2025-03-17 15:03:19 +08:00
  • c283dced8f Merge pull request #7078 from SBCGames/Small-JSDoc-fixes BenjaminDRichards 2025-03-17 19:59:43 +13:00
  • 173ffb53a3 Fix attempt to access light when not included in scene. Ben Richards 2025-03-17 19:55:05 +13:00
  • a2a28a723d Fix #7077. RTL and LTR text shows correctly. zekechan 2025-03-17 14:42:09 +08:00
  • 5ac0835f85 Fix FillCamera node being misaligned/missing in framebuffers. Fixes #7059. Ben Richards 2025-03-17 17:55:07 +13:00
  • 2a477646c8 Fix parent matrix application. Ben Richards 2025-03-17 17:32:51 +13:00
  • 3483ae5679 Fix Filters#focusFilters setting resolution too late. It wouldn't take effect before the camera used those values to focus. This fixes #7080. Ben Richards 2025-03-17 14:37:54 +13:00
  • 30476ec97b Fix CaptureFrame example. Ben Richards 2025-03-16 11:32:51 +13:00
  • c256b797ba Fixed small bugs in doc, that produced warnings and errors when building Typescript defs. Tom Atom 2025-03-14 21:02:21 +01:00
  • 86793cedb6 Update CHANGELOG-v3.89.md Zeke Chan 2025-03-14 22:17:26 +08:00
  • 780a41ba8e Fix #7048. Added persist check on tween chains. Zeke Chan 2025-03-14 22:17:21 +08:00
  • 09e786c493 Merge branch 'master' of https://github.com/phaserjs/phaser Zeke Chan 2025-03-14 17:57:19 +08:00
  • 0e866371f6 Update CHANGELOG-v3.89.md Zeke Chan 2025-03-14 17:57:17 +08:00
  • 27c7fed65f Merge pull request #7053 from Snoturky/patch-1 Zeke Chan 2025-03-14 17:55:28 +08:00
  • cc75f56cd6 Fix Y boundary errors in TilemapGPULayer. These must have been introduced when we swapped texture orientation. I've also included a commented-out debug code for future use. Ben Richards 2025-03-14 15:51:19 +13:00
  • 7245079bce Add warnings about using setMask() in WebGL. Ben Richards 2025-03-14 14:39:46 +13:00
  • cabca3631d Add CaptureFrame object for capturing framebuffer during rendering. Also tidy up some render node references, and add Camera#forceComposite to support capture. Ben Richards 2025-03-14 11:56:40 +13:00
  • 3e79ee5a62 Update CHANGELOG-v3.89.md Zeke Chan 2025-03-13 12:46:00 +08:00
  • 7492524011 Merge pull request #7066 from samme/particles-moveTo-better Zeke Chan 2025-03-13 12:23:25 +08:00
  • b2b7246338 Update CHANGELOG-v3.89.md Zeke Chan 2025-03-13 12:19:34 +08:00
  • de049a0ea1 Allow Mask to use world transforms by preference. This helps objects inside Containers to behave as expected. Ben Richards 2025-03-13 16:50:54 +13:00
  • c67ed6479a Update CHANGELOG-v3.89.md Richard Davey 2025-03-12 18:53:51 +00:00
  • 403f9403bc Merge pull request #7055 from justin-calleja/some-jsdoc-edits Richard Davey 2025-03-12 18:51:57 +00:00
  • 0dc04c5458 Fix #7070. Correctly use animation frame duration when it is set. Zeke Chan 2025-03-12 18:10:25 +08:00
  • d898f02972 typo Justin Calleja 2025-03-12 09:49:52 +01:00
  • 3557e3839b fix description Justin Calleja 2025-03-12 09:42:31 +01:00
  • 4218ed5438 pace of sentence Justin Calleja 2025-03-12 09:39:06 +01:00
  • 9cb8ac38d1 typo Justin Calleja 2025-03-12 09:37:08 +01:00
  • 2b317d6eeb Add DynamicTexture#capture method for drawing objects in world space. Ben Richards 2025-03-12 19:25:08 +13:00
  • b8643251fc Merge pull request #7068 from samme/fix/particle-color-ease-update Zeke Chan 2025-03-12 11:15:28 +08:00
  • c794c3dca2 Prevent RenderTexture from rendering itself. Ben Richards 2025-03-11 16:41:01 +13:00
  • 1d379b0672 Allow renderWebGL functions to introspect display list. Most of them don't, but I've wired it into Extern just in case. Ben Richards 2025-03-11 12:17:48 +13:00
  • 4edc624dec v4.0.0-beta.7 v4.0.0-beta.7 Richard Davey 2025-03-10 22:25:29 +00:00
  • aa7f4d7e89 Opt Shape out of auto filter focus, to preserve stroke around the edges. Ben Richards 2025-03-10 21:38:41 +13:00
  • 26013595be Add beta 7 CHANGELOG. Ben Richards 2025-03-10 17:31:08 +13:00
  • 184ac24fa8 Fix TileSprite not correctly applying smoothPixelArt to frames. This change causes the MakeSmoothPixelArt shader addition to compile _after_ the MakeTexCoordFrameWrap addition, as intended. Ben Richards 2025-03-10 15:58:39 +13:00
  • 746cd8dc10 Fix filterFocus on scaleFactor 0 objects. Ben Richards 2025-03-07 20:42:17 +13:00
  • 1d060505d0 Fix SpriteGPULayer#generateFrameData failing on animation config objects. Ben Richards 2025-03-07 18:48:33 +13:00
  • 9cda4efbc3 Apply camera matrix changes to getWorldPoint (fixing Input). Ben Richards 2025-03-07 17:00:35 +13:00
  • bda874e461 Fix internal-to-external draw-out check in Camera render node. If the resolution matched between internal and external, it would skip draw-out, even if the framebuffer needed reorienting. Ben Richards 2025-03-07 16:20:29 +13:00
  • e2cecb76ac Add TransformMatrix#copyWithScrollFactorFrom and use it. This unifies a lot of rendering calls and reduces function invocations. Ben Richards 2025-03-07 15:07:30 +13:00
  • b316310138 Fix parent matrix for BitmapText. Ben Richards 2025-03-07 12:15:58 +13:00
  • 40f977ee92 Correctly handle parent matrix for Tilemaps. Tilemaps didn't historically take parent matrices, which interferes with the new camera paradigm (and what else?). I've standardized the approach. Ben Richards 2025-03-07 12:12:07 +13:00
  • 797329d153 Apply camera matrix changes to TileSprite. Ben Richards 2025-03-06 21:50:45 +13:00
  • 3328739fed Apply camera matrix changes to TilemapLayer. Ben Richards 2025-03-06 21:08:27 +13:00
  • fced3918c4 Apply camera matrix changes to TilemapGPULayer. Ben Richards 2025-03-06 19:17:38 +13:00
  • 5f03703bd0 Apply camera matrix changes to SpriteGPULayer. Ben Richards 2025-03-06 18:29:55 +13:00
  • d1a220ea50 Apply camera matrix changes to Light shader uniform calculations. Ben Richards 2025-03-06 18:07:00 +13:00
  • f20256e928 Apply camera matrix changes to Canvas renderer. Ben Richards 2025-03-06 17:13:59 +13:00
  • fc0249d4a5 Fix ParticleEmitter transforms. Ben Richards 2025-03-06 17:13:40 +13:00
  • c4e32e5fb8 Fix GetCalcMatrix usage. Ben Richards 2025-03-06 16:33:34 +13:00
  • bd1562d759 Fix Filters camera focus and transform. This is particularly relevant to externally-focused internal cameras. Ben Richards 2025-03-06 15:24:34 +13:00
  • 9e470cc9ac Merge remote-tracking branch 'origin/v4.0.0' into v4.0.0 Ben Richards 2025-03-05 16:02:43 +13:00
  • 6b185fb184 Set roundPixels to OFF by default. Addresses #7065. Ben Richards 2025-03-05 15:54:51 +13:00
  • 6c36aa8919 Fix external filter draw-out flipping the Y axis. Ben Richards 2025-03-05 15:10:23 +13:00
  • 0ae001deae Handle undefined/NaN comparisons in WebGLProgramWrapper uniform updates. Ben Richards 2025-03-05 14:07:03 +13:00
  • 3dcc2fd555 use overlapCallback for overlap named methods Justin Calleja 2025-03-04 21:51:25 +01:00
  • ea2a6c6bd7 Update CHANGELOG-v3.89.md Richard Davey 2025-03-04 18:56:03 +00:00
  • dbffb12277 The Rectangle Shape Game Object now supports rounded corners via the new setRounded method across both WebGL and Canvas. Richard Davey 2025-03-04 18:55:59 +00:00
  • bea29802b8 Update CHANGELOG-v3.89.md Richard Davey 2025-03-04 15:42:19 +00:00
  • 0455b8f166 An Error will now be thrown if you try to create a DOM Game Object but haven't correctly configured the Game Config (thanks @samme) Richard Davey 2025-03-04 15:42:16 +00:00
  • 4c1e8ad398 Merge pull request #7056 from samme/feature/throw-no-dom-container Richard Davey 2025-03-04 15:22:14 +00:00
  • 9ead0feee3 Merge pull request #7071 from rexrainbow/expand-scale-mode-clamp-size Richard Davey 2025-03-04 15:18:23 +00:00
  • 562795d2f9 Preparing for v3.89 Richard Davey 2025-03-04 15:17:49 +00:00
  • 8421762159 Apply camera matrix changes to ParticleEmitter. Ben Richards 2025-03-04 21:23:27 +13:00
  • 408a39d597 Skip parent matrix in camera if it's the identity. This should save a large number of computations. Ben Richards 2025-03-04 21:05:34 +13:00
  • 2ef8397e31 Apply camera matrix changes to DOMElement. Ben Richards 2025-03-04 20:54:15 +13:00
  • 7dc2aba3d9 Clamp canvas size Rex 2025-03-04 11:57:23 +08:00
  • 3dafa5abb8 Compensate for camera scroll factor in Filters focus. Ben Richards 2025-03-04 11:48:35 +13:00
  • 2a5b1f3803 Fix focus on game object origin in Filters. Ben Richards 2025-03-04 11:17:12 +13:00
  • abc7deb88b Apply camera matrix changes to Filters. Also tidy up some TransformerImage code. Ben Richards 2025-03-03 21:00:07 +13:00
  • 7438f879b3 Apply camera matrix changes to Blitter. Ben Richards 2025-03-03 18:33:59 +13:00
  • 5c0150056f Fix camera matrix order of operations. Ben Richards 2025-03-03 18:33:40 +13:00
  • 6b7ef02cef Apply camera matrix changes to GetCalcMatrix. Ben Richards 2025-03-03 16:15:56 +13:00
  • 01de546c57 Change camera to better represent view/position matrix transforms. This drastically changes the way camera transforms work. Currently only systems which use TransformerImage render correctly. More to follow. Ben Richards 2025-03-03 14:57:04 +13:00
  • b61e97dcb7 Clear RGB arrays before repopulating samme 2025-03-01 09:57:05 -08:00
  • 500696d587 Set moveTo by presence in config samme 2025-03-01 08:48:34 -08:00
  • 7d762599f6 Changed JSDocs for super.preUpdate from (delta, time) to (time, delta) Zeke Chan 2025-02-27 19:01:53 +08:00
  • dab9371003 Support flipY in TextureSource for non-canvas/video sources. Ben Richards 2025-02-27 12:15:09 +13:00
  • e0dd00845c Fix example for Extern.render. Ben Richards 2025-02-26 17:31:28 +13:00
  • 5bd80dfefe Reorder SpriteGPULayer attributes for maintainability. Ben Richards 2025-02-25 15:52:56 +13:00
  • 18869c66c4 Add example for using Extern.render in Phaser v4. Ben Richards 2025-02-25 10:55:53 +13:00
  • 1b5774c21c Fix SpriteGPULayer gravity encoding. Ben Richards 2025-02-24 19:16:57 +13:00
  • 837acaea87 Add SpriteGPULayer#getDataByteSize. This should make it easier to do encoded data manipulation. Ben Richards 2025-02-24 17:47:00 +13:00
  • c2608db97d Add creationTime to SpriteGPULayer.MemberAnimation. Ben Richards 2025-02-24 17:26:15 +13:00
  • 1d20cf4757 Allow non-looping animations in SpriteGPULayer. This supports one-off particle effects. Ben Richards 2025-02-24 15:21:47 +13:00
  • 5ba2625760 Allow negative acceleration in SpriteGPULayer Gravity ease. Ben Richards 2025-02-24 14:28:35 +13:00
  • 549cad9ca5 Document need for SpriteGPULayer animation ease enabling. Ben Richards 2025-02-24 14:19:01 +13:00
  • 623382c7a6 some jsdoc edits Justin Calleja 2025-02-19 21:12:57 +01:00
  • ed5424aac2 Fix detecting SpriteGPULayer segments full. Ben Richards 2025-02-22 14:47:57 +13:00
  • 49c7c14e41 Throw an error for missing DOM Container samme 2025-02-21 06:50:14 -08:00
  • a0dc9fe86a Add SpriteGPULayer#insertMembersData method. And simplify insertMembers. Ben Richards 2025-02-21 15:41:48 +13:00
  • faeda11e1a Add SpriteGPULayer#insertMembers method. Ben Richards 2025-02-20 21:18:38 +13:00
  • 0310c8a66f Further fix SpriteGPULayer segments. Ben Richards 2025-02-20 20:44:35 +13:00