Add ability to change all instances of a gid by other
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Sometimes I have to reorder the tileset (to reduce some visible artifacts) or add new tiles to one of the tilesets used by the map, and normally I have to redo the map layers that used the old tileset.
I think that the process will be easiest if tiled would add the posibility to change all instances of one gid with another gid.
The first problem is difficult to solve in tiled because as the gids are changed you have to redo the map layers that use the tileset.
To solve the second problem there is a workaround, you can move the tileset to the end of the tileset list (inside tiled), then you can change the image file with the bigger one and the map continues viewing well. But you have to add the new tiles at the end of the tileset.
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 how Tiled represents tileset global IDs (GIDs) across map layers and how tileset changes are applied. Done means users can replace every instance of one GID with another without manually rebuilding affected map layers, including maps with reordered or expanded tilesets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop-dev, game-dev, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100