Two problems with porting from 1.0.2 to 1.1.0 (T2D)
by Pavel Tovarys · in Torque Game Engine · 02/26/2006 (4:59 am) · 1 replies
Hello,
I'm trying to port my sources from T2D 1.0.2 to 1.1.0. I don't know much about new version. I change my source, but I have two problems:
1. how to disable the thin gray lines aroud objects in GUI? See the picture: http://www.300ad.com/temp/problem1.jpg
2. The function getFrameSize() of t2dImageDatablock returns "0.00000 0.00000", but everything loked ok,
here are my definitions:
datablock t2dImageMapDatablock(unit1)
{
imageMode = key;
imageName = "~/client/gfx/units/unit1.png";
type = "monster";
};
unit1.getFrameCount() return 5, unit1.getFrameSize(0) gets "0 0" but the frame 0
exists and I could see it in the the game or in the tile editor. Could anybody help me?
Thanks!
I'm trying to port my sources from T2D 1.0.2 to 1.1.0. I don't know much about new version. I change my source, but I have two problems:
1. how to disable the thin gray lines aroud objects in GUI? See the picture: http://www.300ad.com/temp/problem1.jpg
2. The function getFrameSize() of t2dImageDatablock returns "0.00000 0.00000", but everything loked ok,
here are my definitions:
datablock t2dImageMapDatablock(unit1)
{
imageMode = key;
imageName = "~/client/gfx/units/unit1.png";
type = "monster";
};
unit1.getFrameCount() return 5, unit1.getFrameSize(0) gets "0 0" but the frame 0
exists and I could see it in the the game or in the tile editor. Could anybody help me?
Thanks!
Torque Owner Pavel Tovarys
Default Studio Name