
06-05-2006, 03:44 AM
|
|
Okiesmokie
|
Join Date: May 2004
Posts: 1,447
|
|
|
That would screw up because I wasn't thinking. Should be paddleheight :P
anyways, the best way to do AI for pong is to make the paddle at a constant speed, and have it go up at that speed when the ball is higher, and down when the ball is lower, that way it's still possible to score against the AI, but it's not overly easy :P |
__________________
[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
|
|
|
|