Background Transparent
M_F_B
Join Date: 2004-06-10 Member: 29228Members
<div class="IPBDescription">how to make it that way</div> hi, well i found out how to make the sprite but how do i not get the pink background color not to show up in the sprite in game. becase some 1 said there should be 4 255,0,255(pink) in the pattle but i only found one when i was done is there somthing am doing wrong? <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo-->
Comments
Choose "Alphatest" for compiling by using "Sprite Wizard" and everything should be okay <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
lets say you have 2 bmps which have totally different colors. copy paste both bmps into one canvas and save the palette.
once you save it, open one of your bmps and load the palette, save image.
do this for all your bmps.
<make sure your last color is the one you want to be transparent>
<don't use force transparancy when converting to index mode>
<when the time comes, use alphatest transparancy mode>
<save as 8bit indexed bmp file>
I'll assume both programs enable the user to edit a palette freely.
Open up the palette for the image. Find the transparency color. Then, manually swap the positions of the transparency color and the last color of the palette. For example, if the transparency color is blue and it's in the first slot of the palette, and the last color of the palette is white, edit the two slots so that the first one is white, and the last one is blue.
An alternative method that achieves the same effect, is to color the transparent areas with whatever color is in the last slot. This method is generally quicker, but you'll have to make sure you get all the areas you want, down to a single pixel.