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

Defining a variable to keep score


How do we know how good we are if our game doesn't keep score? The next step in our project is to add points each time we break a brick and display the value on the stage.

Before we begin, turn off any remaining monitors from the stage because we no longer need to see them.