I have some directx knowledge and i want to continue learning it. But i found that microsot have changed the way of coding in it and removed d3dx libraries from it from win 8 and puted directx sdk in win8sdk and jun2010 version of directxsdk doesnt work in it. What is best way to continue learning it? Because new way of coding still hasnt good refrences and sample codes. There is a new framework that microsot gave for directx for vs2013 but im very unfamilliar with it and dont know what this is. Thanks for helping me.
3 Answers
There is no any "new way of coding". DirectX API itself remain unchanged. They only deprecated some helper libraries, but still you can find alternatives.
Even if you continue to learn with DirectX SDK you loose nothing.
I'm also not aware of any "new framework that microsoft gave for directx for vs2013", but since VS2012 they've added Express versions of Studio "for Windows" and "for Windows Desktop". This naming is a little misleading. Probably, you've downloaded "for Windows" version, where there is no good old native C++ desktop project templates available, but only templates for Windows Store Apps. So, try "Desktop" one.
For more details and helpful links about DirectX SDK vs Windows SDK, see my post here.
You Can always download the older DirectX SDK and install it in visual studio (even if it is VS2012 or VS2013) so you can follow along with any book or tutorial, because most of them, if not all, are tailored for the older DirectX (the one with d3dx).
VS 2012 and VS 2013 include Direct3D templates for Windows Store apps and Windows phone. These set up a new 'framework' using WinRT APIs and the ICoreWindows swap chain that supports Windows 8.x or Windows Phone 8. You use Direct3D 11 or Direct2D for rendering basically the same way you did with Win32 desktop applications, but using a different input, main game loop, windows message, and Present model.
There are no built-in Direct3D templates for Win32 desktop applications installed with VS 2012 or VS 2013. Instead you'd use a classic Win32 windowed application template and then add Direct3D to it. You can use the Win32 desktop tutorials as a guide for doing this.
UPDATE Alternatively, you can use this extension: Direct3D Win32 Game Visual Studio template.
For more information on the overlap between Windows Store apps and Win32 desktop app programming, see Dual-use Coding Techniques for Games.