Need Help With DirectX

mycroft
06-29-2002, 11:36 PM
Hey everyone i am new to this place but from what i see in the FORUMS i am sure that for the most part my learning will increase. You see i am trying to learn DirectX 7 with vb but some of the code seems a MESS i get how the surfaces work but i can only Blt or Bltfast one Bitmap to the screen, i know i wont be able to create a game for some time but i just want to for now create a directX screen saver that has a sprite go around the screen could some people please enlighten me on how to blt two images to the screen and explain it? Thanks i apprieciate the hopefull future replys

Epo
06-30-2002, 08:57 AM
I'm fairly new to DirectDraw, but from what I understand:
You have your Primary and Backbuffer surfaces. In addition, you need to Dim a surface for one bitmap, and another surface for the second bitmap. Then when drawing, you need separate rectangles for each bitmap (if they're different sizes). From there you Blt/BltFast on to the Backbuffer twice, one for each Bitmap Surface.

Like I said, I'm fairly new at this, I know what I'm doing (for the most part), but I don't really know if my explaining was the greatest :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum