line algorithm

  1. 3

    SOLVED How to get every point of a line [SOLVED]

    I have a line from x1 y1 to x2 y2. I want to loop through every integer point of this line. I came up with this code but it still runs into issues This took me the last 5 fcking days. I alwas thought now I have it and then I noticed another bug: How would you do it? Am I overthinking this? EDIT...
  2. Sabnock

    [SOLVED] Line drawing Algorithm

    Looking for a good line drawing algorithm. I want to be able to per pixel colour a line so i can animate colour along the length of the line which GML does seem to cover i have looked on line and seen a few options but wanted to get advice on what was best for quick, efficient game use...
Top