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

Changing object stacking order #289

Closed
batblaster opened this issue Sep 30, 2012 · 6 comments
Closed

Changing object stacking order #289

batblaster opened this issue Sep 30, 2012 · 6 comments
Labels
feature It's a feature, not a bug.

Comments

@batblaster
Copy link

When i have 2 objects one up to another and consider that 1 is larger than the other there is a way to change the priority ? to change the position of the lowest i need to move the one in front and after i can move or edit the second, there is a way to bring it to front or is possible to add a way to move in front or back to another ?

Thanks.

@bjorn
Copy link
Member

bjorn commented Oct 7, 2012

There is no support for explicit z-ordering of objects yet, but this could obviously be added.

Maybe it could be done in a way that preserves the current behavior by default, but which still allows for explicitly modifying the stacking order of objects.

@batblaster
Copy link
Author

The order saved is not a problem but a way to recover an hidden object could be nice because sometimes is difficult to remember if an object is hidden from another and also to recover it you have to move the other from top.

If you will add a way would be nice.

Thanks.

@bjorn
Copy link
Member

bjorn commented Oct 7, 2012

Tiled can't really know whether an object ended up being "hidden", but the next version of Tiled will contain an "Objects" dock widget which allows you to browse through individual objects, separated by object layer.

@batblaster
Copy link
Author

Oh nice, about objects also do you think is possible to add an external list and load it in the drop down menu under type ? we know there we can have the color and types edited but sometimes we need a value at there like a number (it arrive from an "enum" list) Do you think we can found a way to save the enums values and show the text ?

I hope you understood what i mean :D

@bjorn
Copy link
Member

bjorn commented Oct 7, 2012

It would be easier if your loader simply supported reading enum names and mapping it to the right value.

@bjorn
Copy link
Member

bjorn commented Aug 31, 2015

Support for manually controlled the object stacking order was added back in Tiled 0.10, so I'll close this issue. To use this feature, you do need to change the "Drawing Order" to "Manual" in the object layer properties.

@bjorn bjorn closed this as completed Aug 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants