Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Scratch 2.0 Beginner's Guide: Second Edition
  • Table Of Contents Toc
Scratch 2.0 Beginner's Guide: Second Edition

Scratch 2.0 Beginner's Guide: Second Edition

By : Badger
4.3 (4)
close
close
Scratch 2.0 Beginner's Guide: Second Edition

Scratch 2.0 Beginner's Guide: Second Edition

4.3 (4)
By: Badger

Overview of this book

The book uses step-by-step instructions along with full code listings for each exercise. After each exercise, the author pauses to reflect, explain, and offer insights before building on the project. The author approaches the content with the belief that we are all teachers and that you are reading this book not only because you want to learn, but because you want to share your knowledge with others. Motivated students can pick up this book and teach themselves how to program because the book takes a simple, strategic, and structured approach to learning Scratch. Parents can grasp the fundamentals so that they can guide their children through introductory Scratch programming exercises. It’s perfect for homeschool families. Teachers of all disciplines from computer science to English can quickly get up to speed with Scratch and adapt the projects for use in the classroom.
Table of Contents (13 chapters)
close
close
12
Index

Time for action – hiding all sprites when the flag is clicked


We're going to animate our card, which means we're going to be changing the default appearances of the sprites in our card. Therefore, we need to think about the starting values of our sprites. As the first step in our animation, we'll hide all sprites so that we start with a blank screen. Then, we can introduce and animate each sprite in turn as shown in the following steps:

  1. Select the Happy Birthday sprite to display its script area.

  2. We'll use the click on the green flag as an event to trigger our script. From the Events palette, drag the when flag clicked block to the scripts area.

  3. From the Looks palette, snap the hide block to when flag clicked.

  4. Hide each of the letters that spell mom using the same script. Try the following shortcut:

    1. Right-click on the Happy Birthday script and select duplicate. The script attaches to your mouse cursor.

    2. Drag the script to one of the other sprites in the sprite list and click on it. The script copies...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Scratch 2.0 Beginner's Guide: Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon