Tiny images, mega headache
Malte Brill
malte.brill at t-online.de
Sat Jul 26 21:50:01 EDT 2003
Hi David,
First of all I would try using lock/unlock screen ouside of the repeat loop.
That should speed it up.
Also I would suggest using buttons instead of images. Import your tiles to a
data card. Then your repeat could look like this:
lock screen
repeat with y=1 to 96
repeat with x=1 to 128
put x&"c"&y into iName
set the icon of btn iName to the ID of img "water.png" of cd "data"
if the capslockkey=down then exit repeat
end repeat
if the capslockkey=down then exit repeat
end repeat
unlock screen
Hope this helps,
Malte
More information about the use-livecode
mailing list