phaser/changelog/3.85/CHANGELOG-v3.85.md

47 lines
3.1 KiB
Markdown
Raw Normal View History

2024-05-15 14:37:36 +00:00
# Version 3.85.0 - Itsuki - in development
# New Features
2024-06-06 14:49:02 +00:00
* `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)
2024-05-15 14:37:36 +00:00
# WebGL Rendering Updates
* `WebGLTextureWrapper.update` expanded:
2024-05-15 17:46:23 +00:00
* `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.
2024-05-15 14:37:36 +00:00
# Updates
2024-06-06 14:09:17 +00:00
* 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` and `Timeline.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 called `tweenInstance`. If the Timeline event has a tween that has been activated, this will hold a reference to it.
2024-06-06 14:16:08 +00:00
* 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)
2024-06-06 14:49:02 +00:00
* The console warnings when Audio files are missing/incorrect have been improved (thanks @samme)
2024-06-06 14:54:01 +00:00
* The `requestVideoFrame` polyfill has been updated to the latest release, which should resolve some SSR framework issues. Fix #6776 (thanks @lantictac)
2024-06-06 14:09:17 +00:00
2024-05-15 14:37:36 +00:00
# Bug Fixes
2024-05-16 20:20:01 +00:00
* The `activePointers` game config option is now the correct amount of touch input pointers set. Fix #6783 (thanks @samme)
2024-05-15 14:37:36 +00:00
* The method `TextureManager.checkKey` will now return `false` 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).
2024-06-06 13:33:01 +00:00
* Added all of the missing Loader Config values (such as `imageLoadType`) to LoaderConfig, so they now appear in the TypeScript defs.
2024-06-06 14:09:17 +00:00
* 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)
2024-06-06 14:49:02 +00:00
* Calling `getPipelineName()` on a Game Object would cause a runtime error if running under Canvas. It now simply returns `null`. Fix #6799 (thanks @samme)
2024-05-15 14:37:36 +00:00
## 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:
2024-06-06 14:16:08 +00:00
@lgtome
@samme
2024-06-06 14:49:02 +00:00
@AlbertMontagutCasero
2024-06-06 15:35:21 +00:00
# Deprecation Warning for the next release
The _next release_ of Phaser will make the following API-breaking changes:
* We are removing `Phaser.Struct.Map` and replacing it with a regular JS `Map` instance. This means methods like `contains` and `setAll` will be gone.
* We are removing `Phaser.Struct.Set` and replacing it with a regular JS `Set` instance. This means methods like `iterateLocal` will be gone.
* The `Create.GenerateTexture`, all of the Create Palettes and the `create` folder will be removed.
* The `phaser-ie9.js` entry-point will be removed along with all associated polyfills.