phaserjs / phaserjs/phaser

[3.86.0] Resize RenderTexture/dynamicTexture issue

Open
#6,918 5 comments 0 reactions 1 assignee View on GitHub

@photonstorm is already working on this.

Since Nov 16, 2024.

🥇 Priority: High
Dominant language
JavaScript
Stars
40.3k
Forks
7.2k
PR merge metrics
No merged PRs in 30d

Description

Version

  • Phaser Version: 3.86.0
  • Operating system: window
  • Browser: chrome/firefix

Description

In dynamicTexture's setSize method, it invokes renderTarget.resize method.
This renderTarget.resize method will check this.autoResize, but dynamicTexture's autoResize is false. So that the resize action won't run.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.