Now that Xna is unsupported, what is a better choice? [closed]
Asked Answered
S

1

10

Xna is unsupported, and unfortunately I started game programming recently(~9 months). What is a better choice, DirectX or OpenGl.

Now, I don't think DirectX or OpenGl have official libraries for C#, so which one would be better for a newcomer?

I heard of stuff like Mono, SharpDx, and SlimDx.. But are there any advantages of DirectX over OpenGl, vice versa.

Also, what are these Mono, SharpDx, and SlimDx called? Do they have a certain name?

Supposing answered 20/2, 2013 at 19:52 Comment(14)
what platfrom/s you want to target?Ilbert
Windows for sure, but I don't mind Linux.Supposing
I'm not the OP, but I'm also concerned. I think MonoGame can target lots of platforms.Ablepsia
metro? desktop? phone? :)Ilbert
Oh my bad.. Desktop. Hmm I didn't know metro can support games..Supposing
Hmm, if I used Monogame, would every one who plays my game have to download monogame libraries? Isn't there a way to pack them in with the game?Supposing
Because MonoGame is open-source, you could copypaste its code into your game's code, but if it's not necessary, just put the .dll files into the game's folder.Ablepsia
Hmm, the reason I abandoned Xna is because I didn't like the idea of customers downloading and installing Xna libraries that no longer have support. But is it possible to put Xna .dll into the game's folder, and prevent the user from having to have to download the whole redistributable package?Supposing
I never had problems with using old tools from my workshop. They work just fine, it doesn't matter they were made 60 years ago. Same with software. XNA support has stopped very recently, looks like Windows 8 still will support it, so probably until next Windows OS.Ablepsia
Maybe, I got this great idea for a game, but I don't want it to become unsuccessful just because it's made in Xna.Supposing
You can use WPF with Direct2D.Unmoving
@Supposing You can certainly include the DLL files with your game and that would prevent the customer from needing to have the package installed themselves.Priestcraft
Good! No need to abandon Xna after all.Supposing
XNA is not "unsupported". Microsoft has explicitly stated that it continues to be "supported" (it's just not "in active development"). See my answer to your follow-up question.Rysler
E
0

No surprise in XNA status...
I do remember when we had Managed DirectX once upon a time :)

I think that if you targeting Windows OS you should use VS2012/C# as to this date VS is the richest most straight-forward and highly convenient IDE out there. C# as language is very academic in nature - nothing gets in that language before MS do a substantial investigation of the abstract mathematical models which relate to OOP/OOD. So in that sense they serve as a "big uncle" which make sure to clear the way as much as possible from bad design or design flaws that lurks in the developer path..
In other words, it is much harder to make something that work with design flaws in C#.
DirectX in that sense is just a bunch of DLL’s you can incorporate into your game to give it the UI you want.

If you plan to target more OS’s, I would recommend Code-Blocks as IDE and OPENGL as your UI provider, but keep in mind that it is C++ programming which is less convenient, not to mention you will open your application to specific errors which may occur in specific OS’s..

Your last option is Java based, which gives you the benefits from both of the options I mentioned, but will be around 44% slower in execution which to my taste discharges it as a good option for games.

You need to consider your budget very carefully when you choosing your development path, In Example, consider how much it will cost to QA your game in cross platform situation vs. just in windows…

Euterpe answered 21/2, 2013 at 6:46 Comment(2)
I'm sorry but how is recommending VS2012 and C# addressing the question?Roundtheclock
did you read the question? he asks what is the better choice now that XNA is not supported - hence my answer of what is the better choice to my knowledge.Euterpe

© 2022 - 2024 — McMap. All rights reserved.