Game Development Community

Tilemaps can't be created in TGBX with new beta 1.4.2

by Michael Vargas · in Torque X 2D · 04/01/2007 (7:35 pm) · 3 replies

Repro steps:

1. Create a StarterGame project.
2. Open the .txproj file created with the StarterGame project in TGBX.
3. In the Create panel, in the Tilemaps section, drag the tilemap icon into the scene window as you would to create a tilemap normally.

Result:

A dialog briefly flashes that appears to say "Loading new layer" (though I'm not positive) but no new object is visible in the scene window.

I'd expect to see a tilemap object appear. Does anyone have a workaround? I assume I'm not the only person to have this problem?

#1
04/01/2007 (11:11 pm)
Thats the situation.. for now we must live with it till someone finds a solution.
#2
04/02/2007 (12:13 pm)
If you have an old level with a tilemap you can make a copy of it under a new name and then edit that. Yes, it's a pain but what other options have we got?
#3
04/02/2007 (12:57 pm)
The below was posted in the feedback and bugs section. Worked for me....

===========

Adam Larson
Employee Posted: Apr 02, 2007 18:14 GMT
Alright, sorry for the delay on a response to this. I found the problem. We bumped the version on the scene files from 1.0 to 1.0.1. Layers and effects are basically stored as mini scene files, and the version number of the newLayer and newEffect files wasn't changed. The fact that they aren't loaded anyway is also a bug, but changing the version number fixes the problem. So, the fix:

Browse to (TorqueXInstallDirectory)/TGBX/TXTools. Open the file newLayer.lyr in any text editor. Change the line that says


to


Do the same with the newEffect.eff file.

===========

Path on my computer for the files was:
C:\Program Files\GarageGames\Torque X\v1.0.4.2\TGBX\TXTools