Neptune
Member
If you have an angle, point_direction from the player (whose x, y is somewhere in the view) to the cursor (mouse_x, mouse_y) - perhaps 30 degrees.
Then zoom the view out, drawing more of the room - say +20% of the native view size.
What would be the math for the artificial mouse coordinates in the zoomed out state, that would maintain the original angle of 30 degrees on a point_direction check?
My brain is toast, so any help is really appreciated
Then zoom the view out, drawing more of the room - say +20% of the native view size.
What would be the math for the artificial mouse coordinates in the zoomed out state, that would maintain the original angle of 30 degrees on a point_direction check?
My brain is toast, so any help is really appreciated