🔒 Locked
C# for game dev
Advertisement
Original Post
Gday there,
I am not sure how many times a topic like this has entered these forums, so if it has been here a million times before instead of having a go at me about it could you please instead point me in the right direction of where i can find similar posts.
Anyway, to the point...
I have been using C++ to develop a few little game projects of my own over the past year or so, anyway, my mate is now trying to convince me that C# is the way to go now. I have dabbled with it since but have found it so frustrating and annoying that it is taking the fun out of game programming, for me that is. Anyway, can anyone explain to me why I should be using C# to develop my games and app''s from now on instead of C++??? I like C++ and it''s style. I used to code Java (for uni) and just feel that C# is just the same as Java. If i wanted to code in such a style I would just revert back to Java which is easier in the first place?!?
Anyway, I would really appreciate any advice/comments/suggestions that any of you may be able to offer me. Thanks for your time.
Cheers,
MeeZ
What''s your goal?
To answer the following question that i stated in my original post!:
Anyway, can anyone explain to me why I should be using C# to develop my games and app''s from now on instead of C++???
Sorry i didn''t outline the question properly. It''s just, why C# instead of C++? Who uses it? Why? etc etc... I want to know if i should stop wasting my time with C++ and start moving on to C#?
Anyway, sorry about that. Thanks for picking it up.
Cheers,
MeeZ
Anyway, can anyone explain to me why I should be using C# to develop my games and app''s from now on instead of C++???
Sorry i didn''t outline the question properly. It''s just, why C# instead of C++? Who uses it? Why? etc etc... I want to know if i should stop wasting my time with C++ and start moving on to C#?
Anyway, sorry about that. Thanks for picking it up.
Cheers,
MeeZ
Specifically, what is your goal?
High performance engine?
Platform-independance?
Distributed networking?
Tetris clone?
Tools development?
DirectX vs OpenGL?
C# like C++ is just a tool...you need to specify what your goal is to be sure that you have the right tool for the job?
If you don''t know then rummage through the following...
http://www.gamedev.net/community/forums/topic.asp?whichpage=1&pagesize=20&topic_id=200089 for pros/cons and some flames as well.
The fact that c# is frustrating you is a pretty good indicator that C++ is the way go.
High performance engine?
Platform-independance?
Distributed networking?
Tetris clone?
Tools development?
DirectX vs OpenGL?
C# like C++ is just a tool...you need to specify what your goal is to be sure that you have the right tool for the job?
If you don''t know then rummage through the following...
http://www.gamedev.net/community/forums/topic.asp?whichpage=1&pagesize=20&topic_id=200089 for pros/cons and some flames as well.
The fact that c# is frustrating you is a pretty good indicator that C++ is the way go.
As long as your target platform is Windows, C# is fine for a lot of game-dev related tasks. Complete games can be written in it, or even just a collection of tools can be made. I personally use it to create tools such as resource packers and level editors because it sure beats the hell out of tedious Win32 API programming, and it's a lot cleaner than MFC programming, but remember, that's just my opinion. I still use C++ to write the actual games just because I'm a lot more comfortable with it.
If you know C++/Java well enough, C# should be easy to pick up. And like I said, if you're targetting solely Windows machines, then C# makes building tools such as level editors a lot less tedious and most likely quicker. However, if you're content with C++, you might not want to switch anytime soon. Like a a previous poster pointed out, both are just tools to a programmer. For game developing, I'd assume either is just fine, and the more important thing is just to pick one and keep making and, more importantly, finishing games.
[edited by - MRom on March 1, 2004 12:09:47 AM]
If you know C++/Java well enough, C# should be easy to pick up. And like I said, if you're targetting solely Windows machines, then C# makes building tools such as level editors a lot less tedious and most likely quicker. However, if you're content with C++, you might not want to switch anytime soon. Like a a previous poster pointed out, both are just tools to a programmer. For game developing, I'd assume either is just fine, and the more important thing is just to pick one and keep making and, more importantly, finishing games.
[edited by - MRom on March 1, 2004 12:09:47 AM]
Meez,
if your comfortable with c++,i''d say stick with it.
I made the mistake of trying to port my projects to .net,and i know now that c#,c++ extensions isn''t for me.(at least i can say that i have checked it out before saying that i don''t want to use it for programming games).
As for creating editors,(assuming map editors)i suppose it really all depends on the project and how complex it is.
For my main project,win32 api was better for it than MFC.
Granted it took a lot longer,i made my own library and wizard,that had
flat button/bitmap toolbars and menu''s,status bar,help,tooltips,basiclly...you would think i used MFC.
On another project,i used MFC,because it was suited better to it.
I think after learning the win32 api to make a 3D level editor,i found MFC much easier to learn.
Don''t get me wrong though,c# is useful for many things,and some people may prefer to use it over c/c++ for games and tools,for me though,c/c++/python/MFC is what i will continue to use for my projects no matter what the latest trend is.
Paul.
if your comfortable with c++,i''d say stick with it.
I made the mistake of trying to port my projects to .net,and i know now that c#,c++ extensions isn''t for me.(at least i can say that i have checked it out before saying that i don''t want to use it for programming games).
As for creating editors,(assuming map editors)i suppose it really all depends on the project and how complex it is.
For my main project,win32 api was better for it than MFC.
Granted it took a lot longer,i made my own library and wizard,that had
flat button/bitmap toolbars and menu''s,status bar,help,tooltips,basiclly...you would think i used MFC.
On another project,i used MFC,because it was suited better to it.
I think after learning the win32 api to make a 3D level editor,i found MFC much easier to learn.
Don''t get me wrong though,c# is useful for many things,and some people may prefer to use it over c/c++ for games and tools,for me though,c/c++/python/MFC is what i will continue to use for my projects no matter what the latest trend is.
Paul.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement