mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Add "align stamps" option to Stamp Brush #3202

eishiya posted onGitHub

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.


I don't think I mentioned wanting it as the default xP While it makes sense as a default for block-shaped brushes, I think it'd be unintuitive for irregular/sparse brushes. I don't much care what the default is, but I do think both should be available as options.

I make use of the smudge behaviour pretty regularly for walls and props, e.g. Image

posted by eishiya about 2 months ago

I make use of the smudge behaviour pretty regularly for walls and props, e.g.

Ah yes, thanks for bringing up a case where the current behavior is preferred! Maybe it would suffice for the toggle to be persistent.

I don't think I mentioned wanting it as the default xP

I said that based on your earlier comment "This is usually not desirable behaviour", which to me indicated a slight preference for aligned painting by default. :-)

posted by bjorn about 2 months ago

A persistent toggle sounds great! I'm guessing something alongside the random and terrain mode toggles? No clue what the icon for it would be though...

posted by eishiya about 2 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests