BitBlt

This is a discussion on BitBlt within the Game Programming forums, part of the General Programming Boards category; I'm using the Visual Borland Builder 3 Standard compiler and wondered if anyone wouldnt mind helping me learn the "BitBlt" ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    17

    BitBlt

    I'm using the Visual Borland Builder 3 Standard compiler and wondered if anyone wouldnt mind helping me learn the "BitBlt" technique, an example would be greate that I can compile and learn from, I don't want to be loading external bmp's into the application though, if anyone knows how and wouldn't mind writing me an example I would be extremely grateful.

    Email it to me at: scorpion_ice@yahoo.com

    Thankyou

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    When you say

    "I don't want to be loading external bmp's into the application"

    Does that mean you would like the bitmaps to be resources, or...? I would be more than happy to write you a simple application demonstrating a bitblt operation. I'll try to post the code tomorrow when I have time.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    17
    Having the bitmaps already within the executable which I can use for the BitBlt.

    And thankyou
    Scorpion-ice
    Imperium et Respectus

  4. #4
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    My snake game does this Scorpion-ice, have a look if you wish.
    Attached Files Attached Files
    VC++ 6

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Ack, someone beat me to it. I didn't see you reply until today. Anyways if you need another example just let me know.

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    17
    Sure, all examples will be useful in helping me learn this, hopefully well commented too
    Scorpion-ice
    Imperium et Respectus

  7. #7
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    This is a rather elementary example but should serve the purpose of instruction. If you have any questions on it let me know. Hope it helps you.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BitBlt()
    By Gordon in forum Windows Programming
    Replies: 2
    Last Post: 05-29-2008, 12:38 AM
  2. Which BitBlt Raster Op?
    By SMurf in forum Windows Programming
    Replies: 1
    Last Post: 03-01-2006, 12:52 PM
  3. another BitBlt question..
    By btq in forum Windows Programming
    Replies: 6
    Last Post: 10-11-2002, 04:28 PM
  4. bitblt
    By canine in forum Windows Programming
    Replies: 3
    Last Post: 07-10-2002, 12:17 AM
  5. Problems with BitBlt
    By Isometric in forum Windows Programming
    Replies: 6
    Last Post: 02-05-2002, 08:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21