if (ballPosition.Y < 0 || ballPosition.Y > maxY)
ballSpeed.Y *= -1;
but i'm finding that it isn't enough. My ball keeps getting stuck going through the same movements. I don't even have to move my paddle when this happens and can just leave it hanging out in the corner while I go grab a beer.
Could someone help me out with this?
Edited by wtfmates, 24 October 2012 - 07:23 AM.