Time for action – give me another "M"
When we last left our script, the Second M in Mom displayed on the screen. Now let's display the First M in Mom.
The second letter M broadcast the message next m, so that is where we begin this exercise:
Add the Control block when I receive next m to the scripts area for the First M sprite.
Add the show block.
Let's rotate the M this time. From the Motion palette, add the turn clockwise 15 degrees block to the show block.
Click the flag to set the script in motion. Note that the first m is tilted 15 degrees. Click the Stop button when you've seen enough.
Wrap the turn clockwise 15 degrees block in a repeat 10 block.
Change the input value on the repeat block to 25.
Add a broadcast block and create a new message gimme an O. Click the flag to run the script and watch the M spin in place. Click Stop when you've seen enough.
Run the script multiple times. Note how the letter M has a different orientation each time the script runs.
What just happened?
Excited to get...