Skip to main content
gamedev.net
🔒 Locked

HowTo start writing games for Mac Os X using ObjC

Started by hr_rabe 6 replies 7.7k views
Original Post
hr_rabe
hr_rabe
Hello Everyone,

I am an experienced developer in "the serious business", 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: http://dragonsandbyt...pengl-and-coco/
Part 2: https://dragonsandby...ound-of-openal/


Regards,

Mr. Raven
hr_rabe
hr_rabe
Part 3 is available now: https://dragonsandbytecode.wordpress.com/2012/02/26/game-developers-diary-3-getting-in-control/
kuramayoko10
kuramayoko10
Nice iniciative!

I am still searching for Updated 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 ;)
Programming is an art. Game programming is a masterpiece!
hr_rabe
hr_rabe
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.smile.png
Neilo
Neilo
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.
hr_rabe
hr_rabe

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.


Noted.

Thanks for spotting it. This has now been rectified.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.