Tiny images, mega headache
David Kwinter
david at kwinter.ca
Sun Jul 27 04:57:00 EDT 2003
YES!! Right on Malte! What an important lesson. Icons eh, who'd've thought.
I guess I that's a HyperCard trick I should've hung on to.
It's quick and no ram bloat. Thanks!
On 7/27/03 12:42 AM, "Malte Brill" <malte.brill at t-online.de> wrote:
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list