mapeditor / mapeditor/tiled

Add ability to reorder terrains

Open
#1,603 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

missing feature
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

Currently, it is not possible to change the order of the terrains defined in a tileset.

There should be only one difficulty with this, which is that reordering terrains affects the terrain IDs stored on the tiles, which will have to be adjusted accordingly. But this is similar to when a terrain is removed, which is already implemented.

Reported on the forum.

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 comparing terrain removal, which the issue identifies as existing behavior, and trace how terrain IDs are stored on tiles in the tileset editor. Add terrain reordering while preserving the intended terrain assignments on tiles, then verify that tiles retain those assignments after a reorder.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.