tiled
tiled copied to clipboard
Add support for scaling (xScale and yScale)
In addition to the recently added rotation, I'd like to suggest xScale and yScale. This automatically allow both horizontal and vertical flip.
My usecase is that I have a pretty 'loose' decoration map, and re-use images by rotating and scaling.
I second this feature request! Seems like a simple way to add value :)
I obviously agree that Tiled should have support for scaling objects, but I will have to disagree with the statement that it is "simple". First of all the behavior on the currently available object types would have to be defined, secondly the interaction with the rotation. I assume you mean to apply scale before rotation, but is this enough? One you have scaling and rotation, you're pretty close to the full transformation matrix after all. And once we know how it will work from storage, rendering and usability perspectives, it will of course still need to be implemented.
I'd be willing to work on this feature, I've been doing this through properties anyway. It would be pretty awesome to actually see how it would look without having to fire up my game engine. I've got a school break coming up.
@gamaral Feel free to have a go at it, but please elaborate on how you plan to do it once you get started to make sure we're on the same page. Thanks!
That's the plan. ;)
There are still no scaling properties, but all supported types of objects can be resized now. Does that resolve this request, @jrz?
I second this feature request. Scaling objects inside Tiled is great, but it'd be so awesome to be able to export scaling properties by selecting an option. On your forum it was suggested I should write a whole export module for this, but that's a giant amount of effort for someone unfamiliar with the whole environment. (I did read the sections about it, but estimated it'd take me many hours or even days to understand that.) It sounds like a really easy feature to implement in a menu in Tiled somewhere and it'd make Tiled so much more useful for all of our games.