Anyone has Cocoa tutorials or simple game sample code?
Hi everybody
I've grown interest in Cocoa and just got Project Builder, so I want to try my hand at it. I know METAL, but I know it's very different. What I need is some tutorials on the basics of Objective-C or sample codes of simple games.
Thanks
I've grown interest in Cocoa and just got Project Builder, so I want to try my hand at it. I know METAL, but I know it's very different. What I need is some tutorials on the basics of Objective-C or sample codes of simple games.
Thanks
Musician/Sound Designer
http://www.myspace.com/djmonosylabik
http://www.mixposure.com/monosylabik
http://www.soundclick.com/ricardobalderas
There is this little web site called idevgames.com that has some downloads. check out <http://www.idevgames.com/content/download.php> - do a search for 'cocoa' or 'objective'.
Also go through the tutorials at <http://nehex.idevgames.com/> when it comes back online.
There is also this other little web site for a company called 'Apple.' (go fig) check out:
<http://developer.apple.com/games/>
<http://developer.apple.com/samplecode/Sa...ics_3D.htm>
<http://developer.apple.com/games/samplecode.html>
<http://developer.apple.com/samplecode/Sa.../Cocoa.htm>
on your hard disk - go to:
<file:///Developer/Documentation/Games/Games.html>
<file:///Developer/Documentation/Cocoa/Cocoa.html>
<file:///Developer/Examples/>
<file:///Developer/Examples/AppKit/>
<file:///Developer/Examples/OpenGL>
and ask questions here!
Good Luck!
hth, Codemattic
Also go through the tutorials at <http://nehex.idevgames.com/> when it comes back online.
There is also this other little web site for a company called 'Apple.' (go fig) check out:
<http://developer.apple.com/games/>
<http://developer.apple.com/samplecode/Sa...ics_3D.htm>
<http://developer.apple.com/games/samplecode.html>
<http://developer.apple.com/samplecode/Sa.../Cocoa.htm>
on your hard disk - go to:
<file:///Developer/Documentation/Games/Games.html>
<file:///Developer/Documentation/Cocoa/Cocoa.html>
<file:///Developer/Examples/>
<file:///Developer/Examples/AppKit/>
<file:///Developer/Examples/OpenGL>
and ask questions here!
Good Luck!
hth, Codemattic
I would recommend looking at the Missile Command source in the source code section.
The Missile Command download link does not seem to be working atm.
I would recommend checking out the source code for Hooptie, which I've personally found to be very helpful.
Deep Cocoa has a pretty good tutorial for Cocoa using OpenGL.
-Criollo
I would recommend checking out the source code for Hooptie, which I've personally found to be very helpful.
Deep Cocoa has a pretty good tutorial for Cocoa using OpenGL.
-Criollo
Quote:Originally posted by codematticOr for the impatient -You could also just get the tutorials from http://nehe.gamedev.net/ ,which is where they came from originally. Right?
Also go through the tutorials at <http://nehex.idevgames.com/> when it comes back online.
Quote:You could also just get the tutorials from http://nehe.gamedev.net/
True, but (sadly) the original cocoa port by Brian Blackburn of the tutorials are not fully compatible with OS X 10.2 and up.
I'd recommend having a look at the new cocoa openGL basecode (always on nehe.gamedev.net). Wich shows a much more efficient way of setting up the openGl context, and also contains a basic Vector class, keyboard event catching and whatnot. Alas, the tutorials aren't on it yet, but it's a good way to get experience I guess.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Some Game / Engine Source code in C++ and MSVC | kiavash2k | 1 | 4,548 |
Apr 12, 2012 11:35 PM Last Post: DJyStyler |
|
| Game code organization | mk12 | 6 | 4,003 |
Aug 21, 2010 11:10 AM Last Post: mk12 |
|
| Microsoft is providing game writing tutorials! | Baldock | 3 | 2,561 |
Apr 21, 2006 09:13 PM Last Post: Justin Brimm |
|
| Free sample chapter from Physics for Game Programmers | Leisure Suit Lurie | 9 | 5,308 |
Jul 25, 2005 05:14 PM Last Post: codemattic |
|
| Simple Physics Game | Zenith | 8 | 4,977 |
Jan 13, 2004 10:01 PM Last Post: Josh |
|

