Discuss Scratch
- Discussion Forums
 - » Help with Scripts
 - » Make sprite move faster
        
         
- deck26
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Make sprite move faster
If two sprites are racing, and let's call them cat and dog, if the cat got to the finish line first, how would you make all scripts stop for the dog and the cat?Please start your own topic rather than posting on an old one of someone else's.
In answer to your question make a broadcast when either sprite gets to the finish line. Both sprites should stop their movement scripts in response to the broadcast.
- duckboycool
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Make sprite move faster
If two sprites are racing, and let's call them cat and dog, if the cat got to the finish line first, how would you make all scripts stop for the dog and the cat?Hello, for your problems, instead of posting on a already created topic, go to the help with scripts page, and click new topic. Thank you.
- VintageAura
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Make sprite move faster
If two sprites are racing, and let's call them cat and dog, if the cat got to the finish line first, how would you make all scripts stop for the dog and the cat?We have a name for that.
stop [all v]
Use as so:
when green flag clicked
forever
if <touching [end v] ?> then
stop [ v]
end
end
Last edited by VintageAura (Feb. 22, 2017 21:52:03)
- Discussion Forums
 - » Help with Scripts
 - 
            » Make sprite move faster 
         


