iDevGames Forums
Begining visual programing. - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Begining visual programing. (/thread-3151.html)

Begining visual programing. - Wise Druid - Jul 24, 2007 11:29 AM

I'm a beginner to programing i general, and I've recently bought two books ' Beginning Mac OS X Programing ' and 'real basic for Macintosh by ' Michael Swan. RealBasic is very simple to use and i mastered the essential graphics , using sprites.

But now I'm learning C and objective-C and i don't know how to use any graphics, or animations, so I can start game development. could anyone tel me how to use X-code with graphics or indicate any simple tutorial.

I want to know how to draw graphics, detect collisions, make animations, and make my code (C, C++ or objective-C) interact with thoese animations.

I also want to know where are the code from the udev game contest? I CAN NOT FIND ITMad!!!

Ninja Ninja Ninja Ninja Ninja Ninja Ninja Ninja Ninja

Begining visual programing. - bronxbomber92 - Jul 24, 2007 12:38 PM

Well, they are many, many graphics library out there, but the most common (and fastest) is OpenGL. Check out for a bunch of tutorials.

Another popular 2D graphics library is SDL ( SDL also handles windowing and input (and can be used with OpenGL, that is what I do).

Both are cross-platform.

Begining visual programing. - Fenris - Jul 24, 2007 12:39 PM

The uDevGames code has been missing for a long time now. Search the forums and you'll be able to find some shreds of them.

Begining visual programing. - Blacktiger - Jul 25, 2007 06:57 AM

OpenGL can appear daunting, but you can set up simple sprite animations fairly easily with it. The hardest part about OpenGL is setting up the window to draw into.

Begining visual programing. - ChrisPol - Aug 22, 2007 06:01 PM

If you're just learning Cocoa you might want to start with basic path drawing and NSImage related stuff.

I think rushing into advanced stuff too quickly leads to frustration. I've been learning Cocoa (after being a windows person for years) from Hillegass' book, Cocoa Programming for Mac OSX and find the book very good.