Results 1 to 4 of 4

Thread: VB6 - Complete BitBlt Overview

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Location
    The Netherlands
    Posts
    41

    Exclamation VB6 - Complete BitBlt Overview

    Hi r33d3r,

    Complete BitBlt Overview
    Yikes! That sounds like ****! Well I won't get in to advanced since I'm quite new to BitBlt as well. (2 non-stop days of brain cracking got me my knowledge so far)
    This topic will be updated with sources (for lazy people I guess, excuse me if I'm wrong ) and more questions.

    !!! PLEASE DON'T REPLY, SEND ME A PRIVATE MESSAGE INSTEAD !!!

    You should read this first!

    So there we are workin' with masking and stuff.
    Now we have some thing to watch out for!

    I use BitBlt and the pictures need to be visible? Why!
    No this isn't needed just do this:
    VB Code:
    1. Picture1.AutoRedraw = True
    2. Picture1.Visible = False
    Now BitBlt again and, see no picturebox but the BitBlt shows you what you wanted.


    Masking is difficult! Is there another way to do this?
    First you need to know that you COULD use masking. Though in many cases you don't need to really make things transparant. (This is a lazy way to accomplish things. ) Just equip the sprites with the unlayered tile now again this won't work in many occasions but sometimes this is just what we want and we don't need to do difficult masking.


    My screen starts to flash a little every now and then (or worse )
    Well this again is a AutoRedraw thing, I still can't find the use of letting this function on False but set
    VB Code:
    1. Picture1.AutoRedraw = True
    then the flashes should've stopped.
    Attached Files Attached Files
    Last edited by paddoswam; May 30th, 2005 at 06:35 AM.

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