mapeditor / mapeditor/tiled

Rotating some map types.

Open
#1,252 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.