Direct3d vs direct2d versus directdraw for 2d games?

Which one is best for 2d games? I will need to use bitmaps and sprites a lot if that has any influence.
Last edited on
Direct2d is a pain in the ass for games. If EndDraw() returns ERROR_RECREATE you have to recreate the render target, and that means you have to recreate ALL of your bitmaps. Apparently you can't create the render target and expect it to survive the lifetime of your app. As for DirectDraw... hasn't that been deprecated? I suggest opengl or some library that uses it, because opengl is much easier to use for 2d rendering than directx and its COM stuff.
Edit: Alright, thanks.
Last edited on
I think d3d is better because the d3d api include all direct2d api.
Direct2D is a separate API. It was released with windows 7 and backported to vista and it replaces GDI for hardware accelerated GUI rendering. You don't need the Directx SDK to use it or anything.
Last edited on
Topic archived. No new replies allowed.