Jump to content
  • Advertisement
Sign in to follow this  
kirenemook12

a good DirectX 11 tutorial (C++)

This topic is 2782 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello everyone.

i really want to learn game programming in C++. i read at the internet that DirectX is a good way. i installed DirectX 11 SDK and searched for a good tutorial. But all tutorials went to 3D games immediately. I assume that 3D games are way harder to make then 2D games. And a lot tutorials used older versions which did not match DirectX 11.

So my question is, do you know a good DirectX 11 tutorial that starts at the beginning?

i have lots of experience whit Win32 ( I think), and no experience whit game programming.

Share this post


Link to post
Share on other sites
Advertisement
the documentation that i found did directly go Direct3D, I assume that Direct3D is for 3D, while i want to start out whit 2D games. I have found Direct2D, but i think that documentation is for 2D games.
So, is Direct3D also for 2D games, or should I use Direct2D for 2D games?

Share this post


Link to post
Share on other sites
Hmm, I had to go through a similar and painful process just under a year ago. I feel confident in saying that the best, or rather the only viable, way of learning this stuff, is to follow the tutorials for DX11 in the Sample Browser that comes with the SDK, and then go it alone with support from the msdn online library, EDIT: and of course netwroks like this one.

Share this post


Link to post
Share on other sites
There's absolutely no reason whatsoever not to use D3D for a 2D game; 2D is just 3D with the 3rd dimension being constant after all.

Regarding the 9/10/11 thing, using D3D11 you can target a D3D9 or D3D10 feature level, meaning that your D3D11 code will run on older hardware Just Fine. Of course you'll still need Vista or Win 7 to use D3D11 in the first place, but otherwise there are no restrictions.

Share this post


Link to post
Share on other sites

There's absolutely no reason whatsoever not to use D3D for a 2D game; 2D is just 3D with the 3rd dimension being constant after all.

Regarding the 9/10/11 thing, using D3D11 you can target a D3D9 or D3D10 feature level, meaning that your D3D11 code will run on older hardware Just Fine. Of course you'll still need Vista or Win 7 to use D3D11 in the first place, but otherwise there are no restrictions.


Yes, you are correct, DX11 indeed includes feature levels for older versions... As of Direct2D, it's just a replacement for the deprecated DirectDraw... It is a bit simplified in respect to Direct3D, but I've heard some criticism from the creator of Braid that it's pointless. I'd stick to Direct3D for the same reason mhagain suggests... It's just one dimension held constant. And with the D3D API you can actually make nifty 2.5D effects in your game. But, in the end, it's your choice.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!