flame-engine / flame-engine/flame

[FireAtlas] Take image size as default canvas size

Open
#3,273 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
10.8k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
21

Description

### What could be improved

We could take the image size as the default size for new atlases that are loaded from an image.

### Why should this be improved

So that the user doesn't have to look up the size of the image.

### Risks

_No response_

### More information

_No response_

### Other

- [ ] Are you interested in working on a PR for this?

Contributor guide

Open the contributing guide

Research direction

The issue does not name files or tests; start by locating FireAtlas and the code that creates atlases from images, then trace how the canvas size is currently chosen. Done means a newly loaded image atlas uses the image dimensions by default, avoiding a manual size lookup, with relevant tests updated or added if that area has coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.