locked
DirectX tutorials? RRS feed

  • Question

  • Hi, ive been looking for a good windows 8 directx tutorial for a couple of weeks but haven`t found anything that works for me.

    I did find a tutorial on youtube how to make a dirextx app for windows 8 but id didn´t work! i got errors about the code that is was invalid! And other tutorials use templates like the directx3d app template that i don`t even have in my visual studio 2013! So i purchased a book named beginning directx 11 game programming, But it used visual studio 2010 and the code didn`t work in the visual studio 2013 directx app template(not win32 apps either)! is there any good tutorials for directx windows 8/8.1 apps?

    Sunday, March 16, 2014 4:25 PM

Answers

All replies

  • There is a DirectX section in the Getting Started section on the Windows Store apps Dec Center. See Create your first Windows Store app using DirectX . There are several tutorial samples in the code gallery: http://code.msdn.microsoft.com/windowsapps/site/search?f%5B0%5D.Type=Technology&f%5B0%5D.Value=DirectX

    I'm not familiar with any of the books that specifically target DirectX for Windows Store apps, but sorting a bookstore's DX books by publishing date finds several.

    Depending on your specific goal you might want to look into middleware such as Unity rather than going directly to Direct3d.

    --Rob


    Sunday, March 16, 2014 6:23 PM
    Moderator
  • You can learn DirectX 11 programming from these older books, and many of the same technologies and techniques apply to Windows Store apps, but the code samples themselves are for Win32 desktop applications. Of course, they also tend to be rife with 'legacy' technology which can be a challenge to sort out from what is 'current'.

    For a true "Windows Store apps" tutorial, you can start with the official sample.

    There is also a Win32 desktop equivalent sample.

    If you are wanting to use C#, SharpDX is the currently the best technology to focus on for supporting Windows Store apps if you are not going to use a middleware solution like Unity.

    If you are wanting to use C++, you may want to look at the DirectX Tool Kit for some helper code to get you started.

    Sunday, March 16, 2014 6:34 PM
  • I have written a couple of direct x games.

    I used one of the template examples and expanded that to fit my needs.


    n.Wright

    Sunday, March 16, 2014 9:44 PM
  • Ok, thanks! I've been playing around with unity so I will give unity a shot
    Wednesday, March 19, 2014 7:41 PM