Commit Graph

  • 6943c9bbca Reverted a change made in TouchManager that would prevent clicks from outside the game window from being registered. Fix #6747 Richard Davey 2024-02-27 15:36:34 +00:00
  • 229f9232f4 Modified onMouseUpWindow and onMouseDownWindow in the MouseManager so they now check for sourceCapabilities.firesTouchEvents and if found, abort registering the event. This new browser event property is designed to prevent you accidentally registering a Mouse Event when a Touch Event has just occurred (see https://developer.mozilla.org/en-US/docs/Web/API/InputDeviceCapabilities/firesTouchEvents) #6747 Richard Davey 2024-02-27 15:36:23 +00:00
  • fb47fcf455 Update const.js Richard Davey 2024-02-27 14:59:29 +00:00
  • b1806fd721 Remove unsynced flipY from Shader and DynamicTexture textures. This might be causing some issues with context restore, and seems entirely unnecessary. Ben Richards 2024-02-27 17:29:49 +13:00
  • 1b77881dd4 Ensure TextureSource.setFlipY always updates the texture. When it's a Canvas or Video, at least. Ben Richards 2024-02-27 15:17:52 +13:00
  • d5b9c684a3 marked updateVelocity as optional parameter Lukas Dachtler 2024-02-26 23:42:20 +01:00
  • ec4a9d7328 Also revert release name. Ben Richards 2024-02-27 11:40:33 +13:00
  • 2615cf6a0f Prepare 3.80.1 bugfix release. Ben Richards 2024-02-27 11:24:04 +13:00
  • 37ba3510f2 Fix RenderTexture crashing in the presence of a light. More generally, anything with a default/no normal map should be fixed. Ben Richards 2024-02-26 17:45:52 +13:00
  • 7eede9d236 Standardise texture update in Shader.initSampler2D. Ben Richards 2024-02-26 16:19:24 +13:00
  • cab4bab15e Eliminate duplicate code in WebGL video handling. This involves a new method, videoToTexture. Ben Richards 2024-02-23 19:16:18 +13:00
  • 9a5b51dd27 Eliminate duplicate code in WebGL texture creation/update. This should make the code lighter and more maintainable. UNPACK_FLIP_Y_WEBGL is now always set, where previously it was allowed to just remain default (false); this is necessary for the new code path. Uint8Array sources are now allowed to generate MIPMaps. WebGLTextureWrapper.update now checks the type of pixels, although it should only ever be the final case. Ben Richards 2024-02-23 18:43:27 +13:00
  • 42039a144e Fix failure to restore compressed textures after WebGL context loss. Ben Richards 2024-02-23 17:54:26 +13:00
  • 3cd756dbe9 Fix new WebGLTextures remaining bound after creation. This caused an error when calling Shader.setRenderToTexture() after the game started running. The leftover texture caused a temporary cyclic reference with the new Framebuffer. The actual rendering pipeline was not affected. Ben Richards 2024-02-22 19:01:03 +13:00
  • e0f9e7d1d0 Preparing for v3.90 development Richard Davey 2024-02-21 23:15:21 +00:00
  • a4aa78bf80 v3.80 Release v3.80.0 Richard Davey 2024-02-21 22:41:51 +00:00
  • 66ab05f89b Update README.md Richard Davey 2024-02-21 22:39:36 +00:00
  • 57b7b09597 Fixed jsdoc Richard Davey 2024-02-21 22:39:29 +00:00
  • 64416f986d Update CHANGELOG-v3.80.md Robert Kowalski 2024-02-21 17:10:00 -05:00
  • 143d1d9be9 Merge branch 'master' of https://github.com/phaserjs/phaser Richard Davey 2024-02-21 21:31:54 +00:00
  • 89afecc597 Swapped to the ComputedSize component, moved metadata handler logic to the new inline setSizeToFrame method Richard Davey 2024-02-21 21:31:51 +00:00
  • 60aa42fec4 Quick cleanup and documentation update Robert Kowalski 2024-02-21 16:12:29 -05:00
  • 7e848e66fa Add documentation about fixed frame size on plane animation Robert Kowalski 2024-02-21 16:07:24 -05:00
  • 198598882e Document non-optional texture update flags correctly. Ben Richards 2024-02-22 09:56:17 +13:00
  • a0aa09ff31 Fix WebGL errors when updating video textures. Ben Richards 2024-02-22 09:18:12 +13:00
  • 52554ea962 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 17:42:42 +00:00
  • e97336acb5 v3.80 build files Richard Davey 2024-02-21 13:32:36 +00:00
  • 5a12f2a193 Preparing for v3.80 release Richard Davey 2024-02-21 13:31:13 +00:00
  • c1e61e6421 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 13:25:30 +00:00
  • ff945e1595 Fix merge error Richard Davey 2024-02-21 13:25:08 +00:00
  • c445303ffb Revert define changes as they don't work Richard Davey 2024-02-21 13:23:52 +00:00
  • 7959f373ac Updated webpack Richard Davey 2024-02-21 13:22:36 +00:00
  • 707c03b1f5 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 13:00:50 +00:00
  • d25d65835a Update NineSliceRender.js Richard Davey 2024-02-21 12:59:40 +00:00
  • 509f78ed72 Merge branch 'master' of https://github.com/phaserjs/phaser Richard Davey 2024-02-21 12:57:55 +00:00
  • 7aaa976a4e Updated webpack config DefinePlugin use and corresponding defs to allow those crazy souls who import source directly on node to have a better life #6644 Richard Davey 2024-02-21 12:57:48 +00:00
  • 9d155d8dde Revert "Add bounce event to arcade physics Fix #6406" Robert Kowalski 2024-02-21 07:22:57 -05:00
  • 4a85524425 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 01:21:35 +00:00
  • 5ff0574385 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 01:11:46 +00:00
  • d70e3f453c The ArcadePhysics.World.collideSpriteVsTilemapLayer method has been modified so that the body bounds are now expanded by the size of the scaled base tile in the Tilemap Layer. This fixes an issue where the check would skip over-sized tiles that were outside the bounds of the body. Mostly noticeable on layers that had a different base tile size to the map itself. Fix #4479 Richard Davey 2024-02-21 01:11:43 +00:00
  • 708733e7a3 Update CHANGELOG-v3.80.md Richard Davey 2024-02-21 00:17:11 +00:00
  • d855fa73d3 The TilemapWebGLRenderer function has been fixed so it now uses the TileSet width and height for the tile draw command. This fixes an issue where the Tilemap would render incorrectly if the base tile size was different to the tile size. Fix #5988 Richard Davey 2024-02-21 00:17:09 +00:00
  • c273a1c9af Handle non-sprite sheets Richard Davey 2024-02-21 00:01:28 +00:00
  • 862f75089e Merge branch 'master' of https://github.com/phaserjs/phaser Richard Davey 2024-02-20 23:56:21 +00:00
  • 43a77245c5 Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 23:56:18 +00:00
  • 133073a55e The Tileset.updateTileData method has two new optional parameters offsetX and offsetY which allow you to set the offset that the tile data starts from within the base source texture. Richard Davey 2024-02-20 23:56:14 +00:00
  • 724ed7ec17 Texture#getFrameBounds is a new method that will return the bounds that all of the frames of a given Texture Source encompass. This is useful for things like calculating the bounds of a Sprite Sheet embedded within a Texture Atlas. Richard Davey 2024-02-20 23:53:26 +00:00
  • 085bfa0cac Use the TextureManager Richard Davey 2024-02-20 23:53:11 +00:00
  • 4df43d7bed Math.RectangleLike is a new typedef that defines a rectangle-like object with public x, y, width and height properties. Richard Davey 2024-02-20 23:52:54 +00:00
  • 60176e4b39 Merge remote-tracking branch 'origin/master' Ben Richards 2024-02-21 11:49:15 +13:00
  • 13d6defb33 Fix rare text sizes failing to render. If initialized at a power-of-two resolution, then resized to a non-power-of-two resolution, some extra parameters must be updated. Ben Richards 2024-02-21 11:48:59 +13:00
  • 5d0c50c704 Merge branch 'master' of https://github.com/phaserjs/phaser Richard Davey 2024-02-20 22:46:12 +00:00
  • d054414ec4 Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 22:46:09 +00:00
  • 68e089a380 The ScaleManager.orientationChange event listener will now directly refresh the Scale Manager internals. This fixes an issue where the orientation change event would fire after the window resize event, causing the Scale Manager to incorrectly report the new orientation on Chrome on iOS. Fix #6484 Richard Davey 2024-02-20 22:46:05 +00:00
  • 542bac2d02 Add bounce event to arcade physics Fix #6406 Robert Kowalski 2024-02-20 17:16:32 -05:00
  • 450b0d244f Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 21:38:45 +00:00
  • ebe627836e Fixed object creation, sprite origin and added useSpriteSheet property Richard Davey 2024-02-20 21:38:42 +00:00
  • 0002c009f7 Updated jsdocs Richard Davey 2024-02-20 21:38:19 +00:00
  • 6eba4f25ef Update CHANGELOG-v3.80.md Robert Kowalski 2024-02-20 14:54:12 -05:00
  • 77778a07aa Just updateDisplayOrigin without defaults Fix #6655 Robert Kowalski 2024-02-20 14:21:36 -05:00
  • 4d50ececdd Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 18:39:55 +00:00
  • 89811d7388 The Tilemap.createFromTiles method has been updated. It will now copy the following properties, if set in the Tile, to the Sprites it creates: rotation, flipX, flipY, alpha, visible and tint. If these properties are declared in the spriteConfig passed to the method, those will be used instead, otherwise the Tile values are used. Fix #6711 Richard Davey 2024-02-20 18:39:52 +00:00
  • ffc0518f2d Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 17:50:47 +00:00
  • 2dfd421495 WebAudioSound will now set hasEnded = false as part of stopAndRemoveBufferSource, after the source has been stopped and disconnected. This should prevent it from being left in a true state if the source onended callback fired late, after the sound had been re-played. Fix #6657 Richard Davey 2024-02-20 17:50:44 +00:00
  • 8c9f7c7b37 Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 16:47:21 +00:00
  • 429dcf0ed0 Clarified docs. Fix #6516 Richard Davey 2024-02-20 16:47:18 +00:00
  • e87277aa1d Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 16:35:06 +00:00
  • 38da7de892 Fix Tilemap properties JSDoc type. Fix #6331 Richard Davey 2024-02-20 16:32:48 +00:00
  • 9b80761e36 Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 16:31:19 +00:00
  • 35932d9fc2 Update CHANGELOG-v3.80.md Robert Kowalski 2024-02-20 11:28:57 -05:00
  • 76a1062d50 Clarify container level. Fix #6699 Richard Davey 2024-02-20 16:23:29 +00:00
  • e1ba762099 Update CHANGELOG-v3.80.md Richard Davey 2024-02-20 16:23:05 +00:00
  • 371a8b31a9 Add documentation on crop functionality Fix #6589 Robert Kowalski 2024-02-20 11:21:47 -05:00
  • a74f99563b Fix spritesheet from atlas from compressed texture. Ben Richards 2024-02-20 21:45:06 +13:00
  • 93b4b083f1 Fix setting unnecessarily high texture filters. Ben Richards 2024-02-20 13:10:08 +13:00
  • a2178c8466 Fix MIPMaps being disabled for compressed textures. Ben Richards 2024-02-20 13:02:19 +13:00
  • 1f8276ac76 Updated copyright year, company and author Richard Davey 2024-02-19 17:12:18 +00:00
  • 7a6845f6bf Use GetFastValue so all children are added to the container via GameObjectCreator Fix #6743 Robert Kowalski 2024-02-19 12:09:07 -05:00
  • 514f4db5fc Update CHANGELOG-v3.80.md Richard Davey 2024-02-19 16:37:09 +00:00
  • 5dc286268f A new property is available in the Game Configuration specifically for setting the 'snap' values for the Scale Manager. You can now set snap: { width, height } in the game config. This is then passed to the display size by the Scale Manager and used to control the snap values. Fix #6629 (thanks @musjj @samme) Richard Davey 2024-02-19 16:35:42 +00:00
  • d2ce0f9358 Config#snapWidth and Config#snapHeight are new properties in the Game Config that hold the parsed snap config values, as used by the Scale Manager. Richard Davey 2024-02-19 16:35:27 +00:00
  • 1199178eff beta 3 tag for safety Richard Davey 2024-02-19 16:27:19 +00:00
  • 0ee06b65b3 Docs fix Richard Davey 2024-02-19 16:27:07 +00:00
  • 709a1d90ce Update CHANGELOG-v3.80.md Richard Davey 2024-02-19 15:36:40 +00:00
  • 55b4c8db4a The Browser Device class will no longer think that Chrome is Mobile Safari on iOS devices. Fix #6739 Richard Davey 2024-02-19 15:36:37 +00:00
  • 2486b2b5cf Update CHANGELOG-v3.80.md Richard Davey 2024-02-19 15:31:55 +00:00
  • 21a10b736a Merge pull request #6728 from moufmouf/fix-postfxpipeline Richard Davey 2024-02-19 15:30:34 +00:00
  • 3c16bac39e Update CHANGELOG-v3.80.md Richard Davey 2024-02-19 15:28:25 +00:00
  • 56213a5f7e Update WebGLRenderer.js Richard Davey 2024-02-19 15:28:21 +00:00
  • de0a22964e WebGLPipeline.resizeUniform is a new property that is defined in the WebGLPipelineConfig. This is a string that defines a uResolution property, or similar, within the pipeline shader. If the WebGL Renderer resizes, this uniform will now be updated automatically as part of the pipeline resize method. It has been added to both the Multi and Mobile pipelines as default. This fixes issues where the pipelines were rendering with old resolution values, causing graphical glitches in mostly pixel-art games. Fix #6674 Richard Davey 2024-02-19 15:28:18 +00:00
  • 82b1a3e2aa Added missing copyright block Richard Davey 2024-02-19 15:01:56 +00:00
  • abbbf638f6 Update CHANGELOG-v3.80.md Richard Davey 2024-02-19 14:41:56 +00:00
  • a9012b19b4 The BitmapText.setFont method will now set the texture, size and alignment even if the same font key has been given as is already in use. Fix #6740 Richard Davey 2024-02-19 14:41:53 +00:00
  • 76903fcdb9 Merge pull request #6719 from Stan-Stani/master Richard Davey 2024-02-19 14:31:29 +00:00
  • 9a175caa39 Merge pull request #6734 from yaustar/master Richard Davey 2024-02-19 14:29:57 +00:00
  • 6d82af183c Merge pull request #6741 from samme/docs/tween-chain-callbacks Richard Davey 2024-02-19 14:28:48 +00:00
  • 747c961632 Remove documentation requiring linear color space in ASTC textures. This is no longer true. Ben Richards 2024-02-19 15:09:39 +13:00
  • a7f00773ff Properly detect mesh like gameObjects when supplying an input configuration Robert Kowalski 2024-02-18 08:01:22 -05:00
  • 89543c9880 Change S3TCRGB to S3TCSRGB. Ben Richards 2024-02-17 20:59:00 +13:00
  • f8ebbf38ef Verify compressed texture compatibility with WebGL and improve warnings. Ben Richards 2024-02-17 20:43:43 +13:00