Game Development Community

TX2D 3.1.5 - Builder performance issue with tile maps

by John Norman · in Torque X 2D · 07/23/2010 (8:51 pm) · 0 replies

Build: 3.1.5 Release

Platform: Windows Vista 32 bit

Target: Editors

Issues: Saving/loading tile maps takes waaaay too long. I wrote a C# program that unzips tile data from a level editor, converts it to an intermediary format, optimizes the data like the Torque X 2D Builder does, then saves the data into T2DTileLayer scene objects. When dealing with 10 large tile maps, my program takes 2 seconds to do this, while the Torque X 2D Builder can take over 5 minutes. This was one of the reasons why I switched away from using tile maps in my project.

Steps to Repeat:
1. Make a really large tile map.
2. Duplicate it 10 times.
3. Try to save the scene.