I have a pong game that uses a while loop to constantly move the ball to the new co-ordinates through out the game. a move of a few pixels each time. my issue is that when I press buttons to move the pong player paddle, the ball is glitching.
I know that when I press a button the code goes to the function I created to move up. In the split second this is happening, my ball stops moving though.
I was looking for a solution to this problem.
I didn't include my code as I think its a known problem but I was looking for a work around.
Thanks for any help. I can also post my code if needed