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 – finding a color picker workaround


Let's import a color picker sprite from the book's source files so that we can have a full range of hues to select from in our art projects by performing the following steps:

  1. For those of you who do not wish to or are unable to download the source files for the book, one option would be to use an image of the color picker in Scratch's paint editor. You could take a screenshot and crop the image so that only the color palette is included. Then import the new image into Scratch as a sprite.

  2. The easier option is to look in the code folder for this chapter and find the image file named Color_picker.png.

  3. From Scratch, click on the Upload sprite from the file icon. Browse for and select the Color_picker.png file to import it. The image file we're importing is from the Scratch Wiki; however, this is the same color picker image that can be found in the set pen color to () block in Scratch 1.4.

  4. Now you can select a color for use in the set pen color...