Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do you need to learn c or c++ for game programming? I am very good with java. Is it true that most game engines are in c or c++.should i learn c or c++ or start making games in java.Can you suggest some books to start with

share|improve this question

migrated from Oct 7 '11 at 3:54

This question came from our site for professional and enthusiast programmers.

closed as not a real question by Mark Trapp Oct 7 '11 at 4:20

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Minecraft is made entirely in Java. :-) – Hand-E-Food Oct 7 '11 at 4:04
Why was this down voted? Seriously, it's a reasonable question with a defined answer. – SplinterReality Oct 7 '11 at 4:15
Hi chintans, I'm sorry this was migrated here unnecessarily, but you've asked about a bunch of different things that makes your question way too broad a scope to be answered in a reasonable manner. If there's something specific about game development you'd like to know, I'd check out our sister-site, Game Development.SE. – user8 Oct 7 '11 at 4:24

Many game engines are, indeed, in C or C++, particularly the first-person-shooter types. This is because that style of game typically needs to squeeze the maximum possible performance out of the graphics hardware.

Outside of that requirement, you can pretty much use whatever language you feel like. Puzzle Pirates is 100% pure Java, and Frozen Bubble is written in Perl.

So, to answer your question, no you do not need to learn C or C++. It will be helpful if you want to take full advantage of graphics hardware but not all games need that.

share|improve this answer
many games, esp silverlight games, are in C#, and lets not forget flash, oh, and iOS (iPhone,iPad,etc) games are in objective-c and the list goes on and on – Muad'Dib Oct 7 '11 at 3:56
Pygame is a popular framework for python games, Lua pops up all over the place. – World Engineer Oct 7 '11 at 4:10