New to Mac Games

Member
Posts: 215
Joined: 2008.06
Post: #1
I have never made a game for the Mac before and was wondering what steps could be taken to start on my way. I really like Objective-C and the Cocoa frameworks, so I would like to stick with them as much as I can. That said, are there any tutorials, walkthroughs, or pieces of advice I could grab from you guys on where to get started?

My current plan is to make some simple little games: Checkers, tick tack toe, maybe a turn based thing at some point. Any advice would be great. Thanks!

Mac users swear by their computers, PC users swear at their computers. ~Unknown

iSayz
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #2
developer.apple.com has some amazing resources available on it.

Do you currently have any programming experience or are you starting fresh?
Quote this message in a reply
Member
Posts: 215
Joined: 2008.06
Post: #3
kodex Wrote:developer.apple.com has some amazing resources available on it.

Do you currently have any programming experience or are you starting fresh?

Yes, I have a solid knowledge of C, some C++, and have been developing for the iPhone in Objective-C. Also, I am very good with Java and general computer science principles. Thank you for the link.

Mac users swear by their computers, PC users swear at their computers. ~Unknown

iSayz
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #4
You may want to look into SDL as a way into game development, it simplifies a lot of the getting up and going kind of stuff.

You will more then likely want to pick up a book on OpenGL as it is the primary graphics language being used on the Mac right now.

The first step is getting some 2d objects on the screen, once you can do that it opens up pretty quick.

Check out nehe.gamedev.net for some great OpenGL intro stuff. They are a bit outdated now and the mac code no longer works but everything is simply and well explained.
Quote this message in a reply
Member
Posts: 215
Joined: 2008.06
Post: #5
kodex Wrote:You may want to look into SDL as a way into game development, it simplifies a lot of the getting up and going kind of stuff.

You will more then likely want to pick up a book on OpenGL as it is the primary graphics language being used on the Mac right now.

The first step is getting some 2d objects on the screen, once you can do that it opens up pretty quick.

Check out nehe.gamedev.net for some great OpenGL intro stuff. They are a bit outdated now and the mac code no longer works but everything is simply and well explained.

Oops, forgot to mention that I've had some experience with OpenGL and am currently struggling with SDL. Is SDL and OGL the standard for Mac dev then? I was hoping to use a view-based approach that Cocoa provides, or is that taboo? I've found that using Cocoa's VCM paradigm to be very good for 2D games and simple but powerful UIs.

Mac users swear by their computers, PC users swear at their computers. ~Unknown

iSayz
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #6
Personally I do not use SDL in my game development, I use a custom NSView and Obj-C. There are people who would argue both ways are better it is just a matter of personal preference.
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #7
I'm in Kodex's boat -- no SDL for me. I'm Cocoa/Obj-C all the way baby!
Quote this message in a reply
Member
Posts: 215
Joined: 2008.06
Post: #8
kodex Wrote:Personally I do not use SDL in my game development, I use a custom NSView and Obj-C. There are people who would argue both ways are better it is just a matter of personal preference.

As I would like to. But the question is where to start. I am adept at working with views and similar paradigms with Cocoa Touch and I'm wondering what it takes to translate this knowledge over to the desktop?

Mac users swear by their computers, PC users swear at their computers. ~Unknown

iSayz
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #9
A basic gl context is pretty easy to set up in Cocoa. Apple has plenty of sample code for that, and there are other sources as well. It's when you have to start handling all the other little details like full screen fades and input that things start to get a little hairy. iPhone is notably simpler.
Quote this message in a reply
Moderator
Posts: 623
Joined: 2007.09
Post: #10
AnotherJake Wrote:I'm in Kodex's boat -- no SDL for me. I'm Cocoa/Obj-C all the way baby!

Here's another recommendation for Objective-C. Love

- Lincoln Green
http://www.binkworks.com/
Quote this message in a reply
Post Reply