#9169 - Foz - Tue Jul 29, 2003 9:57 pm
Hey everyone,
I'm a bit stuck and could use some help.
I am currently using pcx2sprite and I'm getting pretty odd behavior. I use Photoshop to create my half-way decent images. I save them as a PCX file with indexed color. I edit the color table to make color 0 black and then add whatever color I removed to the end of the palette so I am sure that all the colors are there. I don't save the palette separately but I resave the image. I then run it through the tool.
Color 0 on my palette is 0x0000. However, my data seems to have 0xFFFF wherever my transparent color should be. The result is a box around my sprite. I then manually edit the data array with 0x0000 to get the transparency I need, but this is not only painstaking but also inaccurate as some tiles may have a few transparent pixels around them resulting in background color(lets say black for now) showing up sporadically around my sprite. The box is gone but it's pretty ugly.
Am I messing up the color table? (though it doesn't work when I leave it alone either) Am I doing something wrong with the tool? Or should I be using a different tool that works better with Photoshop? Thanks.
I'm a bit stuck and could use some help.
I am currently using pcx2sprite and I'm getting pretty odd behavior. I use Photoshop to create my half-way decent images. I save them as a PCX file with indexed color. I edit the color table to make color 0 black and then add whatever color I removed to the end of the palette so I am sure that all the colors are there. I don't save the palette separately but I resave the image. I then run it through the tool.
Color 0 on my palette is 0x0000. However, my data seems to have 0xFFFF wherever my transparent color should be. The result is a box around my sprite. I then manually edit the data array with 0x0000 to get the transparency I need, but this is not only painstaking but also inaccurate as some tiles may have a few transparent pixels around them resulting in background color(lets say black for now) showing up sporadically around my sprite. The box is gone but it's pretty ugly.
Am I messing up the color table? (though it doesn't work when I leave it alone either) Am I doing something wrong with the tool? Or should I be using a different tool that works better with Photoshop? Thanks.