Updating for 3.86

This commit is contained in:
Richard Davey 2024-10-10 18:37:43 +01:00
parent 509de6ae51
commit e440887fb8
3 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,12 @@
# Version 3.85.3 - Itsuki - in development
# Version 3.86 - Aoi - in development
## Updates
* `RenderTarget.init` is a new method that will create the underlying framebuffer and texture for a Render Target. This is called in the constructor only, avoiding the need to call the `resize` method.
## Bug Fixes
* `RenderTarget.resize` will now check the `autoResize` property before applying the change. Textures that have been locked to a fixed size, such as FX POT buffers, will no longer be resized to the full canvas dimensions, causing Out of Memory errors on some mobile devices. Fix #6914 (thanks @mikaleerhart @DavidTalevski)
* The `Array.MoveAbove` function didn't recalculate the baseIndex after the splice, meaning the item would end up in the wrong location.
* The `HexagonalTileToWorldXY` function incorrectly used `this` instead of `layer` causing it to error in hex tilemaps with x axis staggering. Fix #6913 (thanks @jummy123)
* The `Text` Game Object could truncate the length of the Text when `setLetterSpacing` was used. Fix #6915 (thanks @monteiz @rexrainbow)

View file

@ -1,7 +1,7 @@
{
"name": "phaser",
"version": "3.85.3",
"release": "Itsuki",
"version": "3.86.0",
"release": "Aoi",
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.",
"author": "Richard Davey <rich@phaser.io> (https://www.phaser.io)",
"homepage": "https://phaser.io",

View file

@ -20,7 +20,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.85.3',
VERSION: '3.86.0',
BlendModes: require('./renderer/BlendModes'),