The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1

(^70) THE OFFICIAL RASPBERRY PI BEGINNER'S GUIDE
This project relies on two images – one as a stage background, one as a sprite – which
are not included in Scratch’s built-in resources. To download them, click on the raspberry icon
to load the Raspbian menu, move the mouse pointer to Internet, and click on Chromium Web
Browser. When the browser has loaded, type rpf.io/astronaut-backdrop into the address bar,
followed by the ENTER key. Right-click on the picture of space and click on ‘Save image as...’,
then choost the Downloads folder and click on the Save button (Figure 4-10). Click back into
the address bar, and type rpf.io/astronaut-sprite followed by the ENTER key.
5 Figure 4-10: Save the background image
Again, right-click on the picture of Tim Peake and click on ‘Save image as...’, then choose the
Downloads folder and click on the Save button. With those two images saved, you can close
Chromium or leave it open and use the taskbar to switch back to Scratch 2.
Start by right-clicking on the cat sprite on the stage and clicking Delete to remove it. Find the
stage controls at the bottom-left of the Scratch 2 window and click on the upload backdrop
icon. Find the file Space-background.png in the Downloads folder, click on it to select it,
then click OK. The plain white stage background will change to the picture of space, and the
scripts area will be replaced by the backdrops area (Figure 4-11). Here you can draw over the
backdrop, but for now just click on the tab marked Scripts at the top of the Scratch 2 window.
USER INTERFACE
If you’ve been following this chapter from the start, you should
be familiar with the Scratch 2 user interface. The following
project instructions will rely on you knowing where things are;
if you forget where to find something, look back at the picture
of the user interface at the start of this chapter for a reminder.

Free download pdf