the line created has only 2 points
Very, very funny indeed.
The line in my stack has 50 points.
Make an effort to understand the code inside the GENERATE DOTTY LINE button, find where the field "POINTZ" is,
and then do some work instead of expecting to have everything delivered to you on a plate.
Code: Select all
on mouseUp
put empty into fld "POINTZ"
put 20 into LR
put 100 into UD
repeat until LR > 1000
put (LR & "," & UD & cr) after fld "POINTZ"
add 20 to LR
add 10 to UD
end repeat
set the points of grc "pp" to fld "POINTZ"
end mouseUp
If you look at the code in button "MOVE IT BABY!" you will see the line is completely irrelevant
(and it is just 'there' to look pretty):
Code: Select all
on mouseUp
set the moveSpeed to 2000
put 2000 into fastBALL
put 1 into POYNT
put line POYNT of fld "POINTZ" into LOKK
set the loc of grc "TOPKA" to LOKK
repeat until line POYNT of fld "POINTZ" is empty
add 1 to POYNT
put line POYNT of fld "POINTZ" into LOKK
move grc "TOPKA" to LOKK
subtract 40 from fastBALL
set the moveSpeed to fastBALL
end repeat
end mouseUp