Because it doesn't work. After reading what you wrote, I tried it, and it didn't work. First of all
make it -1 if you want to go down and +1 if you want to go up
doesn't make sense because using the y-axis in an
applet it should be +1 for down and vice versa. I'm sorry for what i said about having something garenteed to work but this peice of code is getting to me. All I want is for the ball to bounce off walls. But theres something I'm missing... that I just can't think of. if Japps way does work, can somebody explain more?