iDevGames Forums
Getting Started in Mac Game Dev - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Tools & Technology (/forum-10.html)
+--- Thread: Getting Started in Mac Game Dev (/thread-6573.html)



Getting Started in Mac Game Dev - XxtraLarGe - Jan 5, 2004 12:37 PM

Here's a question for everybody:

Suppose somebody without any programming experience wanted to make games on the Mac. How would you recommend they get started? What books or articles would you have them read first, which language would you recommend?

Maybe this thread could be useful for the future design of iDevGames.


Getting Started in Mac Game Dev - OneSadCookie - Jan 5, 2004 01:51 PM

*plugs Xcode/GLUT tutorial, though unfinished*

http://onesadcookie.is-a-geek.net/~keith/XcodeGLUT


Getting Started in Mac Game Dev - Justin Brimm - Jan 5, 2004 03:21 PM

I don't think that one is going to help him at the moment OSC.

XtraLarge, because its what I know, I would suggest learning Obj-C and Cocoa. As far as books go, there are plenty of good books to get, but to start you off, get "Cocoa Programming for MacOS X", by Aaron Hillegass. A great book for those just starting out, and those who have already programmed for a while.

That book is only for Cocoa though, and if you don't already know it, you will need to learn C and object-oriented design first. For C, there is a master book on this, that I forget the name of, but others could tell you, and Apple has a pdf on the developer part of their site, that will teach you.


Getting Started in Mac Game Dev - XxtraLarGe - Jan 5, 2004 03:40 PM

Justin Brimm Wrote:I don't think that one is going to help him at the moment OSC.

XtraLarge, because its what I know, I would suggest learning Obj-C and Cocoa. As far as books go, there are plenty of good books to get, but to start you off, get "Cocoa Programming for MacOS X", by Aaron Hillegass. A great book for those just starting out, and those who have already programmed for a while.

That book is only for Cocoa though, and if you don't already know it, you will need to learn C and object-oriented design first. For C, there is a master book on this, that I forget the name of, but others could tell you, and Apple has a pdf on the developer part of their site, that will teach you.

By the way, this isn't a question for me, but a question for the iDevGames community in general. I know a small amount of C, Java & JavaScript (conditionals, loops, etc.). I've read both Hillegass's book & also the O'Reilly books. The only problem with those is that they deal mainly with document based applications, a subject which has almost nothing to do with game development as far as I can tell.

But this is besides the point. If you had a friend who was interested in developing games on the Mac, but had NO programming experience, what would you recommend to them? Clearly OSC's tutorial isn't appropriate because it assumes you know Cocoa & C.


Getting Started in Mac Game Dev - Justin Brimm - Jan 5, 2004 04:41 PM

Unfortunately, you can't just learn a portion of a language, and then expect to make a game. Regardless of whether they talk about games directly or not, many of the things they cover, you must also know to complete a game. After you have done that, then you can tackle OpenGL books, and subjects directly relating to games.


Getting Started in Mac Game Dev - OneSadCookie - Jan 5, 2004 05:23 PM

XxtraLarGe Wrote:Clearly OSC's tutorial isn't appropriate because it assumes you know Cocoa & C.

Only C, and even then, the basics should be sufficient.

You could make a tutorial which teaches a programming language and game programming simultaneously, but I can't help feeling that it would be inefficient, and probably not all that different from learning the language the normal way, then moving on to game programming.


Getting Started in Mac Game Dev - kberg - Jan 7, 2004 11:27 PM

OneSadCookie Wrote:*plugs Xcode/GLUT tutorial, though unfinished*

http://onesadcookie.is-a-geek.net/~keith/XcodeGLUT

Nice! Smile

Lots of screenshots too, can't make it any simpler to follow then that.


Getting Started in Mac Game Dev - Justin Brimm - Jan 8, 2004 12:26 AM

You planning on a Cocoa version eventually, OSC?


Getting Started in Mac Game Dev - AnotherJake - Jan 8, 2004 02:46 AM

XxtraLarGe Wrote:Clearly OSC's tutorial isn't appropriate because it assumes you know Cocoa & C.
I would recommend your friend learn Cocoa and C then. Programming is way, a lot more harder than everybody thinks it is (that's how come we get away with poor grammar when we want;-). GAME programming is even harder at times. If game programming for the Mac was a hole in the ground, I would hang a sign over it saying, "Abandon all hope, ye who enter here". Seriously though, OSC's tutorial is VERY appropriate. You should take it with a spoonful of sugar but that's the direction to head.

I think it looks really good OSC, keep going!


Getting Started in Mac Game Dev - AnotherJake - Jan 8, 2004 03:21 AM

Justin Brimm Wrote:For C, there is a master book on this, that I forget the name of
"The C Programming Language" by Brian Kernighan and Dennis Ritchie is the master book ( K&R as it's usually referred to ). But that brings up another point: I haven't noticed any new books for learning C on the Mac in at least five years, and certainly nothing for OS X. My first C programming book was "Learn C on the Macintosh" by Dave Mark back in like 1991. I know there was another edition afterwards, but is there anything for beginners like that now for OS X?


Getting Started in Mac Game Dev - Justin Brimm - Jan 8, 2004 03:33 AM

Quote: I know there was another edition afterwards, but is there anything for beginners like that now for OS X?

There's not so much of a difference, that you would really need a new book. C hasn't exactly changed; XCode/PB will still compile stuff from those books. One of the C books, coupled with one or two online tutorials, would really be all you need... a book that first teaches you C, and then Obj-C would be nice to see, though.


Getting Started in Mac Game Dev - XxtraLarGe - Jan 8, 2004 09:12 AM

Justin Brimm Wrote:There's not so much of a difference, that you would really need a new book. C hasn't exactly changed; XCode/PB will still compile stuff from those books. One of the C books, coupled with one or two online tutorials, would really be all you need... a book that first teaches you C, and then Obj-C would be nice to see, though.

There are a few good C tutorials on O'Reilly's MacDevCenter, under Cocoa. Also, the Mark book would be a good one to have updated, but you would need to explain how to use the terminal (can't do user input in Project Builder).


Getting Started in Mac Game Dev - XxtraLarGe - Jan 8, 2004 09:14 AM

FYI, I don't have a friend who wants to learn game programming, this was a hypothetical question.

AnotherJake Wrote:I would recommend your friend learn Cocoa and C then. Programming is way, a lot more harder than everybody thinks it is (that's how come we get away with poor grammar when we want;-). GAME programming is even harder at times. If game programming for the Mac was a hole in the ground, I would hang a sign over it saying, "Abandon all hope, ye who enter here". Seriously though, OSC's tutorial is VERY appropriate. You should take it with a spoonful of sugar but that's the direction to head.

I think it looks really good OSC, keep going!