TiledSharp  0.9.1 r0
A .NET C# library for importing Tiled TMX tile maps
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages

About TiledSharp

TiledSharp is a .NET C# library for importing TMX tilemaps and TSX tilesets generated by Tiled, a tile map generation tool. The data is saved as a TmxMap object, whose structure closely resembles the original TMX file.

As a generic TMX and TSX parser, TiledSharp does not render the maps or depend on any external framework beyond .NET, such as Windows, XNA/MonoGame, Unity, or PSM. However, it can be used as an interface between TMX data and external games.

Usage

To import a TMX file into your C# application:

Map data fields correspond closely to the TMX file structure. For a complete listing, see the TiledSharp Data Hierarchy.

Although TiledSharp can manage elements with the same name, it is not recommended. For more information, see the TmxList specification.

Notes

TiledSharp parses XML files produced by Tiled, an open-source (GPL) tile map editor developed and maintained by Thorbjørn Lindeijer.

Zlib decompression in TiledSharp uses the Zlib implementation of DotNetZip v1.9.1.8.

Licensing

TiledSharp is distributed under the Apache License 2.0.

Support code from DotNetZip is distributed under the Microsoft Public License.

Contact

Marshall Ward (tiled.nosp@m.shar.nosp@m.p@mar.nosp@m.shal.nosp@m.lward.nosp@m..org)