Quote from: Gilbet V7000a on Sun 08/03/2009 09:35:07
(if it's computer screen coordinates the y has to be negated)
If you're working in screen coordinates, the above formulae require the angle to be measured clockwise; if you are measuring the angle anticlockwise, then you need these instead:
x = startx + dist * cos(angle)
y = starty - dist * sin(angle)
Additionally, you might need to convert the angle from degrees to radians (I don't remember whether AGS trigonometric functions work in radians or degrees). Look up "cos" or "sin" in the AGS manual to see if this is necessary. If so, then I think it explains there how to do the conversion.