marshallward / TiledSharp

C# library for parsing and importing TMX and TSX files generated by Tiled, a tile map generation tool
http://marshallward.github.io/TiledSharp
Apache License 2.0
329 stars 87 forks source link

Added support for elements introduced in Tiled 1.0 #45

Closed kubagdynia closed 7 years ago

kubagdynia commented 7 years ago

Added support for new group element which is a group layer that can have other layers as child elements. This means layers now form a hierarchy. Added Text objects, identified by a new text element which is used as a child of the object element. Added a tile.type attribute for supporting typed tiles. Added support for tiledversion.

marshallward commented 7 years ago

Thanks, this looks great. I had started on this but let it get away from me.

There might be some way to integrate TmxGroup with subclasses in the future, but happy to merge this right away.

marshallward commented 7 years ago

Actually, forget my subclass comment, I see how Maps were changed.

Thanks again!