Automatic Original Scale Detection for Multiatlas Frames
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi Phaser Team,
I’m working with Multiatlas in Phaser 3 and I noticed that when frames are scaled down in the atlas (to save memory or optimize performance), the engine does not automatically restore the frames to their original size. Currently, we have to manually set the scale using customData or setScale().
I would like to suggest a feature where Phaser can automatically detect the original scale of frames in a Multiatlas and render them at their intended size without requiring manual adjustments.
This would simplify the workflow and help developers manage assets more efficiently.
Thank you for considering this feature request.
Best regards,
Mohamed Ramadan
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Phaser's Multiatlas frame loading and rendering behavior, including how customData and setScale() are currently used. Define how the original scale is represented and detected, then verify that scaled-down atlas frames render at their intended size without manual adjustment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100