| | |
DirectX question: Using DirectDraw vs. Direct3D
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2008
Posts: 16
Reputation:
Solved Threads: 0
I have been working through the book Windows Game Programming for Dummies and so far it has been excellent. I am about half way through the book and I am planning on finishing.
However, the books is from 2002 and it uses DirectDraw7 for the graphics component of DirectX. It is my understanding that DirectDraw has been depreciated and that now Direct3D is used for both 3D and 2D graphics.
So the question is:
If I want to make a 2D game, would it be better to use DirectDraw or Direct3D. Also, how similar are the syntaxes between the two (ie: would I have to learn how to work with a lot of new classes if I were to learn Direct3D. Finally, does DirectDraw have better performace due to less overhead that Direct3D, or is this not the case.
Thanks,
Mike
However, the books is from 2002 and it uses DirectDraw7 for the graphics component of DirectX. It is my understanding that DirectDraw has been depreciated and that now Direct3D is used for both 3D and 2D graphics.
So the question is:
If I want to make a 2D game, would it be better to use DirectDraw or Direct3D. Also, how similar are the syntaxes between the two (ie: would I have to learn how to work with a lot of new classes if I were to learn Direct3D. Finally, does DirectDraw have better performace due to less overhead that Direct3D, or is this not the case.
Thanks,
Mike
![]() |
Other Threads in the C++ Forum
- Previous Thread: A little problem
- Next Thread: 2-dim array?
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator getline givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





