Using Bitmaps in DirectX
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement