My goal is to make a completely 2D game using DirectX, but I'm new to it and I'm confused about all of the different APIs that are available.
Direct3D is used to render three-dimensional graphics, ... Integration with other DirectX technologies enables Direct3D to deliver such features as video mapping, hardware 3D rendering in 2D overlay planes, and even sprites, providing the use of 2D and 3D graphics in interactive media ties.
So I guess that I can use Direct3D to make HUD and GUI (2D) elements of the game using sprites, but can I use it for a completely 2D game or should I use Direct2D instead?
The reasons because I'd prefer to use Direct3D rather than Direct2D (please correct me if I'm wrong on any of this points) are:
- I don't want to use an API that abstracts me too much from what's going
- Direct2D uses Direct3D at the end
- I could find myself wanting to learn 3D programming in the future
And in case that I could use (and maybe choose) Direct3D, since it is such a massive API, which subset of it would someone need to make a 2D game?
I hope the question is not too broad, thanks in advance.