[Request] Pong Source & One Question
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.
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?
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.

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?
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.
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.
Thank you, I searched the forum but must have missed that post.
(May 2, 2010 07:36 PM)AnotherJake Wrote: Here:
http://www.idevgames.com/forum/showpost....ostcount=5
page does not exist
(Sep 17, 2011 12:02 PM)fudog Wrote:that was over a year ago, before we moved the forums.(May 2, 2010 07:36 PM)AnotherJake Wrote: Here:
http://www.idevgames.com/forum/showpost....ostcount=5
page does not exist
If you like, you could offer up new source code, instead of resurrecting a long dead post.
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?
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?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| newbie request direction | Teehee | 3 | 5,457 |
Jul 27, 2011 09:57 AM Last Post: AndyKorth |
|
| Another newbie request. | hypnotx | 2 | 2,853 |
Jun 10, 2007 02:03 AM Last Post: hypnotx |
|
| Pong AI trouble | saxplayer13 | 15 | 7,124 |
Dec 16, 2005 10:40 AM Last Post: jamil5454 |
|
| My first Cocoa Game that works! (Pong) | blobbo | 16 | 9,217 |
Aug 4, 2005 03:15 PM Last Post: Andrew |
|
| Pong "Physics" | Nick | 9 | 5,783 |
Sep 28, 2004 07:36 PM Last Post: aarku |
|

