I have added the paint function and a console window.
Click to reveal..
Code:
function manipulate()
{
VECTOR temp;
var nowpaint_x[900];
var nowpaint_y[900];
var j,i=0,k,m;
while(1){
if(mouse_moving == 1&&mouse_left ){
if(i<=899){
nowpaint_x[i]=mouse_pos.x;
nowpaint_y[i]=mouse_pos.y;
i++;
}
//wait(1); //line is faster, slimer, longer and have more draws in ticks
}
k=i-1;
m=0;
draw_line(vector(nowpaint_x[0],nowpaint_y[0],0),vector(0,255,255),0);
for(j=1;j<=k;j++){
draw_line(vector(nowpaint_x[j],nowpaint_y[j],0),vector(0,255,255),100);
}
draw_line(vector(nowpaint_x[j],nowpaint_y[j],0),NULL,0);
wait(1);
}
}
konsole Window starts with a AsCII A8 logo and comment my key's