Code: Select all
repeat with x = 1 to 200
if random(2) = 1 then
click at x, 10
else
click at x, 40
end if
end repeat
This actually takes a while to run. How can I make it faster? The slow part appears to be the drawing. I don't think lock screen and unlock screen will speed it up much this time. Don't worry about the random check. That's there to demonstrate that I am not just drawing lines on screen. My code is creating pixels based on specific logic. For example, imagine if you were coding the LIFE simulation in LiveCode.
Is there can offscreen image buffer or something?