mapeditor / mapeditor/tiled

Add "align stamps" option to Stamp Brush

Open
#3,202 4 comments 0 reactions 1 assignee View on GitHub

@bjorn is already working on this.

Since Feb 26, 2025.

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

Description

When using a multi-tile stamp and painting with it by dragging the stamp, Tiled creates a "smudged" look, where the next stamp paint over the tiles of the previous stamp. This is usually not desirable behaviour, as it doesn't help with making an arc or filling a space with the stamp.

I'd like to see an option that forces the stamps to be aligned based on the bounding box of the stamp, similar to what you get when Filling with a stamp, but aligned to wherever you first start painting.

Comparison of the two options, current above, proposed below:
image

When using line mode (Shift+drag with the Stamp Tool), the resulting stamps don't overlap, but making complex shapes with this is tedious, and if you want the stamps to be grid-aligned, you have to be very careful with the slopes of the lines, which gets more difficult the larger the stamp is.

This aligned mode would be useful for painting arrangements of props and metatile-like features within maps that are otherwise created with subtiles directly. There are also many tilesets that have "terrains" that have multi-tile-long sides which can't be handled well with Terrains, and which are difficult to paint even with Automapping because one has to manually make sure the middles of the terrains are aligned correctly, and this feature would alleviate that.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.