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
328 stars 87 forks source link

TMX export? #47

Open AerosolSP opened 6 years ago

AerosolSP commented 6 years ago

I was looking for a library for adding TMX export capabilities to an application.

Is TiledSharp capable of that? It doesn't seem to be, but I could be wrong.

marshallward commented 6 years ago

So you mean, say, creating the TMX object in C# and then saving it as a .tmx file?

If that's the case, then no, there's no support for anything like that. It could be done, but it would take some work.

AerosolSP commented 6 years ago

Well, the application I plan to add TMX export support to works with binary files. It's a level editor for certain genesis games. I want to add TMX export functions to it because it works better as a level editor for these games than Tiled Map Editor would (and I'm already somewhat familiar with it anyway), but I need tmx files. It's the same reason why I'm not just writing a standalone converting application.

Think it may be easier for me to just use a regular XML parsing library in said application and use it to build .tmx files that way?