Fixed an issue in FillPathWebGL, IsoBoxWebGLRenderer and IsoTriangleWebGLRenderer functions 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.destroy method has a new fromScene parameter, set automatically by Phaser. Fix #5716 (thanks @rexrainbow)
The Game Object DESTROY event is now set the new fromScene boolean 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 FillPathWebGL function 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 IsoBox and IsoTriangle Game Objects that stopped them from rendering correctly.
Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D)
Phaser v3.55.0
New Features
GameObjects.DOMElement.pointerEvents is a new property that allows you to set the pointerEvents attribute on the DOM Element CSS. This is auto by default and should not be changed unless you know what you're doing.
Core.Config.domPointerEvents is a new config property set via dom: { pointerEvents } within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.
The RenderTexture.endDraw method has a new optional boolean erase which 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 GraphicsPipeline have now been merged with the MultiPipeline, these include batchFillRect, batchFillTriangle, batchStrokeTriangle, batchFillPath, batchStrokePath and batchLine. 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.moveAbove is a new method that will move a Game Object above another in the same Container (thanks @rexrainbow)
Container.moveBelow is a new method that will move a Game Object below another in the same Container (thanks @rexrainbow)
List.moveAbove is a new method that will move a Game Object above another in the same List (thanks @rexrainbow)
List.moveBelow is a new method that will move a Game Object below another in the same List (thanks @rexrainbow)
The MeasureText function, 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.setUniform1 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform2 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform3 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform4 has a new optional boolean parameter skipCheck which 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, setMatrix3fv and setMatrix4fv methods 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 Mesh Game 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.ToXY will 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.shutdown method will now remove the PRE_UPDATE handler from the ProcessQueue correctly (thanks @samme)
When loading a Video with a config object, it would not get the correct key value from it (thanks @mattjennings)
The GameObjectFactory.existing method will now accept Layer as a TypeScript type. Fix #5642 (thanks @michal-bures)
The Input.Pointer.event property can now be a WheelEvent as well.
Fixed an issue when loading audio files from a Phaser project wrapped in Capacitor native app shell on iOS (thanks @consolenaut)
Fixed an issue in FillPathWebGL, IsoBoxWebGLRenderer and IsoTriangleWebGLRenderer functions 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.destroy method has a new fromScene parameter, set automatically by Phaser. Fix #5716 (thanks @rexrainbow)
The Game Object DESTROY event is now set the new fromScene boolean 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 FillPathWebGL function 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 IsoBox and IsoTriangle Game Objects that stopped them from rendering correctly.
Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D)
Version 3.55.0 - Ichika - 24th May 2021
New Features
GameObjects.DOMElement.pointerEvents is a new property that allows you to set the pointerEvents attribute on the DOM Element CSS. This is auto by default and should not be changed unless you know what you're doing.
Core.Config.domPointerEvents is a new config property set via dom: { pointerEvents } within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.
The RenderTexture.endDraw method has a new optional boolean erase which 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 GraphicsPipeline have now been merged with the MultiPipeline, these include batchFillRect, batchFillTriangle, batchStrokeTriangle, batchFillPath, batchStrokePath and batchLine. 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.moveAbove is a new method that will move a Game Object above another in the same Container (thanks @rexrainbow)
Container.moveBelow is a new method that will move a Game Object below another in the same Container (thanks @rexrainbow)
List.moveAbove is a new method that will move a Game Object above another in the same List (thanks @rexrainbow)
List.moveBelow is a new method that will move a Game Object below another in the same List (thanks @rexrainbow)
The MeasureText function, 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.setUniform1 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform2 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform3 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.
WebGLShader.setUniform4 has a new optional boolean parameter skipCheck which 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, setMatrix3fv and setMatrix4fv methods 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 Mesh Game 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.ToXY will 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.shutdown method will now remove the PRE_UPDATE handler from the ProcessQueue correctly (thanks @samme)
When loading a Video with a config object, it would not get the correct key value from it (thanks @mattjennings)
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#654) (5901006)
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#654) (5901006)
remove the --prefetch option in favor the PrefetchPlugin plugin
remove the --node-env option in favor --define-process-env-node-env
remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'
remove the --prefetch option in favor the PrefetchPlugin plugin
remove the --node-env option in favor --define-process-env-node-env
remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'
Removes json5. It's no longer used after updating ancestor dependencies json5, phaser, copy-webpack-plugin, html-webpack-plugin, ts-loader, webpack and webpack-cli. These dependencies need to be updated together.
Removes
json5
Updates
phaser
from 3.22.0 to 3.55.2Release notes
Sourced from phaser's releases.
... (truncated)
Changelog
Sourced from phaser's changelog.
... (truncated)
Commits
1a086fc
3.55.2 Release9cd5f56
Fixed an issue inFillPathWebGL
,IsoBoxWebGLRenderer
and `IsoTriangleWebG...7275335
3.55.1 Releasef870e33
New TS Defs55b69e5
MadefromScene
optional99db692
Update CHANGELOG.md78b9215
Added the missingWebGLPipelineUniformsConfig
type def. Fix #5718 (thanks @...5552079
Merge pull request #5717 from rexrainbow/destroy-from-scenec8cc337
3.55.15d9d543
Fixed rendering calls. Fix #5712Updates
copy-webpack-plugin
from 5.1.1 to 11.0.0Release notes
Sourced from copy-webpack-plugin's releases.
... (truncated)
Changelog
Sourced from copy-webpack-plugin's changelog.
... (truncated)
Commits
f3b2c24
chore(release): 11.0.08424ca8
chore(deps): regenerate lock file (#693)675c676
build: drop node v12 (#691)a2b1f19
chore: update gitub actions (#692)238c062
chore: upgrade dependencies to the latest version (#688)e27006e
ci: remove node v17 (#687)e50d708
chore: add node 18 to workflow (#686)f1a91e6
ci: don't install webpack again (#680)64cf06f
docs: add path string to options signature (#683)4b18a6b
docs: improve readmeUpdates
html-webpack-plugin
from 3.2.0 to 5.5.0Changelog
Sourced from html-webpack-plugin's changelog.
... (truncated)
Commits
873d75b
chore(release): 5.5.0ddeb774
chore: update examples1e42625
feat: Support type=module via scriptLoading option7d3645b
Bump pretty-error to 4.0.0 to fix transitive vuln for ansi-regex CVE-2021-380779be779
[chore] changes actions to run on pull_requestsb7e5859
[chore] fixes CI to avoid race conditions48131d3
chore(release): 5.4.016a841a
[chore] rebuild examples3bb7c17
Update index.jse38ac97
Update index.jsMaintainer changes
This version was pushed to npm by jantimon, a new releaser for html-webpack-plugin since your current version.
Updates
ts-loader
from 6.2.1 to 9.4.2Release notes
Sourced from ts-loader's releases.
... (truncated)
Changelog
Sourced from ts-loader's changelog.
... (truncated)
Commits
5e7220b
Use custom transformer when building solution references (#1550)87a9fff
add missing comma in README.md (#1551)620ee79
Typescript 4 9 (#1547)3319b91
chore(deps): bump minimatch in /examples/project-references-example (#1530)60e5784
Fix anchor jumping in README.md (#1521)5c66d2b
Update outdated LICENSE year (#1513)64a4136
Bump terser from 4.8.0 to 4.8.1 in /examples/project-references-example (#1489)cf1d227
Bump lodash in /test/execution-tests/babel-codeSplitting (#1435)e76abb0
Add Tests and Remarks Concerning the New.cts
And.mts
File Extensions (#...d9fcbfd
Hotfix: Disableenhanced-resolve
(#1506)Updates
webpack
from 4.42.0 to 5.75.0Release notes
Sourced from webpack's releases.
... (truncated)
Commits
8241da7
5.75.0a91d923
Merge pull request #16458 from webpack/bugfix/semi4608b11
Merge pull request #16457 from webpack/tooling/updatedfdd0b0
Merge pull request #16122 from AnmolBansalDEV/bug/compilationCallback23b9a1c
Merge pull request #16167 from exposir/fixts6f2c5e8
Merge pull request #16257 from alexzhang1030/calc_deterministic_verbosef7f36ad
Merge pull request #16339 from Liamolucko/wasm-i64761a542
fix semicolon position2403a36
Merge pull request #16345 from ahabhgk/fix-eval-nosourcesc18203c
update toolingUpdates
webpack-cli
from 3.3.11 to 5.0.1Release notes
Sourced from webpack-cli's releases.
... (truncated)
Changelog
Sourced from webpack-cli's changelog.
... (truncated)
Commits
4a0f893
chore(release): publish new version9de982c
chore: fix cspell32d26c8
chore(deps-dev): bump cspell from 6.15.1 to 6.16.0 (#3517)2788bf9
chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 (#3516)ac88ee4
chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 (#3515)346a518
fix: make define-process-env-node-env alias node-env (#3514)3ec7b16
chore(deps): bump yeoman-environment from 3.12.1 to 3.13.0 (#3508)c8adfa6
chore(deps-dev): bump@types/node
from 18.11.9 to 18.11.10 (#3513)0ad8cc2
chore(deps-dev): bump cspell from 6.15.0 to 6.15.1 (#3512)d30f261
chore(deps-dev): bump ts-loader from 9.4.1 to 9.4.2 (#3511)Maintainer changes
This version ... _Description has been truncated_