iDevGames Forums
Pong tutorial for xcode - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Pong tutorial for xcode (/thread-9950.html)



Pong tutorial for xcode - coo1dude1 - Mar 22, 2012 10:10 PM

Does anyone know a good pong tutorial for mac in xcode?? In Open GL would be ideal


RE: Pong tutorial for xcode - mikey - Mar 9, 2013 03:28 AM

I'd start with this:
http://blog.onesadcookie.com/2007/12/xcodeglut-tutorial.html

If you find your C++ / C skills aren't enough try this:
http://www.cplusplus.com/doc/tutorial/

Then you need to look into GLUT events. If you prefer, you can use SFML:
http://www.sfml-dev.org

Or SDL.

The actual game is trivial to implement, and if you get stuck you can use the thousands of other Pong language tutorials to help you.

Good luck!

mikey


RE: Pong tutorial for xcode - johncmurphy - Mar 10, 2013 06:51 PM

This reminds me that I have been meaning to post the source code for the classic paddle game for a while.
I just put it up on my site:

http://www.johncmurphy.com/code.html

Hope it helps.