Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to Anchor Tiles at the certain points #179

Open
stefanbeller opened this issue Mar 23, 2012 · 2 comments
Open

Add ability to Anchor Tiles at the certain points #179

stefanbeller opened this issue Mar 23, 2012 · 2 comments

Comments

@stefanbeller
Copy link
Contributor

At the moment tiles are anchored to the lower left.
It should be possible to configure the anchoring per tilelayer to be anchored at lower, mid or upper side as well as left mid and right side.

(Moving issue from the old bugtracker https://sourceforge.net/apps/mantisbt/tiled/view.php?id=57)

The anchoring helps at creating different 3D projections with oversized tiles.
(Issue #147 relates to drawing order of tiles, which also helps for different projections.)

@bjorn
Copy link
Member

bjorn commented Mar 24, 2012

Per tile layer? I'd probably put it with the tileset since it relates to the tile offset setting.

@MandL27
Copy link

MandL27 commented Sep 24, 2017

Bumping this since I've recently encountered a scenario where anchoring to the bottom middle would be a huge help: positioning sprites larger than a single tile. Currently, with the bottom left anchoring, sprites with padding (because larger sprites in that same sheet use the full width) have all of their left-side padding visible. Upscaling such padded sprites becomes impossible because then only the padding is drawn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants