Where can I find docs on .tsx file format?

1,570 views
Skip to first unread message

Mark McKay

unread,
Jun 28, 2012, 8:10:40 AM6/28/12
to mape...@googlegroups.com
I recently came across Tiled and started playing around with it.  One of the features it provides is the ability to add external tile sets using files with the .tsx extension.  However, I can find no information about what tools may create these files, or about how I might write one myself using a text editor (I'm assuming that it's an XML file format).

Any idea who maintains the .tsx file format and where I can find out more information about it?

Thorbjørn Lindeijer

unread,
Jun 28, 2012, 8:30:44 AM6/28/12
to mape...@googlegroups.com
On Thu, Jun 28, 2012 at 2:10 PM, Mark McKay <ma...@kitfox.com> wrote:
> I recently came across Tiled and started playing around with it.  One of the
> features it provides is the ability to add external tile sets using files
> with the .tsx extension.  However, I can find no information about what
> tools may create these files, or about how I might write one myself using a
> text editor (I'm assuming that it's an XML file format).

You create them by using the 'Export As...' action on a tileset in
Tiled. This will save the tileset definition to a separate file and
make the map file reference this file instead of embedding this
information. At this point you can use this exported tileset
definition also in other maps.

> Any idea who maintains the .tsx file format and where I can find out more
> information about it?

It is not really a separate file format from TMX, so you can just
follow the information in
https://github.com/bjorn/tiled/wiki/TMX-Map-Format regarding the
tileset element.

Sorry for the lack of a proper Tiled user manual.

Best regards,
Bjørn
Reply all
Reply to author
Forward
0 new messages