Background Transparent

M_F_BM_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

  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    edited June 2004
    The LAST color in your palette needs to be your color for transparency!

    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-->
  • M_F_BM_F_B Join Date: 2004-06-10 Member: 29228Members
    but how u make it the last one because when i try too do that it only changes colorand when i try to change it only thing chage is colors, like when i change from ping to red the red is not transparant soo how i get the color to last spot with out the color change and is there a pattle i can download or somthing? <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->
  • zwingzwing Join Date: 2004-04-21 Member: 28071Members
    edited June 2004
    transparant color could be any color, it doesnt have to be blue. make sure all your images have the same palette.

    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>
  • M_F_BM_F_B Join Date: 2004-06-10 Member: 29228Members
    thx but how u MOVE the color which is not last to the last spot? <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html//emoticons/turret.gif' border='0' style='vertical-align:middle' alt='turret.gif' /><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html//emoticons/asrifle.gif' border='0' style='vertical-align:middle' alt='asrifle.gif' /><!--endemo--> <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html//emoticons/pudgy.gif' border='0' style='vertical-align:middle' alt='pudgy.gif' /><!--endemo-->
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    What image editor are you using?
  • M_F_BM_F_B Join Date: 2004-06-10 Member: 29228Members
    Photo Shop <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo--> is there another one out there if so were can i download?
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited June 2004
    Well, I use Micrografx Picture Publisher, and I have no experience with PhotoShop, so if the following method doesn't work in PhotoShop, don't despair.

    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.
  • CaptainPanakaCaptainPanaka Join Date: 2002-11-02 Member: 4718Members
    I took that pic in Paint Shop Pro <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • M_F_BM_F_B Join Date: 2004-06-10 Member: 29228Members
    O HAPPY DAY!!!! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo--> but its hard to replace some of the colors tho BUT STILL O HAPPY DAY IT WORKS!!!!!! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • M_F_BM_F_B Join Date: 2004-06-10 Member: 29228Members
    <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo--> i thank all of you for your help <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html//emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif' /><!--endemo--> PS Thank you <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
Sign In or Register to comment.