Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Scratch 1.4: Beginner's Guide

You're reading from   Scratch 1.4: Beginner's Guide Learn to program while creating interactive stories, games, and multimedia projects using Scratch

Arrow left icon
Product type Paperback
Published in Jul 2009
Publisher Packt
ISBN-13 9781847196767
Length 264 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Time for action – give me an "M"


In the next act, we introduce Mom. The letters M, O, and M are currently hidden, so let's bring them out:

  1. We're going to start with Second M. Select Second M from the sprites list so that we see the scripts area.

  2. We will control the Second M sprite with the when I receive hi mom control block. Drag that block into the scripts area.

  3. To display the letter M, we need to add the show block.

  4. Click the flag to see the script run so far. As Happy Birthday beats on the screen, the second letter M appears on the screen.

  5. Click the stop button when you're ready to continue.

  6. From the Control palette, snap the repeat 10 block to the bottom of the show block.

  7. We're going to make the M a mosaic. From the Looks palette, add the change color effect by 25 block to the repeat loop. Change the graphical effect from color to mosaic by selecting mosaic from the drop-down list.

  8. Click the flag and watch the effect of our action. Our M is a mosaic, but it's no longer readable.

  9. Click Stop...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image