HowTo start writing games for Mac Os X using ObjC

Started by
6 comments, last by hr_rabe 11 years, 10 months ago
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
Advertisement
Part 3 is available now: https://dragonsandbytecode.wordpress.com/2012/02/26/game-developers-diary-3-getting-in-control/
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!
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
Part 4 is available now: http://dragonsandbytecode.wordpress.com/2012/04/12/game-dev-diary-4-extending-the-control/

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.
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.

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.
hi again.

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

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

This topic is closed to new replies.

Advertisement