From e440887fb8d66888ee69eaa4b9b29237fdc149cc Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 10 Oct 2024 18:37:43 +0100 Subject: [PATCH] Updating for 3.86 --- .../CHANGELOG-v3.85.3.md => 3.86/CHANGELOG-v3.86.md} | 7 ++++++- package.json | 4 ++-- src/const.js | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) rename changelog/{3.85.3/CHANGELOG-v3.85.3.md => 3.86/CHANGELOG-v3.86.md} (66%) diff --git a/changelog/3.85.3/CHANGELOG-v3.85.3.md b/changelog/3.86/CHANGELOG-v3.86.md similarity index 66% rename from changelog/3.85.3/CHANGELOG-v3.85.3.md rename to changelog/3.86/CHANGELOG-v3.86.md index 444fe1bcec..da10e45da9 100644 --- a/changelog/3.85.3/CHANGELOG-v3.85.3.md +++ b/changelog/3.86/CHANGELOG-v3.86.md @@ -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) diff --git a/package.json b/package.json index 6f2c87ad87..f04a62ab87 100644 --- a/package.json +++ b/package.json @@ -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 (https://www.phaser.io)", "homepage": "https://phaser.io", diff --git a/src/const.js b/src/const.js index 2a94a73433..9322ba1f45 100644 --- a/src/const.js +++ b/src/const.js @@ -20,7 +20,7 @@ var CONST = { * @type {string} * @since 3.0.0 */ - VERSION: '3.85.3', + VERSION: '3.86.0', BlendModes: require('./renderer/BlendModes'),