Xhairs
axman
Join Date: 2004-02-20 Member: 26724Members
<div class="IPBDescription">help tranparentcy</div> I have made this x hair for my necro pistol but i dont know how to make the black in the picture be transparent
Here's the pic for those who can fix it
~Saved as png b/c bmp wont upload~
Here's the pic for those who can fix it
~Saved as png b/c bmp wont upload~
Comments
In my example, I've chosen to use red as the transparency color, and have already configured the palette accordingly. You can take the PNG from below, convert it to a BMP, and then directly compile it.
Although, I would suggest you use a more contrasting color, such as blue or green, for this particular sprite.
So, in short, keep these points in mind:<ul><li><b>Always</b> use a 256-color palette</li><li>If the image editor can't draw out 256 colors from the image, fill it up manually</li><li>Color the areas you want transparent, with the last color in the palette</li><li>Try to use a high contrast color</li></ul>The image below has been fixed, and should compile correctly. However, the sprite won't 'connect' properly in-game. You can see that the top and bottom joints are cut at the wrong places.