phaser3-typescript-spine
phaser3-typescript-spine copied to clipboard
Bump json5 and phaser
Removes json5. It's no longer used after updating ancestor dependency phaser. These dependencies need to be updated together.
Removes json5
Updates phaser from 3.22.0 to 3.55.2
Release notes
Sourced from phaser's releases.
Phaser v3.55.2
Bug Fixes
- Fixed an issue in
FillPathWebGL,IsoBoxWebGLRendererandIsoTriangleWebGLRendererfunctions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks@​samme)Phaser v3.55.1
New Features
- The
GameObject.destroymethod has a newfromSceneparameter, set automatically by Phaser. Fix #5716 (thanks@​rexrainbow)- The Game Object
DESTROYevent is now set the newfromSceneboolean as the 2nd parameter, allowing you to determine what invoked the event (either user code or a Scene change). Fix #5716 (thanks@​rexrainbow)Bug Fixes
- Fixed an issue with the TypeScript defs not recognising the Game Object Config properly. Fix #5713 (thanks
@​vforsh)- Fixed an issue in the
FillPathWebGLfunction which caused the filled versions of the Arc, Circle, Ellipse, Polygon and Star Shapes to not render. Fix #5712 (thanks@​rexrainbow)- Fixed rendering parameters in
IsoBoxandIsoTriangleGame Objects that stopped them from rendering correctly.- Added the missing
WebGLPipelineUniformsConfigtype def. Fix #5718 (thanks@​PhaserEditor2D)Phaser v3.55.0
New Features
GameObjects.DOMElement.pointerEventsis a new property that allows you to set thepointerEventsattribute on the DOM Element CSS. This isautoby default and should not be changed unless you know what you're doing.Core.Config.domPointerEventsis a new config property set viadom: { pointerEvents }within the Game Config that allows you to set thepointerEventscss attribute on the DOM Element container.- The
RenderTexture.endDrawmethod has a new optional booleanerasewhich allows you to draw all objects in the batch using a blend mode of ERASE. This has the effect of erasing any filled pixels in the objects being drawn.- All of the methods from the
GraphicsPipelinehave now been merged with theMultiPipeline, these includebatchFillRect,batchFillTriangle,batchStrokeTriangle,batchFillPath,batchStrokePathandbatchLine. The Graphics Game Object and all of the Shape Game Objects have been updated to use the new Multi Pipeline. This means that drawing Sprites and Graphics / Shapes will all batch together again. Fix #5553 #5500 (thanks@​venarius@​roberthook823)Updates
- The types have been improved for WebGL Compressed Textures (thanks
@​vforsh)Container.moveAboveis a new method that will move a Game Object above another in the same Container (thanks@​rexrainbow)Container.moveBelowis a new method that will move a Game Object below another in the same Container (thanks@​rexrainbow)List.moveAboveis a new method that will move a Game Object above another in the same List (thanks@​rexrainbow)List.moveBelowis a new method that will move a Game Object below another in the same List (thanks@​rexrainbow)- The
MeasureTextfunction, as used by Text Game Objects, has had its performance enhanced by removing a duplicate image data check and also now checks for metrics properties correctly (thanks@​valadaptive)WebGLShader.setUniform1has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform2has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform3has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform4has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.- The
WebGLShader.set1fv,set2fv,set3fv,set4fv,set1iv,set2iv,set3iv,set4iv,setMatrix2fv,setMatrix3fvandsetMatrix4fvmethods no longer try to do array comparisons when setting the uniforms, but sets them directly. Fix #5670 (thanks@​telinc1)Bug Fixes
- Have reverted all of the DOM Element CSS changes back to how they were in 3.52, causing both DOM Input and Phaser Input to work together properly again. Fix #5628 (thanks
@​sacharobarts)- The
MeshGame Object would incorrectly cull faces if the Scene Camera scrolled. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5570 (thanks@​hendrikras)Math.ToXYwill now return an empty Vector 2 if the index is out of range, where before it would return the input Vector2 (thanks@​Trissolo)- The
UpdateList.shutdownmethod will now remove thePRE_UPDATEhandler from the ProcessQueue correctly (thanks@​samme)- When loading a Video with a config object, it would not get the correct
keyvalue from it (thanks@​mattjennings)- The
GameObjectFactory.existingmethod will now acceptLayeras a TypeScript type. Fix #5642 (thanks@​michal-bures)- The
Input.Pointer.eventproperty can now be aWheelEventas well.- Fixed an issue when loading audio files from a Phaser project wrapped in Capacitor native app shell on iOS (thanks
@​consolenaut)
... (truncated)
Changelog
Sourced from phaser's changelog.
Version 3.55.2 - Ichika - 27th May 2021
Bug Fixes
- Fixed an issue in
FillPathWebGL,IsoBoxWebGLRendererandIsoTriangleWebGLRendererfunctions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks@​samme)Version 3.55.1 - Ichika - 26th May 2021
New Features
- The
GameObject.destroymethod has a newfromSceneparameter, set automatically by Phaser. Fix #5716 (thanks@​rexrainbow)- The Game Object
DESTROYevent is now set the newfromSceneboolean as the 2nd parameter, allowing you to determine what invoked the event (either user code or a Scene change). Fix #5716 (thanks@​rexrainbow)Bug Fixes
- Fixed an issue with the TypeScript defs not recognising the Game Object Config properly. Fix #5713 (thanks
@​vforsh)- Fixed an issue in the
FillPathWebGLfunction which caused the filled versions of the Arc, Circle, Ellipse, Polygon and Star Shapes to not render. Fix #5712 (thanks@​rexrainbow)- Fixed rendering parameters in
IsoBoxandIsoTriangleGame Objects that stopped them from rendering correctly.- Added the missing
WebGLPipelineUniformsConfigtype def. Fix #5718 (thanks@​PhaserEditor2D)Version 3.55.0 - Ichika - 24th May 2021
New Features
GameObjects.DOMElement.pointerEventsis a new property that allows you to set thepointerEventsattribute on the DOM Element CSS. This isautoby default and should not be changed unless you know what you're doing.Core.Config.domPointerEventsis a new config property set viadom: { pointerEvents }within the Game Config that allows you to set thepointerEventscss attribute on the DOM Element container.- The
RenderTexture.endDrawmethod has a new optional booleanerasewhich allows you to draw all objects in the batch using a blend mode of ERASE. This has the effect of erasing any filled pixels in the objects being drawn.- All of the methods from the
GraphicsPipelinehave now been merged with theMultiPipeline, these includebatchFillRect,batchFillTriangle,batchStrokeTriangle,batchFillPath,batchStrokePathandbatchLine. The Graphics Game Object and all of the Shape Game Objects have been updated to use the new Multi Pipeline. This means that drawing Sprites and Graphics / Shapes will all batch together again. Fix #5553 #5500 (thanks@​venarius@​roberthook823)Updates
- The types have been improved for WebGL Compressed Textures (thanks
@​vforsh)Container.moveAboveis a new method that will move a Game Object above another in the same Container (thanks@​rexrainbow)Container.moveBelowis a new method that will move a Game Object below another in the same Container (thanks@​rexrainbow)List.moveAboveis a new method that will move a Game Object above another in the same List (thanks@​rexrainbow)List.moveBelowis a new method that will move a Game Object below another in the same List (thanks@​rexrainbow)- The
MeasureTextfunction, as used by Text Game Objects, has had its performance enhanced by removing a duplicate image data check and also now checks for metrics properties correctly (thanks@​valadaptive)WebGLShader.setUniform1has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform2has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform3has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.WebGLShader.setUniform4has a new optional boolean parameterskipCheckwhich will force the function to set the values without checking against the previously held ones.- The
WebGLShader.set1fv,set2fv,set3fv,set4fv,set1iv,set2iv,set3iv,set4iv,setMatrix2fv,setMatrix3fvandsetMatrix4fvmethods no longer try to do array comparisons when setting the uniforms, but sets them directly. Fix #5670 (thanks@​telinc1)Bug Fixes
- Have reverted all of the DOM Element CSS changes back to how they were in 3.52, causing both DOM Input and Phaser Input to work together properly again. Fix #5628 (thanks
@​sacharobarts)- The
MeshGame Object would incorrectly cull faces if the Scene Camera scrolled. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5570 (thanks@​hendrikras)Math.ToXYwill now return an empty Vector 2 if the index is out of range, where before it would return the input Vector2 (thanks@​Trissolo)- The
UpdateList.shutdownmethod will now remove thePRE_UPDATEhandler from the ProcessQueue correctly (thanks@​samme)- When loading a Video with a config object, it would not get the correct
keyvalue from it (thanks@​mattjennings)
... (truncated)
Commits
1a086fc3.55.2 Release9cd5f56Fixed an issue inFillPathWebGL,IsoBoxWebGLRendererand `IsoTriangleWebG...72753353.55.1 Releasef870e33New TS Defs55b69e5MadefromSceneoptional99db692Update CHANGELOG.md78b9215Added the missingWebGLPipelineUniformsConfigtype def. Fix #5718 (thanks @...5552079Merge pull request #5717 from rexrainbow/destroy-from-scenec8cc3373.55.15d9d543Fixed rendering calls. Fix #5712- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.