Results 1 to 2 of 2

Thread: BitBlt Question (Tracers/Transparency)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    Klamath Falls, OR
    Posts
    71

    BitBlt Question (Tracers/Transparency)

    I'll try and keep this as short as possible

    I've got a picture box, with a picture in it... it is my background for the game.. then i've got an object the scrolls from left to right and right to left, lots of them. Anyways.. it looks all fine and dandy, BUT since the BG is textured, and it has some whitish shades in it... you can see the texture through the scrolling objects sometimes. What is the appropriate order of drawing to make the image completely solid, AND the edges around it transparent. I've come close with this....

    BitBlt Mask vbSrcPaint
    BitBlt Object vbSrcAnd
    BitBlt Object vbSrcInvert

    But it leaves a black trail behind the object, which is not good. I just can't figure out how to make the object move across the screen, solid and transparent on the edges. And the background picture underneath needs to be put back to where it was (No black lines). I dunno if this is possible. Any help though in getting the image to look right would be MUCH appreciated. Thanks
    Last edited by mattkinser; Jun 6th, 2002 at 05:11 PM.

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