Game Development Community

Transparent...???

by Ryan McKenzie · in Torque Game Builder · 09/09/2006 (10:12 am) · 2 replies

I am trying to create grass for my platform game project. I ran a test and came across a huge problem.

I ceated my flatplain of grass in photoshop. I didn't want to paint some sky on the same image so I had created grass on a transparent layer. When I brought the layer into TGB and transformed it into a cell image map. The tranparentness is white, so when i'm laying down my surface grass onto the tile builder I have white chunks coliding with my grass when I want it transparent.

Does anybody know how to solve this?

#1
09/09/2006 (10:28 am)
When you create your grass in photoshop, make sure the grass is on a transparent layer like you said, but also make sure you delete the very bottom background layer, otherwise that will get merged with the transparent layer when you save it. Also, make sure you're saving the file in PNG format. Hope this helps.
#2
09/09/2006 (12:17 pm)
@Ben, hey thanks alot for the tip :)
Got the file type wrong.