Game Development Community

TGBP - Having trouble with my images

by Timothy Fuller · in Torque Game Builder · 07/26/2006 (11:38 am) · 2 replies

Hello everybody,

I have been working with some of the torque products for about two years now, and have recently started working with Torque Builder Pro. It seems like a great tool, it makes setting up and creating 2D scrolling games a breeze, but I am having a couple of fairly big problems. The first is when ever I add an image as a sprite into a project, the background color remains a part of the sprite. I have changed the background color to white, and pink but it still remains. The other problem is when I try to create a animation sprite of a image, TBP goes thru all the motions of creating it, but once I click the save button the animation sprite is not created. If any body could give me some help on this, their assistance would be greatly appreciated. Other then these two problems, TBP seems like are great development tool. You guys rock!

Timmay & the Lords of the Underworld

#1
07/26/2006 (11:47 am)
First problem, about the background color. Are you trying to load the images in as a KEY'd image, with a solid background color defining the outline of the images you want to load in? If you are then make sure the first pixel line is all that color and when in the Image Map Builder use "KEY" mode. If you aren't using KEY mode, like FULL mode or CELL mode and you want pat of your image to be transparent then make it transparent and save it out as a .png.

Second problem, about the animation not being created. When you hit the save button does the animation you created show up under "Animated Sprites"?
#2
07/26/2006 (2:51 pm)
First I wanted to say thanks for your help. The first problem is loading the image in CELL mode. I think if I use a different image editing program, that that should work. The second problem I would go through all the steps in creating an animated sprite, but no animation would appear under "Animated Sprites". It maybe tied to the first problem, but I'm not sure. Thanks again for the info.