Scratch Part 1: Basics
Check that you know the following:
- Select the view mode for the Scratch environment
- The stage
- Start and stop a program
- The X and Y coordinates
- Select a sprite and check its details
- The four directions (0=up, 90=right, 180=down, -90=left)
- Change a sprite's direction with the blue line
- The rotate buttons: can rotate, left-right, no rotation.
- Combine the blue line with the rotate buttons
- Change the size of a sprite on the stage
- Duplicate and remove a sprite from the stage
- How to add a new sprite: draw, open, open random
- Switch between the tabs that allow you to build an application: Scripts,
Costumes, Sounds
- The code block areas - colour coded. Note that double clicking on the
blocks will execute them e.g. Move
- The difference between sprites and backgrounds: clicking the stage icon
changes 'Costumes' to 'Backgrounds'
- The menu options: file, edit,
Note that each sprite and background has its own code. The code you write
when a sprite is selected will apply to that sprite or background only. Note
also that the code for backgrounds has fewer features than that for sprites.
Exercises
Variables
Write a program that inputs two values and displays their sum.
Write a program that displays the results of 2+2*2 and (2+2)*2.