Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By : Michael Badger
Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By: Michael Badger

Overview of this book

Table of Contents (18 chapters)
Scratch 2.0 Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – reviewing pop the balloon - video starter


We'll be viewing a project from the Scratch website, so open a browser and go to http://scratch.mit.edu/projects/10126867/. Alternatively, you can download the book's supporting code files and open Pop the balloon - video starter.sb2. The project is from chrisg, a Scratch team member.

  1. When you have the Pop the balloon - video starter.sb2 project open, click on the See Inside button to see the sprites and scripts of the project. If you're using the offline editor, you'll automatically open the project in the code view.

  2. This program uses a webcam, so let's see what it does. Click on the green flag to start it.

  3. You will be prompted with a message that indicates that Scratch wants access to your microphone and webcam. Click on Allow.

  4. The view of your webcam is now on the Scratch stage with floating balloons. Touch the balloons to pop them.

  5. This project has one sprite with two scripts. If you take a look at the script that begins when the...