Now, change the script so that the sprites don't move forever, but only repeat until
they touch.
forever
block with a repeat until
block.repeat until
block. Set it to repeat until it is touching Sprite
.touching Sprite(2)
.move
block with a tiny number (probably less than 1) so Sprite(2) doesn't catch Sprite too quickly.Right now, when the sprites meet, they just stop. Make them have a conversation when they stop. You can do that by adding code like this to Sprite(2)'s script. Make up your own conversation. You can use any language you can type.
tell
block isn't installed automatically. Click on the File menu at the top of the snap window and select "Import Tools." The tell
block will appear toward the end of the Control palette. You'll need to import tools once into each new snap project where you need tell
.
You can personalize this project in lots of ways...