Simple Line Tool by Galyxi8th Sep 2005 9:44
|
---|
Summary You can use this program to make lines, first progamme i've made so far. Description Left click to set the start point of the line you want to draw. Right click to set the end point of the line. Simple program, just draws lines! Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com do sync red=rnd(255) green=rnd(255) blue=rnd(255) ink RGB(red,green,blue),RGB(red,green,blue) if mouseclick()=1 then x1#=mouseX():y1#=mouseY():once#=0 if mouseclick()=2 and once#=0 then x2#=mouseX():y2#=mouseY():line x1#,y1#,x2#,y2#:once#=1 sync loop |