A friend of mine has an app where some animations are done by flipping through cards. Speed is variable, set with a "wait <n> milliseconds" statement, so the user can view the sequence as quickly or slowly as desired.

In versions up through 6.x the speed was quite good, but in v7, 8, and 9 the speed drops below acceptability.

We did some tests and oddly enough the problem doesn't seem to be with card rendering: when we comment out the "wait" statement speed is pretty good. It's maybe a tad slower perceptibly, but still good enough for the animation to be viewed meaningfully.

But "wait 1 millisecons" or even "wait 0 milliseconds" takes FAR longer in recent versions than in v6.

He has no "...with messages" clause, so any extra time needed for the event loop should not be a factor.

Something seems amiss with the "wait" command itself.

He's sending me his stack file so I can winnow it down to a good test case, but in the meantime I wanted to ask here:

Have any of you seen unusual delay with "wait" statements in versions later than v6?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to