oh easy!
I'll type one here:
@LOOP:VSYNC
TOUCH OUT TM,TX,TY
IF TM THEN
IF !OLDTX OR !OLDTY THEN
OLDTX=TX:OLDTY=TY
ENDIF
GLINE TX,TY,OLDTX,OLDTY
OLDTX=TX:OLDTY=TY
ELSE:OLDTX=0:OLDTY=0:ENDIF
GOTO @LOOP
I did not add any line smoothing algorithms, but thats easy too
Oh COLOR 12 would only change the text color
Here's some things you could add:
GCOLOR #CYAN
which is the same as
GCOLOR RGB(0,255,255)
replace #CYAN with almost any color
Hey go for it!
But here's a few things you should fix first:
add
ACLS:XSCREEN 3
to the very very beginning
replace
GLINE TX,TY,OLDTX,OLDTY
with
DISPLAY 0:GLINE TX*1.25,TY,OLDTX*1.25,OLDTY
DISPLAY 1:GLINE TX,TY,OLDTX,OLDTY
i made a drawing program once, it was similar to your code. I actually had some cool features like a circle-pad controlled cursor that could draw, and a size feature. I need to update it sometime tho... MOAR GUI