At 22:29 -0500 03/20/2002, Rob Romanek wrote:

>sendAllSprite is not always faster than doing a repeat loop. It 
>depends on how many sprites are in the score, how many sprites you 
>are trying to communicate with and where they are located in the 
>score.

And whether you know where the sprites are. If you've moved 'em 
around or if you have 1000 sprites which discontiguously have 
handlers that can be messaged, the repeat loop won't work as well, I 
suspect. (Haven't *ever* had 1000 sprites I needed to message all at 
once though.)

I'll stick with the slightly sloppier, marginally slower method, just 
to avoid the housekeeping involved with the repeat loops to begin 
with. ;)

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to