iDevGames Forums
New to Mac Games - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Designer's Studio (/forum-6.html)
+--- Thread: New to Mac Games (/thread-2530.html)



New to Mac Games - Talyn - Jul 13, 2008 12:06 PM

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!


New to Mac Games - kodex - Jul 13, 2008 12:23 PM

developer.apple.com has some amazing resources available on it.

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


New to Mac Games - Talyn - Jul 13, 2008 12:29 PM

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.


New to Mac Games - kodex - Jul 13, 2008 01:29 PM

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.


New to Mac Games - Talyn - Jul 13, 2008 01:40 PM

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.


New to Mac Games - kodex - Jul 13, 2008 02:33 PM

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.


New to Mac Games - AnotherJake - Jul 13, 2008 02:47 PM

I'm in Kodex's boat -- no SDL for me. I'm Cocoa/Obj-C all the way baby!


New to Mac Games - Talyn - Jul 13, 2008 03:40 PM

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?


New to Mac Games - AnotherJake - Jul 13, 2008 03:46 PM

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.


New to Mac Games - FlamingHairball - Jul 13, 2008 05:05 PM

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