C#: DirectX or OpenGl?

It doesnt really matter.. use whatever you like more. However, DirectX is directly supported by Microsoft, OpenGL bindings are only provided by a 3rd party, there is no "official" Managed OpenGL or anything similar.

As for your 2D game, DirectX supplies an easy-to-use Sprite class which will help you out quite a bit if youre new. They also provide nice Font classes and the like, all of which you have to build yourself in OpenGL.
 
wyrd said:
It doesnt really matter.. use whatever you like more.

Well, I have to disagree with u as I think it does matter.
First of all never worked with OpenGL or DX, so, I cant make a choice since I do not have the acknowledge to realise which one or the other is suitable for my needs (of course I can always make a blind choice, but I want to avoid regrets) . Yet, from what u also said, OpenGl is not official supported on .NET (1 point to DX choice then) and u also mention that for 2D gaming DX have some nice features for it (another point for DX) and the other m8 that post before u said that probably there will be more tutorials to DX (another point)...

So, i think DirectX would be the best option...

Tks for posting out m8s!
 
For someone who doesnt have a background in video game programming, openGL would be a giant learning curve. DirectX is more user-friendly. Just compare some DirectX and openGL code
 
Back
Top