TomToad you are not right about that.
You can use negative values for the SetAngel.
Check out this :
Edit: Funny. We posted allmost the same example to defferent topics in the forum.
You can use negative values for the SetAngel.
Check out this :
Strict Graphics 640 , 480 While Not KeyDown(KEY_ESCAPE) Cls Local dx = MouseX() - 320 Local dy = MouseY() - 240 Local angle = ATan2( dy , dx ) SetRotation angle DrawLine 320 , 240 , 340 , 240 SetRotation 0 DrawText angle , 10 , 10 Flip Wend
Edit: Funny. We posted allmost the same example to defferent topics in the forum.