Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrono1081

macrumors G3
Original poster
Jan 26, 2008
8,811
5,581
Isla Nublar
Hi guys.

I was reading about Cocoa and one site said that iPhone does not support Cocoa (which I thought was what the iPhone ran...). Apples developer site does not play well with my work proxy, and I live where I work so I can't log in and find the answers I need : / Here is what I want to do:

-Make 2D games on the iPhone. I can make these fine in windows and mac OS but this is my first foray into iPhone development. Graphics would be strictly sprite based.

From what I read I thought Cocoa is what I needed to learn, now I'm thinking its Quartz or Open GL ES instead. Could someone please clarify this for me so I can order the appropriate books? Any help would be greatly appreciated :)

As for Google I'm really getting a lot of mixed answers from the info I am finding. So far it looks like for 2D I would use Quartz and for 3D OpenGL ES.
 
iPhone does not support Cocoa but it does support Cocoa Touch. For 2D, you have your choice of Cocoa Touch, Quartz or OpenGL ES.
 
Thank you for the reply :)

I think Quartz is probably what I'm looking for. I couldn't find anything on Cocoa Touch about using it for making games, and Quartz looks a lot like SDL which I am used to however I noticed that with Quartz although it supports hardware acelleration your program may not be accellerated which is where Open GL ES comes in.
 
well you want to look at CoreGraphics,
but quartz2D sounds best, or OpenGL ES if you have lots of moving 2D objects
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.