hi
i want to write a game using visual c# 2012 express. i wonder whether there is any game or graphics API such as Opengl for vs c#?
i googled and search Amazon (for book), but could not find one.
any suggestion is appreciated.
are there any game or graphics api for vs c# 2012?
Started by nickme, Dec 05 2012 09:52 PM
5 replies to this topic
Ad:
#2 Crossbones+ - Reputation: 3516
Posted 05 December 2012 - 10:18 PM
Uh, have you tried DirectX? I recommend starting with 11, as DirectX 9 is phasing out and unless you're supporting old devices you have no reason to use it over DirectX 11 which has a much cleaner API and even has feature sets, which are really a better approach to compatibility than black&white "your card is too old to run this game". Of course this is assuming you're running Windows, but since you mention Visual Studio I think the odds of you using Linux or Mac are rather slim.
As for an actual game engine, then there are lots of them - you can use Unity3D with C#, for instance, but there are many more to choose from.
As for an actual game engine, then there are lots of them - you can use Unity3D with C#, for instance, but there are many more to choose from.
Edited by Bacterius, 05 December 2012 - 10:20 PM.
#3 Members - Reputation: 1669
Posted 05 December 2012 - 11:13 PM
I am genuinely surprised that you weren't aware of the C# wrappers for DirectX (SlimDX and SharpDX), but I'd definitely look at those, or XNA, ANX, Monogame, Unity, or the Tao Framework (which is an OpenGL library for C#).
Just about every library I've found for C++ has a C# wrapper version, network libraries, physics libraries, asset loaders, you name it. Just throw "C# wrapper for" in front of any generic library type in google and you'll likely get a few options.
Just about every library I've found for C++ has a C# wrapper version, network libraries, physics libraries, asset loaders, you name it. Just throw "C# wrapper for" in front of any generic library type in google and you'll likely get a few options.






