• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Having Issues with lengthdir function in gamemaker 1(Plz Help)

G

Gamedev

Guest
I have a game in which my player has a sword which uses lengthdir to stay around the player and attack it all works just fine,but when my mouse gets close to the sword it starts to glitch out and splits into 2.Now i understand why this is happening but what I want to know is a solution.Been at it for 2 hours.Pls Help.
 
Top