Reply to Shoot in any direction (almost)
If you don't have an account, just leave the password field blank.
This will be pretty similar to an enemy shoot script I guess...
If I know the angle I want to shoot at (and the x/y I'm shooting from of course), how do I work out the move_x/move_y?
Or Someone's way of looping in the missile script.
I have 32 different directions, so multiples of 11.25°
I've been trying trigonometry for a while until my head hurts, now I just feel thick
Edit:
I guess if I have fixed directions in which to shoot I could just hardcode the values... but regardless, this would be useful.
If I know the angle I want to shoot at (and the x/y I'm shooting from of course), how do I work out the move_x/move_y?
Or Someone's way of looping in the missile script.
I have 32 different directions, so multiples of 11.25°
I've been trying trigonometry for a while until my head hurts, now I just feel thick

Edit:
I guess if I have fixed directions in which to shoot I could just hardcode the values... but regardless, this would be useful.