Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tile properties are stored in <tile/> rather than <tile><objectgroup/></tile> since 1.1.0 #1912
I upgraded from Tiled 1.0.3 to 1.1.3 recently, and I noticed that in the tile set editor, I could no longer see or edit the name and a few custom properties I had set on the tiles in my tile set.
Previously, the property editor showed amongst others a name field, and when saving to tmx an
As of Tiled 1.1.0, the property editor shows different default fields (without name), and custom properties are placed directly in the
Now I could adjust my scripts and manually adjust my existing properties in the tmx file (using a custom property for name), but before I do that, is this a regression or an intentional change? I didn’t see this backwards incompatible change mentioned in the 1.1.0 release notes…
(Note that I’m not expressing a preference, I don’t mind it either way. The new location even makes a little more sense perhaps. I was just puzzled where my settings went.)
When you have the Tile Collision Editor open, then the Properties view used to display the properties of the implicit object group created for the selected tile in Tiled 1.0, rather than the properties of the tile itself. This caused much confusion, so in Tiled 1.1 I opted to never show the properties of this object group. Indeed a mention of this in the changelog would have been appropriate.
Would it help to automatically move any custom properties set on the object group to the tile? It could also create a custom name property when the object group was given one. If this sounds like a good idea I could patch that into Tiled 1.1.4.
For me it is not necessary, I can migrate my data manually now that I know it was an intentional change. But if you’re asking my opinion, yes for the sake of others who may be surprised by this (it puzzled me for quite a while) I do think it may be good to automatically migrate old properties. Also it’s a good excuse to mention the change in the changelog :).