Intersecting Lines in GameMaker: Studio

So, I just made a new script for GameMaker: Studio: lines_intersect(x1,y1,x2,y2,x3,y3,x4,y4); It is something I have wanted to do for a long while, but I had a hard time figuring out the math – after digging up the ol’ trigonometry everything fell into place though. The x1, y1, x2 and y2 arguments are the two […]