Phaser v3.90.0 #7149
photonstorm
announced in
Announcements
Phaser v3.90.0
#7149
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 3.90 - Tsugumi - 23rd May 2025
New Features
GameObjects.Rectangle.setRounded
is 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.isRounded
is a new read-only boolean that can be used to determine if the Rectangle Shape Game Object has rounded corners, or not.GameObjects.Rectangle.radius
is 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 Add angle distance functions #7092 (thanks @samme)Phaser.Math.Angle.GetCounterClockwiseDistance()
gets the shortest nonpositive angular distance between two angles. PR Add angle distance functions #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 Add angle distance functions #7092 (thanks @samme)Phaser.GameObjects.BitmapText#setDisplaySize
method toBitmapText
to get the original scaled size of 1. PR Add setDisplaySize method in BitmapText #6623 (thanks @samme)positionX
,positionY
andpositionZ
properties on the AudioListener instances at the moment. This prevents the follow feature from WebAudioSound to operate on Firefox. PR Fallback for Web Audio on Firefox #7083 (thanks @raaaahman)Updates
EXPAND
Scale 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 Ability to limit canvas size for Expand scale mode. #7027 (thanks @leha-games @rexrainbow)Bug Fixes
console.log
was left in the Text Game Object. This has now been removed.Phaser.Animations.AnimationFrame
correctly uses frame duration when it is set. Fix Regression in 3.88. Animation frame duration ignored and frameRate fixed at 24 #7070 (thanks @sylvainpolletvillard)moveTo
functions can now move particles. Fix Particle emitter custom moveTo functions don't move particles #7063 (thanks @samme)null
toundefined
. Fix Fix imageCollections default Tileset values #7053 (thanks @Snoturky)persist
correctly even after callingPhaser.Tweens.BaseTween#stop
. Fix Cannot persist a chain tween after stop #7048 (thanks @FranciscoCaetano88)Text
Game Objects now includes the defaultcanvas.dir = 'ltr
andcontext.direction = 'ltr';
. Fixes a bug in Chrome 134 & Edge 134 where callingdestroy()
on a right-to-leftText
Game Object prevents the next created left-to-rightText
Game Object from rendering. Fix Non-RTL texts created right after an RTL text was destroyed would not be shown in latest Chromium version #7077 (thanks @Demeno)Grid
Game Objects renderslineWidth
correctly in WebGL mode. Fix lineWidth of grid game object not working on WebGL mode #7029 (thanks @AlvaroNeuronup)collisionMask
andcollisionCategory
checks toPhaser.Physics.Arcade.World#separate
to allow individual physics game objects within a physics group to have it's own unique collision categories. Fix Arcade Physics Collision Categories Not Working as Expected #7034 (thanks @frederikocmr)createFromTiles
to handle multiple tilesets when using sprite sheets. Fix TileMap.createFromTiles doesn't properly handle multiple tilesets #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
This discussion was created from the release Phaser v3.90.0.
Beta Was this translation helpful? Give feedback.
All reactions