First of, I'm a C++ engineer for almost 12 years now.
How come that every single time somebody starts like this on a forum the post ends up being ahemm... pretty incorrect?
First of, I'm a C++ engineer for almost 12 years now.
Ditto
If you're not able to finish a game in XNA you will never be able to finish it in C++. That's my practical answer.
First of, I'm a C++ engineer for almost 12 years now.
...because of the low-level access it gives ([color=#FF0000]bitwise operations...
Whether you should learn C++ or not depends a lot on why you want to learn it. If you want to learn it so that you can make games that run faster, don't bother. If you want to make games that are cross-platform, java might still be a better approach. If you want to simply develop your skills, I highly encourage it. If you are hoping to work on games for a AAA studio someday, I would consider C++ a must; although, you can probably get in the door with C#, as a lot studios develop tools in C# because it is quicker.
The major pro's and cons of the two seem to be that opengl is more powerful and efficient and can run on practically all hardware, where as directx is weaker and lacking in these qualities but much easier to learn.
[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]Also, don't fall into the flame wars..OpenGL, DX... learn it all, leave the flame wars to clueless teenagers.
[/font][/quote]
This.
Comparison wars happen with everything, ranging from programming to politics (theres even a Egg vs Tofu war :S), nothing except for flaming and bitching occurs in these wars, the smart people are the ones who learn both areas. In the end you will likely get flamed for anything you use, I get slack all the time for preferring SQL Server over MySQL and picking .net over Java. However as one evil genius once said (and I love this quote) "You can either succeed in one area, or ultimately fail trying to master two", this isnt to say you should stick with C# for the rest of your life, its to say take one area at a time.
[quote name='Dagz' timestamp='1331604151' post='4921543']
The major pro's and cons of the two seem to be that opengl is more powerful and efficient and can run on practically all hardware, where as directx is weaker and lacking in these qualities but much easier to learn.
Also, don't fall into the flame wars..OpenGL, DX... learn it all, leave the flame wars to clueless teenagers.
[/quote]
This.
Comparison wars happen with everything, ranging from programming to politics (theres even a Egg vs Tofu war :S), nothing except for flaming and bitching occurs in these wars, the smart people are the ones who learn both areas. In the end you will likely get flamed for anything you use, I get slack all the time for preferring SQL Server over MySQL and picking .net over Java. However as one evil genius once said (and I love this quote) "You can either succeed in one area, or ultimately fail trying to master two", this isnt to say you should stick with C# for the rest of your life, its to say take one area at a time.
[/quote]
It is perhaps worth mentioning that the benchmark you linked primarily measures the cost of API calls (native calls have quite a bit of overhead in managed languages), The overall performance difference in an actual application will most likely be far lower.
:/
I am rather curious about where you heard this as OpenGL is known to be easier to learn than DirectX and both are equal in terms of what can be achieved (although I prefer the way DirectX is structured).
Anyway you dont have to leave C# to use DirectX / OpenGL, theres well known stable wrappers that have all the benefits of DirectX / OpenGL, have a look at SharpDX, SlimDX or OpenTK and if you are still worried about performance, which tbh you shouldnt be as the performance difference is unnoticeable, have a look at http://code4k.blogsp...11-apis-vs.html it is an old thread and I typically avoid benchmarking articles but it does give an idea on how close C# can be to C++[/quote]
Thanks, yes I have descided to stick with C# and continue using XNA. I'm planning to start trying to duplicate many of the features of the game Ragnerok Online. I love tilebased/3rd person/mouse action games like RO, and I'd like to make one like it some day. Happily I've found a website that's ripped a ton of sprites from the game, creating graphics is such a hassle