O'Reilly logo

Scratch Cookbook by Brandon Milonovich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding graphic effects to backgrounds

In Chapter 2, Storytelling, we explored adding a few different graphics effects to sprites. In this recipe, we are going to work on similar concepts with the background. This recipe will be similar to the last, in that we are implementing blocks that are very similar to what we've used in previous techniques.

Getting ready

Open a new Scratch project, and import a backdrop. If you want to mimic what we do here, we'll be using the desert background under the Nature category. We won't need to do anything with our sprite for this recipe, so the default cat is fine.

Tip

As a good programming practice, delete the white background when you've imported a new one. If you don't plan on using something at all, it is good ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required