Results 1 to 6 of 6

Thread: transparencys with direct draw

  1. #1

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409

    transparencys with direct draw

    i already check directx4vb.com they have a link thier for the page but it rings me to something about 16 bitcolor keys

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Baltimore, MD
    Posts
    230
    Uhhh, huh? What is the problem?

  3. #3
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    You need to set a color key, with a specific color...what is the problem with that...

  4. #4

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409
    You need to set a color key, with a specific color...what is the problem with that...
    how do i

  5. #5
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    You set the color key by doing something like this..

    VB Code:
    1. Dim key As DDCOLORKEY       'Makes a colorKey
    2.  
    3. key.high = 0                           'Sets the high property to 0 (black)
    4. key.low = 0                            'Sets the low property to 0 (black)
    5.  
    6. 'Sets a color key to a surface. (black)
    7. Surface.SetColorKey DDCKEY_SRCBLT, key

  6. #6

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409
    ok that worked thanx

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