News:

Zatikon is back and free to play! https://www.chroniclogic.com/zatikon.htm

Main Menu

Transparancy for tiles...

Started by , November 04, 2004, 08:12:07 PM

Previous topic - Next topic

Hey everyone http://www.pontifex2.com/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'>
I wanted to make some new tiles for Gish so I could use them in my levels. So I made some in Photoshop, and saved them as a TGA file in a newly-made 'tiles08\textures' directory. I got them into the editor, but one thing didn't go right... The transparancy of the tiles.

What colour should I use for transparancy? I tried RGB 0,0,0 but it just displayed it as black in the game. I also just tried saving the image with normal Photoshop transparancy, but then it just displayed it as white.

Any help is much appreciated http://www.pontifex2.com/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'>

Jonathan_NL

Targa supports an alpha channel, so just use it. Just select 32 bit after save as targa.
I rarely check this forum anymore. Feel free to send me a PM if you want my attention.

Ah, I used 24 bit when I saved the file.. I'll try 32 bit, thanks http://www.pontifex2.com/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'>

EDIT: Yep, it works! Thanks again http://www.pontifex2.com/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'>