Original Post
Hi.
I am new to DIrectX, so for my first project, I decided to write Pong. Simple I know, but a good place to start.
I have the functionality of the game working, in 256 color mode, but now I want to add bitmaps for the paddles and the ball.
I have DirectX setup fine, to use DX7, (Lp....4 or whatever it is)
I bought the book, "Tricks for the Windows Game programming Guru''s", and using this I tried to load a bitmap, create a surface, attach the bitmap to the surface the blit the bitmapped surface to the primary surface, but it doesn''t work. It compiles and links fine, but when I execute it, I just get a blank black screen.
I would like someone to point me to a tutorial, on the topic, or if anyone has some code that does just that, it would be greatly appreciated.
Thanks
Giant
"Only two things are infinite, the universe and human stupidity, and I''m not sure about the former." --Albert Einstein