Q:

How to find angle of arrow in flight

What I want is for an arrow to shoot from an initial position (60,60) at different x and y velocities, and the angle that the bow shoots from will change depending on where the user touches the screen.
The arrow moves perfectly considering velocities and gravity, but how would I get the angle of the arrow, say if it started at a 45 degree angle shot, for the arrow to be 180 degrees when y=0? and when gravity kicks in make the head of the arrow slowly point downwards?
Also the sprite moves the arrow image from the center.

A:

The angle is going to be arctan(y/x), starting at 0 for horizontal pointing right, to 90° pointing vertical.  Note that this is with the coordinate system having a home of 0° = directly east; make sure you add or subtract angle for how your arrow is pointed.

