im trying to make a sort of engine to make games like hammerfight. the thing with it is i need a line to have a fixed length. the only action for the always event is to set the line width not the height. is there some way i can set the height to stay the same.
there is a sprite attached to each end. one is a cursor that replaces the mouse, the other is a ball (the weapons) which i need to stay within a 200 or so pixel radius of the cursor. i was thinking if the line is fixed to the ball, and the lines length is fixed to about 200 then the ball wouldnt go past that. if oyu dont understand im willing to throw in the .cap file. [url:1mcsbf08]http://www.mediafire.com/?2n2v50cubaw4fxh[/url:1mcsbf08]
if anyone has any ideas on how to do this OR an alternative way that i am too stupid as to see that would be great.