Results 1 to 6 of 6

Thread: Hi there,****REASOLVED****

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    Kuwait / Dubai
    Posts
    19

    Unhappy Hi there,****REASOLVED****

    Well i making this program where there is picture in the middle. the background is black and the background of the picture is white. no compound colors. the form(background) changes colors. i want the part of the picture to change as well...
    Last edited by Da_Man; Nov 14th, 2002 at 12:26 PM.
    § Da_Man §
    MSNid [email protected]
    Phone: 009659022278

  2. #2
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    makes no sence. If the background is black rgb(0,0,0) and you change it to (0,0,1) ... now you want the pic to have black background?
    Do this: look up example of transblit, look up deleting objects, fix memory leek in object create and delete within transblit. After that make white your transparent color wight when you load it and keep calling it as the backcolor changes.

  3. #3
    Member CrazedWombat's Avatar
    Join Date
    Oct 2002
    Location
    asylum
    Posts
    47
    hey
    the easier way was take the picture, (i dont know what it is), and make the background on the picture transparant, then when the background changes, it will shine through on the picture. i cant think of any easier way to do it, for coding changes in pictures is much harder than altering the pic itself.
    Wombat

    "I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"

    "Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."

    "They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."

    Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.

    "My programs dont have bugs, they have random features" - MisianThrop

    "The good thing about our ticket to the future is that it's always blank" - Trigun

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    Kuwait / Dubai
    Posts
    19

    Wink OK, But how

    Here's the pic how to make it Transparent I tried to make it transparent with Photoshop i got very far, then tried to test it still uncomplete but it didnt work...
    Attached Images Attached Images  
    § Da_Man §
    MSNid [email protected]
    Phone: 009659022278

  5. #5
    Lively Member SmashX's Avatar
    Join Date
    Nov 2002
    Location
    The Space between dreams and reality
    Posts
    86
    in my experience with grafix you gatta save it as .gif

    then i think you can set some .gif transparencys, that should work. that just my guess, im goin to be doin the same thing with my sad little game.

  6. #6
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    I suggested transblit to make the color on the pic transparent because you can alter the transcolor easier and keep the pic on top through the operation of backcolor change.
    Keep one thing in mind using gif kiss floodfill goodby on that pic - it won't work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width