Watch as a Trigonometric graph is created!
I used Paddle2See's brilliant code for the ball and barrel with a few extra details added to it to create this game. It uses trigonometric functions to create a realistic, parabolic path for the ball. ~How it works~ Using the trigonometric script, the game calculates how far in each direction the ball must move at different intervals of time.Using the Pen extension, you can code the ball to create a trail behind it, creating a parabola. After every parabola is created, the point of projection's "x" position decreases by two, therefore resulting in another parabola just beside it. I am so grateful to Paddle2See for their astounding code! You should definitely try out their game too!