-1
\$\begingroup\$

So, I heard somewhere that Microsoft intends to phase out XNA in favour of using the DirectX method. I've always wanted to learn, but all I ever did in XNA was simple 2D games. I was wondering if there's any good tutorials out there for people migrating from XNA...thanks in advanced!

\$\endgroup\$
13
  • 1
    \$\begingroup\$ Unfortunately MS isn't all too clear about the future of XNA but it might not be the safest bet to invest time in XNA. However since you've worked with XNA you probably have a lot of experience with C#, a shame to let that go to waste. Why not try SlimDX or SharpDX? These two wrappers let you use DirectX from C# and are a lot faster than XNA. Of course you still need to learn DirectX but that's only one new thing at a time :) \$\endgroup\$
    – Roy T.
    Commented Oct 25, 2012 at 7:52
  • 1
    \$\begingroup\$ @RoyT: Can you quantify "a lot faster than XNA"? I'm quite curious, as XNA isn't exactly un-optimised. \$\endgroup\$ Commented Oct 25, 2012 at 8:16
  • 2
    \$\begingroup\$ Yep - saw that. I wonder how much of it is "DirectX 9 vs DirectX 11", and how much is "XNA-being-helpuful" overhead, and how much is down to the marshalling that the article discusses. It doesn't surprise me that XNA is slower - I expect it takes hits in all three areas. Although it's worth pointing out, for anyone coming across this, that this is a micro-benchmark of just the API layer. Using XNA doesn't make your whole game 1.5-3x slower (vs the other managed libraries - native is a different beast). \$\endgroup\$ Commented Oct 25, 2012 at 10:44
  • 3
    \$\begingroup\$ -1 Not constructive. Asking for "good tutorials" has no correct answer. You're just generating a list for a broad topic. \$\endgroup\$
    – House
    Commented Oct 25, 2012 at 14:49
  • 2
    \$\begingroup\$ So, I heard somewhere that Microsoft intends to phase out XNA in favour of using the DirectX method. Please provide a source. Otherwise, your entire question is being asked on the basis of rumors and hearsay. \$\endgroup\$
    – Cypher
    Commented Oct 25, 2012 at 16:25

3 Answers 3

2
\$\begingroup\$

Unless you feel constrained by XNA 4.0 capabilities there is no really reason to switch from it to DirectX. At least you can try MonoGame which is actually recommended by MS employee (that can be a fake account of course, but I see no reasons to doubt it). The migration to MonoGame is pretty straightforward.

If you are making simple games there is no really need for pure DirectX. You also can be overwhelmed by technical details required for it.

\$\endgroup\$
1
\$\begingroup\$

I found this tutorial that perhaps is going to be useful for you. Is about starting Managed DirectX applications and 2D, (you'll finde code there also). Hoping it helps.

http://www.codeproject.com/Articles/3470/Managed-DirectX-Tutorial-Part-1-The-Title-Screen http://www.codeproject.com/Articles/3601/Managed-DirectX-Tutorial-Part-2-Samus-Running

\$\endgroup\$
0
\$\begingroup\$

Although this site is extremely ugly the tutorials are really in helpful and easy to follow. Rastertek

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .