T2dStaticSprite displaying a sprite of ASCII information?
by Robert Serocki · in Torque Game Builder · 01/21/2006 (10:33 pm) · 2 replies
Hi.
What might be causing a .png file to appear as what looks like part of the ASCII set that may be re-sized like a sprite? It looks like I'm seeing a sprite of a chunk of ASCII. '!#$%8' and so on, going through a chunk of upper and lower case letters and then symbols. The $player stuff is at the end of a setupT2DScene().
The pertinent code:
$player = new t2dStaticSprite() { scenegraph = t2dscene; };
$player.setPosition("-35 0");
$player.setSize("20 20");
$player.setImageMap(someImageMap);
}
datablock t2dImageMapDatablock(someImageMap)
{
imageMode = full;
imageName = "~/client/images/gglogo";
};
- thanks in advance
(Possibly this is due to my using the Alpha 2 release?)
What might be causing a .png file to appear as what looks like part of the ASCII set that may be re-sized like a sprite? It looks like I'm seeing a sprite of a chunk of ASCII. '!#$%8' and so on, going through a chunk of upper and lower case letters and then symbols. The $player stuff is at the end of a setupT2DScene().
The pertinent code:
$player = new t2dStaticSprite() { scenegraph = t2dscene; };
$player.setPosition("-35 0");
$player.setSize("20 20");
$player.setImageMap(someImageMap);
}
datablock t2dImageMapDatablock(someImageMap)
{
imageMode = full;
imageName = "~/client/images/gglogo";
};
- thanks in advance
(Possibly this is due to my using the Alpha 2 release?)
Associate Melv May
- Melv.