[Request] Pong Source & One Question

Apprentice
Posts: 16
Joined: 2010.02
Post: #1
Hi,
Where I can find the source code for a simple Pong game, preferably written in Objective-C and OpenGL?
Any other simple game that I can use to learn from would also do. Smile

I've taught myself Objective-C and OpenGl from the internet, but one thing I haven't found any good tutorials on is linking/connecting classes.
For example I have two classes called inputcontroller.h/m and spriterenderer.h/m.
How do I connect these classes so that inputcontroller can set variables and spriterenderer can read them?
Quote this message in a reply
Apprentice
Posts: 16
Joined: 2010.02
Post: #2
Doesn't anybody have any code that I can use to learn from?

As for my question,
I've figured out how to get the value from a variable but I can't set it to an new value.
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #3
Quote this message in a reply
Apprentice
Posts: 16
Joined: 2010.02
Post: #4
Thank you, I searched the forum but must have missed that post.
Quote this message in a reply
Nibbie
Posts: 4
Joined: 2011.09
Post: #5
(May 2, 2010 07:36 PM)AnotherJake Wrote:  Here:

http://www.idevgames.com/forum/showpost....ostcount=5

page does not exist
Blink
Quote this message in a reply
Moderator
Posts: 916
Joined: 2002.10
Post: #6
(Sep 17, 2011 12:02 PM)fudog Wrote:  
(May 2, 2010 07:36 PM)AnotherJake Wrote:  Here:

http://www.idevgames.com/forum/showpost....ostcount=5

page does not exist
Blink
that was over a year ago, before we moved the forums.

If you like, you could offer up new source code, instead of resurrecting a long dead post.
Quote this message in a reply
Nibbie
Posts: 4
Joined: 2011.09
Post: #7
When I write my version of Pong... I will gladly offer up code for people to learn from.

In the mean time is it ok if I look for help within the forums, to learn how to write Pong - or am I missing the point, of this forum?

Rolleyes
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  newbie request direction Teehee 3 6,049 Jul 27, 2011 09:57 AM
Last Post: AndyKorth
  Another newbie request. hypnotx 2 3,173 Jun 10, 2007 02:03 AM
Last Post: hypnotx
  Pong AI trouble saxplayer13 15 7,895 Dec 16, 2005 10:40 AM
Last Post: jamil5454
  My first Cocoa Game that works! (Pong) blobbo 16 9,983 Aug 4, 2005 03:15 PM
Last Post: Andrew
  Pong "Physics" Nick 9 6,179 Sep 28, 2004 07:36 PM
Last Post: aarku