At 21:01 -0800 03/19/2002, Patrick Mamode wrote:

>I read in the Lingo Dictionary that the use of
>sendAllSprites "may decrease performance".

Relative to what they don't say. The reason is it's not targeted.

>I have a group of sprites that must respond to an
>event. Will I see a decrease in performance if I use
>sendAllSprites rather than setting up a repeat loop to
>individually manipulate each sprite through
>sprite(whichSprite)?

You DEFINITELY want to use sendAllSprites rather than a repeat loop. 
sendAllSprites takes more time than sendSprite, but it is orders of 
magnitude faster than a repeat cycle.

>When is it more appropriate to use sendAllSprites?

When you have more than one sprite to send stuff too, or if you're 
not needing to go by specific sprite numbers.

-- 

              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