TX2DCommunityProject - Tiled to Torque X
by John Norman · in Torque X 2D · 04/22/2010 (1:04 pm) · 2 replies
I've released a utility I designed to Giuseppe De Francesco's TX2D Community Project. Basically, we have just started work on a platformer that makes use of tile layers. Right away I noticed that the Torque X Builder's tile map editor was really terrible. It was slow, cumbersome, and lacked many basic features one would find in a normal tile editor. It was really making it a chore to create levels.
So, I switched over to using the Tiled Map Editor for creating my maps and developed a tool called Tiled to Torque X. This tool will read a Tiled .tmx map file and convert it into the XML code for Torque X scene objects that can be placed inside your .txscene file.
The program was written in Visual C# 2010, so you will need the .NET 4 framework to use it.
A pre-compiled version can be found here:
tools.suckerfreegames.com/tiledtotorquex/index.html
TX2DCommunityProject wiki page:
www.xp-dev.com/wiki/80884/Tiled%20to%20Torque%20X
SVN trunk:
svn2.xp-dev.com/svn/TX2DCommunityProject/TiledToTorqueX/trunk
So, I switched over to using the Tiled Map Editor for creating my maps and developed a tool called Tiled to Torque X. This tool will read a Tiled .tmx map file and convert it into the XML code for Torque X scene objects that can be placed inside your .txscene file.
The program was written in Visual C# 2010, so you will need the .NET 4 framework to use it.
A pre-compiled version can be found here:
tools.suckerfreegames.com/tiledtotorquex/index.html
TX2DCommunityProject wiki page:
www.xp-dev.com/wiki/80884/Tiled%20to%20Torque%20X
SVN trunk:
svn2.xp-dev.com/svn/TX2DCommunityProject/TiledToTorqueX/trunk
About the author
#2
Version 1.0.2:
* Added the ability to create tilemaps starting from layer 31 and going up to layer 0.
* The Torque X Builder cannot read tilemaps with spaces in their names. The program now replace spaces with underscores.
* The program ensures that layer names are unique now. Duplicate layers will have a number appended to the end of the name.
EDIT:
Version 1.0.3:
* Fixed a bug where the very first tile wasn't being saved on the tilemap correctly.
06/23/2010 (2:32 am)
If anybody uses this program, this post is to inform you that I've released an update.Version 1.0.2:
* Added the ability to create tilemaps starting from layer 31 and going up to layer 0.
* The Torque X Builder cannot read tilemaps with spaces in their names. The program now replace spaces with underscores.
* The program ensures that layer names are unique now. Duplicate layers will have a number appended to the end of the name.
EDIT:
Version 1.0.3:
* Fixed a bug where the very first tile wasn't being saved on the tilemap correctly.
Torque Owner Joao Cardoso
Default Studio Name
thanks