I wanted to ask, how you could show images along a line. Letīs say my line starts from:
x: 2
y: 3
and ends at:
x: 50
y: 36
I know how I could use it with a poly.
PHP Code:
showpoly(200, {x1, y1, x2, y2});
What I want is to have images along that line. Thatīs also not hard since I could stretch an Image (in case the length doesnīt match)
but how could I have, lets say a 16x16 pixel image, shown over and over on that line without stretching it?
Examples below (done in Paint.NET)
I thought I had seen such a script around but couldnīt find it anymore. Can anyone of you help me?