Introduction to Scratch 2.0 – Lesson Three
Background and Privacy in Scratch 2.0
Let’s add a background image!
In this lesson, we are going to learn how to add (or draw) backgrounds on your stage. At the end of this lesson, you should know how to:
- identify the stage
- write a script for the stage
- make a small animation for the stage
First, you need to log in to the Scratch web site. Remember to choose the “create” tab to access the editor.
Find Your File
In the last lesson, you made Scratchy into a superhero. Remember how we saved that project? To find it again, click on “Go to My Stuff.”
All of your projects will be stored here – even the ones you didn’t think you had saved! The web site, Scratch, saves all of your projects even if you haven’t given them a title. (This isn’t true if you are using the offline editor). If you want to find the one you worked on during the last lesson, you should see it on the “My Stuff” page.
In the image below, you can see the total number of projects I have (it says 33 below). You’ll also notice that only 4 of these projects are shared – that means only 4 projects can be viewed by anyone. Most of the projects are not shared. If you want to keep your projects private, you don’t have to do anything. Scratch keeps all of your projects private until you decide to share them. To share them with everyone, you will need to choose the “share” button while using the editor.
See Inside = See the Code
If you want to continue to work a past project, you need to click on the “See inside” button. Otherwise, it will take you to the presentation mode of your project.
Once you click on the “See inside” button, you will be able to edit your code and make changes. Find your project from the last lesson (the one with the sprite that you made into a superhero). Click on the “See inside” button and let’s add an animated background.
The background image on the projects can be found in the “stage.” Can you think of why the developers of Scratch may have called it “the stage?” To work with the background, you need to be sure you have the stage selected, as seen in the picture below.
Notice that the blue highlighted box is no longer around Scratchy (sprite 1). Instead it is around the Stage (1 backdrop). This means we are now writing scripts for the stage, not our sprites.
Now that you know how to write a script for the stage and change the costume so it is animated, it’s your turn to try. Can you edit the same background (spotlight stage) and make it look like Scratchy is at a dance party?
Use this script to animate your background:
If you couldn’t get your background to animate, make sure that you are writing a script for the stage, not your sprite. (That means you need to choose your stage before writing a script).
Also, check to make sure you are alternating between two different backgrounds. For example, spotlight-stage and spotlight-stage2.
Finally, if you are still having trouble, check your backdrops tab and make sure you have multiple copies of your background.
Go to Lesson Four