Rotating some map types.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Would it be possible to include a map rotation tool for some map types? Particularly isometric and hexagonal. I understand most tylesets won't allow this, but sim city 2000 style rotation ought to be possible with some tilesets.
In Sim City, the map was rotated by re-arranging the tiles. Most building sprites only had one orientation, so they did not rotate with the map, however in the case of sprites such as roads, hillsides, or power lines, the sprite would be replaced with an equivalent sprite of appropriate spacing.
Replicating this in Tiled would require these equivalent sprites be specified in the tile-set, but once that was set up, everything else could be a simple mathematical transformation.
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 reviewing how Tiled represents isometric and hexagonal maps and how tilesets could specify equivalent sprites for rotation. Define the scope of the rotation tool and the required tileset metadata before implementation. Done means maps can be rotated where equivalent sprites are available while unsupported tilesets remain usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100