Archived

This topic is now archived and is closed to further replies.

C# & DirectX

This topic is 5377 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

Is there any good tutorials or examples avaible anywhere? All the articles I have read tell that using c# for game dev is an bad idea. Is that true? What about OpenGL I''ve heard of project that was making Opengl for C#.

Share this post


Link to post
Share on other sites
Where did you read that C# is a bad language for game programming? I think it''s more than decent in speed, and definitely much more easier than C++ to design games. Regarding OpenGL and DirectX, it will be easier and more effective to use the latter with C# because there''s a managed wrapper for it, while with OpenGL one must go to COM interop.

Share this post


Link to post
Share on other sites
quote:
Original post by BlackGhost
while with OpenGL one must go to COM interop.

Since OpenGL has nothing to do with COM, COM interop wouldn''t apply here in any case.




"If there is a God, he is a malign thug."
-- Mark Twain

Share this post


Link to post
Share on other sites
quote:
COM interop wouldn''t apply here in any case


Right. Still C# interop would - and C# interop is more expensive than "Managed C++ IJW Interop".

Not sure it would make a difference, though. And someone fcould always come up with a good managed wrapper :-)

Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)

Share this post


Link to post
Share on other sites