Frame-based animation
Ken Corey
ken at kencorey.com
Sat Feb 11 13:33:32 EST 2012
On 11/02/2012 17:53, Richard MacLemale wrote:
> Well, I know one thing - trying to put script steps in an array and run it on the iPad 1 is NOT a winning idea. It's taking 163 milliseconds to execute two lines of code that way. My window is more like 33 milliseconds. Back to the old drawing board, as they say...
I don't know what the engine does to the code...the code might be
"compiled" (I use that term loosely) down, where evaluated code isn't.
Hrm...can you abstract each little script enough to make little commands?
on appearFlower
set the loc of image "flower" to 400,401
set the height of image "flower" to 150
set the width of image "flower" to 150
end appearFlower
in frame 30:
appearFlower
Does that help?
-Ken
More information about the use-livecode
mailing list