hold down your mouse to fire projectiles
I used @griffpatch 's tutorial for the ball projectiles. but then I figured "can I change the direction of the gravity with sin and cos?" then I changed the gravity direction. then I wondered, "can I change the gravity in relation to an object" and then I made the earth sprite and made the gravity change on where it is in relation to the projectile