Posted June 20, 2019 by Thorbjørn Lindeijer
#Snapshot
The biggest functional change in this release is that Tiled now has an "extensions" folder, where scripted extensions can be put, each of which can have one or more script files that will be loaded on startup. This makes it much easier to manage multiple extensions as well as to share these extensions with others.
On the coding side, most of the work I had to do was to decouple certain change notifications from a particular asset type, to enable the scripts access to the tile collision shapes.*
This snapshot also includes two very useful contributions. Ruslan Gainutdinov made the animation preview in the Tile Animation Editor zoom along with the tileset. João Baptista added two new options to control how the AutoMapping behaves at the edges of the map (the "WrapBorder" option was used in the screenshot associated with this post).
*) The Tile Collision Editor uses a temporary "dummy" map in the background to enable editing of an object layer that is associated with the tile. When this object layer is accessed and changed from a script, there isn't the dummy map that makes sure the UI is updated in response to changes. Now, the UI can be notified about these previously map-specific changes, even if the changes affect a tileset asset. An added bonus is that the new change events also carry more information, which helps to avoid doing unnecessary updating and could mean Tiled is now a little more efficient.)