Pong 2007
Community Forums/Showcase/Pong 2007
| ||
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 |
| ||
Screenshots! |
| ||
screenshots:![]() ![]() |
| ||
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 |
| ||
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. |
| ||
You need to calculate the trajectory of the ball. |
| ||
the ball's trajectory is linear, so you just make it follow the y of the ball...pretty simple. |
| ||
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. |
| ||
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. |
| ||
Update: Everything packed into one single file, save to disk. New screenshots. |
| ||
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) |
| ||
Well...I posted my game a couple of months ago.. |
| ||
Heh...Yeah,lot of pong games. EDIT: @tjompen: Where did you get that font? I need something of the sort. |