Update dependency phaser to v3.90.0 #418
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.88.2->3.90.0Release Notes
phaserjs/phaser (phaser)
v3.90.0: Phaser v3.90.0Compare Source
Version 3.90 - Tsugumi - 23rd May 2025
New Features
GameObjects.Rectangle.setRoundedis a new method that will allow the Rectangle Shape Game Object to have rounded corners. Pass the radius to set for the corners, or pass a value of zero to disable rounded corners.GameObjects.Rectangle.isRoundedis a new read-only boolean that can be used to determine if the Rectangle Shape Game Object has rounded corners, or not.GameObjects.Rectangle.radiusis a new read-only number that is the size of the rounded corners. Do not set directly, instead use the methodsetRounded.Phaser.Math.Angle.GetClockwiseDistance()to get the shortest nonnegative angular distance between two angles. PR #7092 (thanks @samme)Phaser.Math.Angle.GetCounterClockwiseDistance()gets the shortest nonpositive angular distance between two angles. PR #7092 (thanks @samme)Phaser.Math.Angle.GetShortestDistance()gets the shortest signed angular distance between two angles. (This is likePhaser.Math.Angle.ShortestBetween()but in radians.) PR #7092 (thanks @samme)Phaser.GameObjects.BitmapText#setDisplaySizemethod toBitmapTextto get the original scaled size of 1. PR #6623 (thanks @samme)positionX,positionYandpositionZproperties on the AudioListener instances at the moment. This prevents the follow feature from WebAudioSound to operate on Firefox. PR #7083 (thanks @raaaahman)Updates
EXPANDScale Mode has been updated to now clamp the size of the canvas that is created, preventing it from growing too large on landscape ultra-wide displays. Fix #7027 (thanks @leha-games @rexrainbow)Bug Fixes
console.logwas left in the Text Game Object. This has now been removed.Phaser.Animations.AnimationFramecorrectly uses frame duration when it is set. Fix #7070 (thanks @sylvainpolletvillard)moveTofunctions can now move particles. Fix #7063 (thanks @samme)nulltoundefined. Fix #7053 (thanks @Snoturky)persistcorrectly even after callingPhaser.Tweens.BaseTween#stop. Fix #7048 (thanks @FranciscoCaetano88)TextGame Objects now includes the defaultcanvas.dir = 'ltrandcontext.direction = 'ltr';. Fixes a bug in Chrome 134 & Edge 134 where callingdestroy()on a right-to-leftTextGame Object prevents the next created left-to-rightTextGame Object from rendering. Fix #7077 (thanks @Demeno)GridGame Objects renderslineWidthcorrectly in WebGL mode. Fix #7029 (thanks @AlvaroNeuronup)collisionMaskandcollisionCategorychecks toPhaser.Physics.Arcade.World#separateto allow individual physics game objects within a physics group to have it's own unique collision categories. Fix #7034 (thanks @frederikocmr)createFromTilesto handle multiple tilesets when using sprite sheets. Fix #7122 (thanks @vikerman)Examples, Documentation, Beta Testing and TypeScript
Thanks to the following for helping with the Phaser Examples, Beta Testing, Docs, and TypeScript definitions, either by reporting errors, fixing them, or helping author the docs:
@justin-calleja
@ixonstater
@DayKev
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.