Hardware Reference
In-Depth Information
FIGURE 3-2 Opening Scratch from the Raspbian menu
The Scratch Interface
he interface for Scratch includes four main panes, identiied in Figure 3-3:
Stage —Your animations, stories and games are displayed in this pane so that
you can see what happens as you add backgrounds, characters and scripts to
your creations. he stage is set on a grid with an x axis and a y axis so that you
can program events or actions to take place at a speciic location on the stage; for
example, you can have a star appear in the top right corner of the stage by giving
the appropriate x and y coordinates.
Sprites palette —his pane displays the sprites or characters that you create for
your project. To see or edit scripts or costumes for a sprite, click on the sprite in
the palette.
Blocks palette —he Blocks palette is divided into two portions. he top por-
tion has eight labels—Motion, Looks, Sound, Pen, Control, Sensing, Operators
and Variables—each of which corresponds to a group of blocks that you can use
to program your projects. Click on a label, and the blocks available for you to use
appear in the lower portion of the pane. To form scripts, you select the blocks
you want to use, drag them onto the Scripts tab (see the next bullet) and it them
together.
Search WWH ::




Custom Search