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

Custom offsets for image tiles (feature request) #1958

Closed
alaa-eddine opened this issue Jun 9, 2018 · 1 comment
Closed

Custom offsets for image tiles (feature request) #1958

alaa-eddine opened this issue Jun 9, 2018 · 1 comment

Comments

@alaa-eddine
Copy link

alaa-eddine commented Jun 9, 2018

Hi,

Image collection tilesets is an excellent feature, I use it to group ornaments, unclassified tiles, or images that don't fit in a standard tileset.
But there is one lacking feature that could make it even better : adding a drawing offset per image, or support percentage drawing offset in the image collection (but this last one is a breaking change)

Why ?
One advantage of image collection tileset is that we can put images of different sizes in it.
Now let's say that we want an image collection with a centered drawing offset for all images ; this is not possible if we use images of different sizes. so the solution would be to support a per image offset which override the global one, or to use the global offset as a percentage and not an integer.

You might say that I just have to put images with same size in each tileset, but in this case, I don't see the interest of image collection, I can just group them and use them as a standard tileset.

Example :
I have here an image collection tileset with a well and a door image, the well image it about 3 times larger than the door. the draw offset is set so the anchor is centered for the well image, see below :

image

and now, the anchor for the door image

image

@bjorn
Copy link
Member

bjorn commented Jul 27, 2018

It seems I missed this issue or it got buried somewhere, sorry about that.

I agree this would be a very useful feature and I hope to eventually get around to it. Maybe it's something to plan for Tiled 1.3.

I'm closing this issue, since it is a duplicate of #871.

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

2 participants