Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

closed as not constructive by Byte56, Tetrad Oct 25 '12 at 19:34

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

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 :) – Roy T. Oct 25 '12 at 7:52
@RoyT: Can you quantify "a lot faster than XNA"? I'm quite curious, as XNA isn't exactly un-optimised. – Andrew Russell Oct 25 '12 at 8:16
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). – Andrew Russell Oct 25 '12 at 10:44
-1 Not constructive. Asking for "good tutorials" has no correct answer. You're just generating a list for a broad topic. – Byte56 Oct 25 '12 at 14:49
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. – Cypher Oct 25 '12 at 16:25

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.

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.