Results 1 to 4 of 4

Thread: Transparent parts in picture with BITBLT

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    Transparent parts in picture with BITBLT

    I am creating a game and too put the character on the screen i want to use transparancy the player is in a round ball but the black parts around the ball are still there, how to make a transparant part with BITBLT?
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    you don't. bitblt doesn't recolor things, it just moves them. you need to edit your image with some tool to make the parts transparent that you want transparent.

  3. #3
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    Your images should be in the Gif-format (or another format that uses transparency) and you make the part of your image trasparent with your grapjics program like Adobe photoshop, Corel photopaint, etc.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  4. #4
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    this won't work in VB.NET, I'cve tried it but it do not manage to get a part of an image transparent, it just gets the color of the form.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

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