Tuesday, July 28, 2009

Which C language should I learn for game programming: C, C++, or C#?

all of them

Which C language should I learn for game programming: C, C++, or C#?
Almost all professional games are programmed in C++.
Reply:for console games PS2/PS3 Xbox, you must know C++ and should know Assembly. For web based games, Java or Flash
Reply:Depends on what kind of games you want to make. If you just want to be able to make some games and or casual games (puzzle, card games, etc) then just learning Java and C# is enough.





If you want to get into console game development and become a professional then you will need to learn C/C++ as well.
Reply:It depends on how complex your game will be and what are your requirements.


Simple (as for homework) - it may be C#.


More complex, not very strong CPU requirements - C++.


Very complex, working very hard, requiring huge CPU quote, much memory, multithreaded, etc. - plain C.


You can also write most of your code in C++ and critical parts (e.g. several nested loops; using your own stack and/or other specific structures) in C or even in assembler.
Reply:C++ and OpenGL, or C# and DirectX. I'm assuming your game has graphics.





Do note that it'll take many, many months if not years before you'll be able to do anything good. Most games on the market are the collaborative effort of teams of people (programmers, story writers, graphic designers, etc.) over months of time. Actually, in order to make something really good, you'll probably have to join a game programming team.


No comments:

Post a Comment