mapeditor / mapeditor/tiled

Terrain Tool Expansion - World Compatibility

Open
#4,361 3 comments 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

### Is your feature request related to a problem? Please describe.

Right now, the terrain tool only works for a single TMX file at a time. It would be cool if when drawing near the borders of a map within a world that it automatically detects the edges of adjacent maps and applies the terrain tool's painting where appropriate.

If a map is also the only in the world, the terrain stamp should detect the opposite edge so that one can easily make looping maps.

### Describe the solution you'd like.

Summary: Instead of clipping at the edge of the map when painting tiles with the Terrain Stamp. It should instead detect the appropriate edge for a TMX file that is adjacent to the one that you are drawing on. I will provide visual cues later.

### Describe alternatives you've considered.

_No response_

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 tracing the Terrain Stamp painting path and how a world exposes adjacent TMX maps. Check behavior at map borders and for a single map configured to loop; done means terrain painting reaches the appropriate neighboring or opposite edge instead of clipping. The issue notes that visual cues are still to be provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.