Jump to content
  • Advertisement
Sign in to follow this  
Toromak

Is C# still worth learning for game development now that XNA is dead?

This topic is 2074 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was considering learning C# for game development. However, I recently learned that XNA is dead. Is C# still good to learn for game development? Can anyone suggest a better language and library for game development?

Thanks,

Toromak

Share this post


Link to post
Share on other sites
Advertisement

Sure why not? Many people consider it a very good language, for games and for things that aren't games. So whatever you learn with it, it should be easily transferable to other kinds of applications.

 

XNA isn't certainly the only thing going in C#, you can look around what other frameworks/engines are being worked on in C#, there are lots of it (without going to far, you'll find MonoGame, a XNA-like framework running on top of Mono).

Share this post


Link to post
Share on other sites

XNA was not the only option for doing graphics programming in C#. SharpDX is currently the prevailing Direct3D wrapper (MonoGame uses it under the hood, as well as one of the openGL wrappers). For OpenGL there's OpenTK, although I don't know if that's been keeping current. There's also SharpGL, but I can't comment much beyond knowing it exists.

 

Or if you're crazy enough, just write your own wrapper to call into OpenGL or Direct3D with P/Invoke or C++/CLI. Although I would just recommend SharpDX, if you were interested in XNA (MonoGame if you want an API like XNA). However, don't go and assume that C# was relevant only because of XNA, because XNA is just one library. It's a very good language to know and use, whether it's a game you want to develop or something else.

Share this post


Link to post
Share on other sites

I watched this video from Steam Dev Days (

) and from what little I know about XNA it seems like SDL can provide a lot of the same basic functionality, and then more advanced graphics through OpenGL. While written for C++, SDL has bindings for C# (https://github.com/flibitijibibo/SDL2-CS).

 

Hopefully someone more knowledgeable then I can comment on this.

Edited by Nightgaunt

Share this post


Link to post
Share on other sites

XNA was not the only option for doing graphics programming in C#. SharpDX is currently the prevailing Direct3D wrapper (MonoGame uses it under the hood, as well as one of the openGL wrappers). For OpenGL there's OpenTK, although I don't know if that's been keeping current. There's also SharpGL, but I can't comment much beyond knowing it exists.[/quote] 

 

 

 

OpenTK is very much alive, it just had a new release that added OpenGL 4.4 and a SDL2 backend.

Share this post


Link to post
Share on other sites

Keep in mind that a game is not only the playing executable itself, but also the set of tools used to make it. Editors of any type (for levels, maps, assets manager, scripts) are often made in some enterprise-productive language like C#.

Share this post


Link to post
Share on other sites

C# is an excellent language for game development, and it seems even Microsoft is promoting the open source XNA replacement MonoGame. C# is one of not-too-many languages you can use on (most) current platforms. Another nice thing about C# is that you can use it for not only the game development itself, but tools/applications and the web as well.

Share this post


Link to post
Share on other sites

 

XNA was not the only option for doing graphics programming in C#. SharpDX is currently the prevailing Direct3D wrapper (MonoGame uses it under the hood, as well as one of the openGL wrappers). For OpenGL there's OpenTK, although I don't know if that's been keeping current. There's also SharpGL, but I can't comment much beyond knowing it exists.[/quote] 

 

 

 

OpenTK is very much alive, it just had a new release that added OpenGL 4.4 and a SDL2 backend.

 

 

Good to know. I see you guys pushed out OpenTK 1.1 officially just yesterday, what timing :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!