Game Development Community

Alpha2 1.1

by Jemand den es nicht gibt · in Torque Game Builder · 01/22/2006 (5:50 am) · 2 replies

Hiya guys! :)

I think I found a bug in the tile editor. When I edit the custom data of a tile(in this case I just put in the word "up") the edit box shows it as an upper case word("Up"), even though it will be saved the way i typed it in(as a lower case letter). Not a big deal, just a little annoying. :)

I don't know though, if this was already found and fixed in Alpha3..

Keep up the _great_ work! :)

#1
01/26/2006 (8:13 am)
Oliver,

To fix this, goto the file "t2dTileMap.cc" (approx line 1873) and change the line:
// Set Custom Data.
pTileObject->mCustomData = StringTable->insert( customData );
... to ...
// Set Custom Data.
pTileObject->mCustomData = StringTable->insert( customData, true );

I have updated the SDK. Thanks for the report.

- Melv.
#2
01/26/2006 (8:15 am)
... also note that you can do the same for the routine immediately preceeding it, "setTileScript()" to make the tile-script case-sensitive as well.

- Melv.