How do you make it when a sprite receives another sprite they would say something.
Like if the sprite recieves a sprite (food) they would say yum. Or switch costumes.
Thanks
Jocelyn
Offline
You mean if the sprites touch? Use the <touching [Sprite]> block.
<forever if><touching[ Food Sprite
<say[ Yum ]for( ... )secs>
<end>
Offline
[blocks]
<when green flag clicked>
<forever if><touching[ Food Sprite
<say[ Yum! ]for( 2 )secs>
<wait until><< <not> <touching[ Food Sprite >>
<end>
[/blocks]
Hey! MyRedNeptune beat me to the post! And we have almost the same answer - lol. I put a Wait on mine so it would only say Yum once, even if the food was left on the sprite for a long time.
Offline