Timeout objects appear to give better performance than a faster frame
rate. Check out http://www.lobo.net/~bryantek/BounceTest/Bounce2Time.htm
and http://www.lobo.net/~bryantek/BounceTest/Bounce2Frame.htm.
In both, I started with a behavior Robert Wingate sent me. I attached it,
with some modifications, to 30 sprites.
In Bounce2Time, I set up a timeOut object that calls a handler in sprite 1
every 17 milliseconds (59 times per second). In that handler, I move the
sprite, and do a sendAllSprites to call a custom handler in the other 29
sprites. Frame rate: 1 fps.
In Bounce2Frame, I set the frame rate to 60 fps, and moved all the sprites
on exitFrame.
See for yourself--the version using the timeOut object is clearly faster.
Cordially,
Kerry Thompson
Learning Network
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]