Sign in to follow this  
hr_rabe

HowTo start writing games for Mac Os X using ObjC

Recommended Posts

hr_rabe    115
Hello Everyone,

I am an experienced developer in "[i]the serious business"[/i], and am currently trying my hand at game development.

Since I am starting my journey on a Macintosh, I also started to write for that platform and with the tools available here. This means Objective C, Cocoa and OpenGL/OpenAL.

I haven't found any good tutorials on that topic yet, and so I started to document my work in a step by step diary/tutorial as I am learning the ropes.

Maybe that stuff is also of interest to someone here. To entries about basic OpenGL wiring and OpenAL processing are already done. More will follow as I am progressing. I am currently writing the third entry about Gamepad control via the HIDManager.

Sorry, if that is the wrong place for it (it forums are quite big) or if posts like this are not welcome at all, in which case I can delete it (hopefully). But I thought, that maybe of use to someone here:

Part 1: [url="http://dragonsandbytecode.wordpress.com/2012/01/16/game-developers-diary-1-opengl-and-coco/"]http://dragonsandbyt...pengl-and-coco/[/url]
Part 2: [url="https://dragonsandbytecode.wordpress.com/2012/02/18/game-developers-diary-2-the-world-is-alive-with-the-sound-of-openal/"]https://dragonsandby...ound-of-openal/[/url]


Regards,

Mr. Raven

Share this post


Link to post
Share on other sites
kuramayoko10    390
Nice iniciative!

I am still searching for [b]Updated[/b] tutorials on OpenGL ES 2 as it is an option for iOS programming.
I found some articles in blogs but many features aren't handled anymore on the current version of OpenGL ES.

Just saying... if anyone have a link on that, post it here ;)

Share this post


Link to post
Share on other sites
hr_rabe    115
Sorry, I think, it will be a wile still, until I come around to do iOs stuff in this series, takes a bit of time, to get a firm grip on OsX first.

Thanks for the thumps up, though.[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Share this post


Link to post
Share on other sites
hr_rabe    115
Part 4 is available now: [url="http://dragonsandbytecode.wordpress.com/2012/04/12/game-dev-diary-4-extending-the-control/"]http://dragonsandbytecode.wordpress.com/2012/04/12/game-dev-diary-4-extending-the-control/[/url]

I expand on the controller aspect and give one possible solution, to go about keyboard and mouse controls, using Cocoa.

Took me a while to write this. Explaining something in written form is so hard... :/

Have fun with this.

Share this post


Link to post
Share on other sites
Neilo    290
Pretty good introductory articles, although you should probably give your MyGamePadController class a dealloc method that removes your HID Manager from the runloop and then call CFRelease on it. Core Foundation stuff isn't covered by ARC.

Share this post


Link to post
Share on other sites
hr_rabe    115
[quote name='Neilo' timestamp='1334242487' post='4930582']
Pretty good introductory articles, although you should probably give your MyGamePadController class a dealloc method that removes your HID Manager from the runloop and then call CFRelease on it. Core Foundation stuff isn't covered by ARC.
[/quote]

Noted.

Thanks for spotting it. This has now been rectified.

Share this post


Link to post
Share on other sites
hr_rabe    115
hi again.

After some downtime. Here is the fifth part: [url="https://dragonsandbytecode.wordpress.com/2012/06/07/game-dev-diary-5-about-textures-and-2d/"]https://dragonsandbytecode.wordpress.com/2012/06/07/game-dev-diary-5-about-textures-and-2d/[/url]

This time, I cover using the 2D Projection as well as a basic introduction into Textures

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this