Pong 2007

Community Forums/Showcase/Pong 2007

tjompen(Posted 2008) [#1]
Hi!

This is a little hobbyproject. My friend collects pong-games,
and I had to try make one for him....Nice music....
/Tommy

http://hem.bredband.net/tommybergstrom/pong_2007.exe


Tri|Ga|De(Posted 2008) [#2]
Screenshots!


tjompen(Posted 2008) [#3]
screenshots:





Andres(Posted 2008) [#4]
Image: http://file.oat.ee/?id=download&file=anC%5Bsep%5Dbong.jpg&folder=ReBong_ReBong+July+21%2F
Download: http://file.oat.ee/?id=download&file=anC%5Bsep%5Dcutepong.exe&folder=ReBong_ReBong+July+21%2F

R - changes colors


andy_mc(Posted 2008) [#5]
How do people approacht eh AI for pong? I norammly just go for if ball_y > pad_y then pad_y = pad_y + 1 etc, etc... But this always looks really robotic.


Andres(Posted 2008) [#6]
You need to calculate the trajectory of the ball.


chwaga(Posted 2008) [#7]
the ball's trajectory is linear, so you just make it follow the y of the ball...pretty simple.


xlsior(Posted 2008) [#8]
How do people approacht eh AI for pong? I norammly just go for if ball_y > pad_y then pad_y = pad_y + 1 etc, etc... But this always looks really robotic.


That's pretty much it, except you can make it more fluid it ramp up the acceleration slightly when changing directions... Start slowly, then keep accelerating slightly until you hit the max speed.


andy_mc(Posted 2008) [#9]
nice idea, I normally use accelration for player controlled objects, never really think about it for CPU controlled things. I guess to make it easier, you just reduce the reaction speed of the CPU player or the acceleration of his paddle.


tjompen(Posted 2008) [#10]
Update: Everything packed into one single file, save to disk. New screenshots.


WERDNA(Posted 2008) [#11]
Does anyone notice how many Pong games have been
made lately?
I just made one,Cp just made one, And now Tjompen
has one.

Jazzy Graphics by the way, looks cool.

The Mighty WERDNA(Lord Of Jazz)


tjompen(Posted 2008) [#12]
Well...I posted my game a couple of months ago..


Cp(Posted 2008) [#13]
Heh...Yeah,lot of pong games.
EDIT:
@tjompen: Where did you get that font? I need something of the sort.