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.

I know php and some python, but not much c. Where should I start to learn iphone game development? Is there some recommended books/tutorials for beginners? I'm looking at using cocos2d but I'm open to anything that isn't too limited.

share|improve this question
    
possible duplicate of What are the best iPhone game development resources? –  user744 Jan 23 '11 at 13:50
    
Joe is right. Maybe we could merge the two questions/answers? –  bummzack Jan 24 '11 at 9:11
add comment

closed as not constructive by jhocking, Sean Middleditch, bummzack, Trevor Powell, eBusiness Mar 19 '13 at 12:27

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.

5 Answers

up vote 3 down vote accepted

I also just recently started developing for iOS. I found the documentation over at cocos2d-iphone.org quite helpful, but sadly it isn't very in-depth. That's why I also bought the "Learn iPhone and iPad Cocos2D Game Development Book" (written by Steffen Itterheim who is also an active community member here on gamedev SE).

Objective-C was also new to me, but thankfully the documentation over at developer.apple.com is really good. Be sure to also read the introduction to Objective-C.

I've got some C++ experience, so the whole memory-management stuff wasn't totally new to me (well, actually everybody should know about that stuff, even if you don't have to manage things yourself). Since Objective-C doesn't come with a garbage-collector (at least not when you develop for iOS), you should also read the memory-management guide. XCode also comes with a handy tool called "Leaks" which allows you to profile memory-usage and detect leaks. This makes spotting memory-leaks much easier and you should definitely run your app through it (make sure to always run on the device, since the simulator apparently produces leaks where there aren't any).

Umm, I went a bit off-topic in the last paragraph I guess, but it's always good to know about this stuff beforehand :-)

Update: Since you're open to other options, you might also consider Unity3D, UDK or even Ogre3D (although it's not a game-engine but "just" a graphics-engine).

share|improve this answer
add comment

I've been very favorably impressed by O'Reilly's iPhone Game Development. For my taste it's a bit deep in the mindset where "game" means "screen-oriented pixels-moving-around exercise", but since that mindset is dominant in the industry that's not too surprising. It'll definitely get you a good start, in any event.

share|improve this answer
add comment

try this as a starter to learn or refresh your language skills:

http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2010-winter

share|improve this answer
add comment

iPhone game development is incredibly fast using Cocos2d.

Since you already know some programming, I'd recommend you to first take a look at the basic concepts in Cocoa development here.

Now that you know how Objective-C thinks, you may want to pay a visit to Raywenderlich's blog. Many of his posts are about Cocos2d, like this one.

It is not necessary you understand the whole tutorial. You simply copy and paste the code he provides you and take your time to see what it does.

Cocos2d has all kinds of useful tools for making development fast. It has great iPhone retina display support, great bitmap font labels performance, process lots of sprites with ease, create tilemaps, schedule functions, stack scenes, create menu and buttons, box2d and chipmunk physic engine support, export to Mac feature, particle effects, great sound engine and a nice array of "actions" you can apply to your objects, like move, jump, rotate, fade etc.

Since Cocos2d is just a framework on Objective-C, you have full freedom to do lots of things game engines usually lack. You can quickly implement leaderboards and achievements for your games with OpenFeint, for example. You can use iAds too.

This is nice to read as well.

Cocos2d is well supported. The community forums are good, you shouldn't have problems asking what you need there. And there are starting to appear lots of ports, like Cocos2d implemented with javascript and html5 for web development, or with Ruby, etc.

So here's my opinion: Cocos2d has potential and is worth giving it a go.

share|improve this answer
add comment

I'm reading "Beginning iOS Game Development" by Patrick Alessi it's not a bad book, I actually knew how to program in Objective-C before I picked it up, because I'm old.

share|improve this answer
add comment

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