24th August 2022, 8:45 PM
someone please tell jiggmin (or whoever wrote it, Iso claims it was jiggmin) that other people have made actually good line algorithms that are not this
![[Image: mPTVBbB.png]](https://i.imgur.com/mPTVBbB.png)
for context: PR3 draws single pixel width lines without anti-aliasing, so the AS3 graphics library doesn't get used, and thats where this came from.
The algorithm that probably should've been used is Bresenham's line algorithm which is faster than this and there's no weird artifacting that comes from it going up and right less than one pixel because that's what this does.
Also now we're stuck with this because changing it might screw up older levels.
![[Image: mPTVBbB.png]](https://i.imgur.com/mPTVBbB.png)
for context: PR3 draws single pixel width lines without anti-aliasing, so the AS3 graphics library doesn't get used, and thats where this came from.
The algorithm that probably should've been used is Bresenham's line algorithm which is faster than this and there's no weird artifacting that comes from it going up and right less than one pixel because that's what this does.
Also now we're stuck with this because changing it might screw up older levels.
i failed the mario twitter challenge