Rendering specification in case map's tile size does not match tileset's tile size
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
**Is your feature request related to a problem? Please describe.**
I have been writing a renderer for TMX maps, and I have a staggered map that has a tileset that does not have the same tile size as the map's tile size in the XML. In this case, I don't really known what to do. I have been patching my code in various ways but I have never been satisfied with the patches. They have to work for all the layouts, not just staggered. If necessary, I can provide a simple example.
**Describe the solution you'd like**
Is it possible to specify the expected behaviour in case map's tile size does not match tileset's tile size for all the layouts?
**Describe alternatives you've considered**
I have tried to understand the code in Tiled, but I did not managed to find the lines where this is handled.
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 investigating how Tiled handles map and tileset tile sizes across the different map layouts, since the issue does not identify specific files, tests, or entry points. Review the TMX representation and existing rendering behavior; done means the expected behavior is clearly specified for mismatched sizes in all layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100