mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
2.5 KiB
2.5 KiB
Version 3.85.0 - Itsuki - in development
New Features
BaseSoundManager.isPlaying
is a new method that will return a boolean if the given sound key is playing. If you don't provide a key, it will return a boolean if any sound is playing (thanks @samme)
WebGL Rendering Updates
WebGLTextureWrapper.update
expanded:source
parameter is now type?object
, so it can be used for anything that is valid in the constructor.- New
format
parameter can update the texture format.
Updates
- Calling
Timeline.pause
will now pause any currently active Tweens that the Timeline had started (thanks @monteiz) - Calling
Timeline.resume
will now resume any currently paused Tweens that the Timeline had started (thanks @monteiz) - Calling
Timeline.clear
andTimeline.destroy
will now destroy any currently active Tweens that the Timeline had created. Previously, active tweens would continue to play to completion (thanks @monteiz) TimelineEvent
has a new property calledtweenInstance
. If the Timeline event has a tween that has been activated, this will hold a reference to it.- If you create a BitmapText with an invalid key it will now throw a runtime error. Previously it just issued a console warning and then crashed (thanks @samme)
- The console warnings when Audio files are missing/incorrect have been improved (thanks @samme)
- The
requestVideoFrame
polyfill has been updated to the latest release, which should resolve some SSR framework issues. Fix #6776 (thanks @lantictac)
Bug Fixes
- The
activePointers
game config option is now the correct amount of touch input pointers set. Fix #6783 (thanks @samme) - The method
TextureManager.checkKey
will now returnfalse
if the key is not a string, which fixes issues where a texture could be created if a key was given that was already in use (thanks Will Macfarlane). - Added all of the missing Loader Config values (such as
imageLoadType
) to LoaderConfig, so they now appear in the TypeScript defs. - The
EXPAND
scale mode had a bug that prevented it from using the world bounds cameras, cutting rendering short. Fix #6767 (thanks @Calcue-dev @rexrainbow) - Calling
getPipelineName()
on a Game Object would cause a runtime error if running under Canvas. It now simply returnsnull
. Fix #6799 (thanks @samme)
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:
@lgtome @samme @AlbertMontagutCasero