iDevGames Forums
[Request] Pong Source & One Question - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: [Request] Pong Source & One Question (/thread-94.html)



[Request] Pong Source & One Question - McSpider - May 1, 2010 12:02 PM

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?


[Request] Pong Source & One Question - McSpider - May 2, 2010 07:23 PM

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.


[Request] Pong Source & One Question - AnotherJake - May 2, 2010 07:36 PM

Here:

http://www.idevgames.com/forum/showpost.php?p=138018&postcount=5


[Request] Pong Source & One Question - McSpider - May 2, 2010 08:01 PM

Thank you, I searched the forum but must have missed that post.


RE: [Request] Pong Source & One Question - fudog - Sep 17, 2011 12:02 PM

(May 2, 2010 07:36 PM)AnotherJake Wrote:  Here:

http://www.idevgames.com/forum/showpost.php?p=138018&postcount=5

page does not exist
Blink


RE: [Request] Pong Source & One Question - skyhawk - Sep 17, 2011 05:51 PM

(Sep 17, 2011 12:02 PM)fudog Wrote:  
(May 2, 2010 07:36 PM)AnotherJake Wrote:  Here:

http://www.idevgames.com/forum/showpost.php?p=138018&postcount=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.


RE: [Request] Pong Source & One Question - fudog - Sep 18, 2011 07:21 AM

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