Advertisement

Using Bitmaps in DirectX

Started by January 12, 2002 11:50 PM
2 comments, last by pizza box 22 years, 10 months ago
Can someone please explain to me in simple english how I can get a bitmap to appear on my screen!? I''ve read tons of tutorials and they all give me little bits and pieces ( how to load a bitmap, how to blit a bitmap, ... ), but they never show the whole picture. Its getting quite frustrating not being able to create a simple pong game in DirectX when I know how to do almost everything except load images. I understand that you have to load a bitmap, and then blit it from an offscreen surface to the primary surface, but how would I make the calls to do that? If someone can give a general format to displaying bitmaps that would be great. Thanks
Check out the example code that comes with the directx sdk, I think there you''ll find exactly what you need.
Advertisement
using the idirectdrawsurface::blt,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
goto www.wotsit.org download the file spec. implement. done.
HardDrop - hard link shell extension."Tread softly because you tread on my dreams" - Yeats

This topic is closed to new replies.

Advertisement