Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

What is the best language to develop computer games in, and why?

zxvzafvaszxcvzx

share|improve this question
3  
Aside from being an absolutely terrible question, this is an exact duplicate of gamedev.stackexchange.com/questions/12787/…. –  user744 Oct 8 '11 at 11:46
5  
Protip: if you have to include extra test to be able to post the question, you're doing it wrong. –  thedaian Oct 8 '11 at 12:12
    
add comment

closed as not constructive by Joe Wreschnig, bummzack, Tetrad Oct 8 '11 at 15:58

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 1 down vote accepted

There is no single answer to this.

If you have a multi-hundred-person studio, trying to make games with a nine-digit budget, you'll be using C++. It has the most power and can produce the best-performing games, although it's a bit of a pain to achieve that power.

If you want to make Facebook games, you'll be using Actionscript, and maybe Javascript if that's supported now. (I have no idea if it is.)

iPhone games? You'll need to learn at least some Objective-C. Android games? Gotta dabble in Java. In both cases you'll probably want to include C as well, since it'll let you port back and forth far more easily, but it's certainly not necessary.

Are you an indie game developer, planning to target Windows and maybe the XBox? C# is a good choice - I've heard good things about the XNA. You can also use C# for Unity, which is nicely crossplatform and performs very well as long as you're doing something Unity is good at.

Those are all the common languages . . .

. . . but "best"?

Best is in the eye of the beholder. Tell us what you want out of a language, maybe we can describe the best language, maybe we can't.

Personally, I use Lua, overlaid on top of C++.

share|improve this answer
    
Well, im thinking of a game development something in the direciton of age of empires. Would be best if it would work of Windows, Linux and Mac alike. –  Hermann Ingjaldsson Oct 8 '11 at 10:55
2  
I'd seriously look into C# and Unity, then. –  ZorbaTHut Oct 8 '11 at 11:21
add comment

There is not best language to develop games. It depends for which platform (mobile/console/desktop...) you want to develop and also what kind of game you plan to develop. Often the framework/platform dictates the language, anyway - some engines/platforms (eg. Unity) offer you different languages to choose from.

Have a look at this question

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.