Atari 2600 Pong Paddle Zones
One thing that I haven’t mentioned regarding the “physics” of Pong is that the paddle causes a total change in the motion of the ball. The walls reflect the ball like a real-world wall would, giving the ball a negative slope of the same value. The paddles, however, assign a new slope, based on where the ball hits.
If the ball hits high on the paddle, the ball gets a steep upward slope. If the ball hits toward the middle of the bottom half, the ball takes a 45 degree downward trajectory, and when it hits the middle, it will go straight across.
The diagram above is for illustrative purposes only, as I’m pretty sure there are 7 possible angles, not the five shown: Three up, three down, and straight. Seven makes the most sense when considering the game programming, as well. There are seven possible angles for each side, which makes 14 possible angles in normal play. Add in straight up and straight down, which are possible on some of the other variations of Pong on the cartridge, and you get 16 total angles, which can be stored neatly in a four-bit nibble.
Another point to note is the X on the upper half of the paddle. That represents the location of the follow point on the CPU paddle. The Atari will try to always seek that point to the ball, which means that most of the time, when the CPU paddle hits the ball, it’ll bounce it in an upper trajectory. However, in order to make it possible for the player to actually beat the computer, the CPU paddle can’t move fast enough to perfectly track the ball. The paddle is always too slow for the highest angles and will only be able to hit them if the ball reflects off a boundary wall close enough to the CPU side so it doesn’t have to chase it that far. At higher speeds, it can be too slow for any angle, potentially even straight across.
Anyway, the relevance of this to my project is that I’m not going to attempt to calculate the trajectory after hitting the paddle. It would be too much work to determine the location of the different reflection zones, and wouldn’t be of any real benefit.
0 comments
Kick things off by filling out the form below.
Leave a Comment