Game Development Community

20$ for scripts to pong game in TGB

by Matt Troup · in Jobs · 03/10/2007 (5:17 pm) · 10 replies

I could never get pong to work without bugs in TGB - I'll pay 20$ for someone who can get the scripts working, with the TDN version or their own. Post here and email me. foreversublime at hotmail dot com.

#1
03/10/2007 (6:37 pm)
TDN has a couple examples of Pong:

Have you tried the following URL?
http://tdn.garagegames.com/wiki/TGB/Pong
#2
03/11/2007 (12:04 am)
Yeah, I've tried... could never get it to work. I'm not a great scripter, but I've done much more complex things before. I figure someone has already put it together (I do believe I made a thread months ago asking for someone else to playtest the TDN tutorial, but I don't think anyone could confirm nor deny my remark that the tutorial doesn't work).

Double edit: ...noticed I was the last person to update the pong wiki in November.
#3
03/11/2007 (3:04 pm)
@Matt, what exactly is your problem with the pong tutorial on TDN ... ?

The basic principle of pong is a generic 'bounce' response to the paddle, however, it's usually best to add some generic math behind the code that can help out ... I had a similar issue with a breakout clone i was working on, and I can post the code that someone helped me with to make the ball bounce 'intelligently' off the paddle ... ie; changing the angle of the arch based on where on the paddle the collision with the ball occurred ... allowing you to make sharp 'bounces' if the ball hits the edge of the paddle, and more direct bounces if it hits nearer the center.

If that is not your issue, please do provide detail as to what your struggling with. I do not believe that offering $20 to get 'pong' to work is really necessary, unless you just don't feel like doing the work yourself with some help ;)
#4
03/11/2007 (3:53 pm)
Whenever the ball hit the paddle the paddle would move with the ball. I think that was the only problem. It's been many months, though.

I had tried with some help to make pong... too much to say what I have tried/done/and failed to do with this and other projects... but I think you've hit the bottom line with, "I don't want to do it myself", because I'm not a programmer, and I've wasted too much time scripting when I could be doing what I do better (so from my point of view it's more like ("I [shouldn't] be doing this myself").

That, and there's not much sense in me wasting time rewriting something I'm sure a lot of people already have working.
#5
03/11/2007 (4:50 pm)
@Matt, if the paddle was moving, and that was your only real hang up ... in the level builder, disable the paddles ability to 'recieve physics' and 'recieve collisions' ... tell the paddle to 'send physics' and 'send collisions' and then have the ball 'recieve physics' and 'recieve collisions' but not send them ... that way, when the ball hits the paddle, the paddle SENDS a collision to the ball, and the ball RECIEVES the collision ... with the collision, data about physics from the paddle are also sent to the ball, allowing the ball to more properly respond ... however, 'rigid' (the mode that works with physics mostly) will not really respond all that well ...

Hope that helps ...
#6
03/11/2007 (8:05 pm)
I do appreciate the help, but I have tried every collision possibility I could (even did .dso batch clean between).
#7
03/13/2007 (12:07 pm)
I hello I could help you. I have just got done working on a game for big time games dot com.They used TGB for the project.
#8
03/13/2007 (4:43 pm)
Sounds great. You can contact me here, or email me at: foreversublime at hotmail dot com

All the best,
#9
03/26/2007 (7:06 am)
Hey Matt did ypu get my last e-mail? I just need to know if u need me to do this or not.
#10
03/26/2007 (9:08 am)
Hi Harrison,

I didn't get your last email, but I'd still love you to do this.

Thanks!

-Matt