Commit graph

19606 commits

Author SHA1 Message Date
Richard Davey
221eb1ae5d Added base64 property and onBase64Load method and removed data URI warnings 2024-02-01 19:23:26 +00:00
Richard Davey
324dcfba97 The XHRLoader will now return a fake XHR result object containing the decoded base64 data if a base64 file is detected, skipping the creation of a real XML Http Request object. 2024-02-01 19:23:26 +00:00
Richard Davey
aa0d60786f Update XMLFile.js 2024-02-01 19:23:26 +00:00
Richard Davey
8e4ea336c0 The ImageFile will now default to using the Image Load Element if a base64 file is detected, instead of throwing a console warning about unsupported types. 2024-02-01 19:23:26 +00:00
Robert Kowalski
cc1f64c333
Update CHANGELOG-v3.80.md 2024-02-01 13:28:14 -05:00
Robert Kowalski
d967da83d2 Merge branch 'master' of https://github.com/phaserjs/phaser 2024-02-01 13:10:42 -05:00
Robert Kowalski
0f55324632 pointerConstraint can't getWorldPoint with no camera. Fix #6684 2024-02-01 13:10:30 -05:00
Richard Davey
9025262b11 Update CHANGELOG-v3.80.md 2024-02-01 17:30:14 +00:00
Richard Davey
5bda070c98 The XHRLoader will now listen for ontimeout and if triggered it will hand over to the File.onError handler. This prevents the Loader from stalling if a file times out. Fix #6472 2024-02-01 17:30:10 +00:00
Richard Davey
e920685102 Update CHANGELOG-v3.80.md 2024-02-01 17:25:55 +00:00
Richard Davey
ceb92cb366 If you enable a Game Object for Input Debugging, the debug shape will no longer be rendered if the Game Object itself is not visible. Fix #6364 2024-02-01 17:25:52 +00:00
Richard Davey
d6d812fc86 Update Polygon docs re: getBounds. Fix #5441 2024-02-01 16:42:55 +00:00
Robert Kowalski
a71bb012a4
Update CHANGELOG-v3.80.md 2024-02-01 11:41:14 -05:00
Robert Kowalski
deba2d42b5 Merge branch 'master' of https://github.com/phaserjs/phaser 2024-02-01 11:18:55 -05:00
Robert Kowalski
86b8364dd2 preventDefault in onTouchEndWindow when DOM elements are over input 2024-02-01 11:18:54 -05:00
Richard Davey
56ee1c1238 Update CHANGELOG-v3.80.md 2024-02-01 14:02:24 +00:00
Richard Davey
a6e325807c The SpineFile.onFileComplete handler was running a regular expression against file.src instead of file.url, sometimes leading to double paths in the atlas paths on loading. Fix #6642 2024-02-01 14:02:21 +00:00
Richard Davey
2d6594cb18 Added setSlotAlpha to Spine 3 plugin 2024-02-01 14:02:10 +00:00
Richard Davey
b3722b1989 Update CHANGELOG-v3.80.md 2024-02-01 12:47:38 +00:00
Richard Davey
c444f53d28 * SpineGameObject.setSlotAlpha is a new method that allows you to set the alpha on a specific slot in a Spine skeleton. * The SpineGameObject.setAlpha method has had its 2nd parameter removed. This fixes needless slot look-ups during rendering when a Spine Game Object is inside a regular Container. If you need to set slot alpha, use the new setSlotAlpha method instead. Fix #6571 2024-02-01 12:47:35 +00:00
Richard Davey
5e0a40022e Update CHANGELOG-v3.80.md 2024-02-01 12:23:18 +00:00
Richard Davey
76831e88ec The Spine 4.1 Plugin will now call preUpdate automatically when the play method is called. This forces the new animation state to update and apply itself to the skeleton. This fixes an issue where Spine object would show the default frame in the Spine atlas for a single update before the animation started. Fix #5443 2024-02-01 12:23:08 +00:00
Ben Richards
a0f066c543 Restore WebGL context.
All textures and shaders should automatically recover from WebGL
context loss.
Dynamic textures will lose their contents, unfortunately, as the texture
was stored on the GPU.
Frame buffers still have some bugs to work out.
2024-02-01 16:59:00 +13:00
Robert Kowalski
3306fd19a0
Update CHANGELOG-v3.80.md 2024-01-31 17:51:46 -05:00
Ben Richards
587b6e7bcd Merge branch 'master' into webgl-wrappers 2024-02-01 11:00:08 +13:00
Richard Davey
4d3bdc8458 Update CHANGELOG-v3.80.md 2024-01-31 21:33:49 +00:00
Richard Davey
a2f47d65c1 Modified RandomDataGenerator.weightedPick method to avoid sampling past the last element. Fix #6701 2024-01-31 21:33:47 +00:00
Richard Davey
7c5e4dc2f6 Update CHANGELOG-v3.80.md 2024-01-31 21:22:43 +00:00
Richard Davey
45f553d8af x and y are non-optional. Fix #6518 2024-01-31 21:22:39 +00:00
Richard Davey
9499d2bb74 Update CHANGELOG-v3.80.md 2024-01-31 21:18:14 +00:00
Richard Davey
9bf53dd7c9 Added WebGLPipeline[] as a valid type for the pipeline property 2024-01-31 21:18:11 +00:00
Robert Kowalski
d6c61dbbc4
Update CHANGELOG-v3.80.md 2024-01-31 15:49:04 -05:00
Robert Kowalski
bfce4b7269 Merge branch 'master' of https://github.com/phaserjs/phaser 2024-01-31 15:34:22 -05:00
Robert Kowalski
a48db68b53 The PlaceOnLine Action now supports ease functions 2024-01-31 15:34:19 -05:00
Richard Davey
659ccd127e Update CHANGELOG-v3.80.md 2024-01-31 20:32:13 +00:00
Richard Davey
cf27547793 The Matter.Body function scale has been updated so if the Body originally had an inertia of Infinity this will be restored at the end of the call. This happens if you set a Matter Body to have fixed rotation. Fix #6369 2024-01-31 20:32:10 +00:00
Richard Davey
425ef3b472 Update CHANGELOG-v3.80.md 2024-01-31 20:23:46 +00:00
Richard Davey
51074c4567 The PostFXPipeline.postBatch method will now skip onDraw is the pipeline hasn't booted, introducing an artificial frame skip. This should potentially fix glitch errors on mobile devices where Post FX would appear corrupted for a single frame. Fix #6681 2024-01-31 20:23:43 +00:00
Richard Davey
fd1ab35419 Update CHANGELOG-v3.80.md 2024-01-31 19:35:13 +00:00
Richard Davey
c6c7fd60a6 The BloomFX and BlurFX and any custom pipeline that relies on using the UtilityPipeline full or half frame targets will now correctly draw even after the renderer size changes. Fix #6677 2024-01-31 19:35:10 +00:00
Richard Davey
92065facf0 You can now specify an autoResize boolean in the RenderTargetConfig which is passed to the Render Targets when they are created by a pipeline. 2024-01-31 19:15:21 +00:00
Richard Davey
c6f5638e45 Update CHANGELOG-v3.80.md 2024-01-31 18:12:54 +00:00
Richard Davey
97967288b6 DynamicTexture.setSize will now check to see if the glTexture bound to the current frame is stale, and if so, destroy it before binding the one from the Render Target. This fixes an issue where constantly destroy and creating Dynamic Textures would cause a memory leak in WebGL. Fix #6669 2024-01-31 18:12:51 +00:00
Richard Davey
ab6776e69f Update CHANGELOG-v3.80.md 2024-01-31 17:36:24 +00:00
Richard Davey
4ea4e55e0f DynamicTexture will now automatically call setSize(width, height) for both WebGL and Canvas. Previously it only did it for WebGL. This fixes an issue where DynamicTextures in Canvas mode would have a width and height of -1. Fix #6682 2024-01-31 17:36:21 +00:00
Richard Davey
4831095538 Update CHANGELOG-v3.80.md 2024-01-31 17:26:18 +00:00
Richard Davey
f258e11cb7
Merge pull request #6723 from samme/feature/renderer-custom-builds
Exclude the renderers by feature flag
2024-01-31 17:24:22 +00:00
Richard Davey
2489396d58 Updated docs 2024-01-31 17:15:38 +00:00
Richard Davey
78b7e9ddda Update CHANGELOG-v3.80.md 2024-01-31 16:53:21 +00:00
Richard Davey
8048d3d906 Update CHANGELOG-v3.80.md 2024-01-31 16:52:49 +00:00