Skip to content

Docs: Text#setResolution() description#7266

Open
samme wants to merge 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/text-resolution
Open

Docs: Text#setResolution() description#7266
samme wants to merge 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/text-resolution

Conversation

@samme
Copy link
Contributor

@samme samme commented Mar 17, 2026

This PR

  • Updates the Documentation

I think the original description is now obsolete and has caused some user confusion.


Note

Low Risk
Documentation-only change to Text#setResolution JSDoc; no runtime behavior is modified, so risk is minimal aside from potential wording/expectation shifts.

Overview
Updates the Text#setResolution JSDoc to clarify that it controls the texture resolution, is only beneficial when the Text (or an ancestor/camera) is scaled up, and that the value is relative to 1.

Rewords the memory-use warning to emphasize the cost of higher-resolution text textures.

Written by Cursor Bugbot for commit c83a0e8. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant