Use the left and right arrow keys to turn the cannon Use the space-bar to shoot Adjust the power to change the initial speed of the ball You may use the firing logic in your projects, just remember to give me credits
The ball moves with X and Y velocity rather than the "move()steps" block The X and Y velocities are set by using trigonometric functions on the direction of the cannon and the Power varible