I’m going through the lessons and I want to keep practicing by improving on the Pong tutorial. Is there a way I can spice the game up by having the ball travel in a curve? I was looking for functions to use (I found lengthdir and other sin/cos functions), but I’m not sure where I should plug them into my code.
At the moment, the ball just moves at a constant speed while its X and Y coordinates are updated in the loop function. While it does ‘bounce’, its always predictable. Help? Thank you!