Game Development Stack Exchange is a question and answer site for professional and independent game developers. 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

These days, I'm focusing on games development on the iOS.
C++ is the lingua franca for games development but seriously, I prefer to code in C programming language, not in C++.

So for iOS games development, are C and Objective-C sufficient for creating games?

share|improve this question

closed as off-topic by Josh Petrie Feb 17 at 17:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

the only real restriction you have while developing for iphone is the sdk apple released for iphone. other than that you will mainly use OpenGL and OpenAL which are both pure C code. in some cases you might want to use some c++ libraries (like box2d) but there are equivalents both in C and Obj-C.

so every game you release for iphone should at least have some obj-c codes to load your application and to do some basic file read/write things, other than that you are free to use pure C, Obj-C or C++ or even a combination of those languages.

also as jasconius said there are many games written and published using only Obj-C. there is even a opensource gameengine named cocos2d-iphone out there that powered many iOS games so far.

share|improve this answer

Yes. There are numerous iOS games made with only these languages. C++ is optional if you absolutely need it.

share|improve this answer

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