Lesson 2 Sequences, Backgrounds
- Extracted from Getting Started
Adding a backdrop
Add a Backdrop
Add a Backdrop
Can you identify the 'x', 'y' and 'z' squares in this image?
We can check by using our backdrops
Each point on the Scratch backdrop is also defined by two values, one showing where it is positioned horizontally and vertically.
Click on the 'add new backdrop' icon below the Sprites pane.
Click on the 'search' icon and the backdrop library opens up. In the search bar, type in 'Xy Grid'.
- Observe that the 'x' axis extends from -240 to +240 with '0' being the center.
- Observe that the 'y' axis extends from -180 to 180 with '0' being the center.
Computer Program: A series of instructions that tell a computer what to do.
Programming Languages: Programming languages are languages used by programmers to communicate with computers. Just as we communicate using different languages, programmers also communicate with computers in different ways.
Pseudocode: Series of instructions that are written in plain language without using a specific programming language or platform.
Sequences: A series of related instructions arranged and executed one after another to complete a task or to solve a problem.
Control Structures: Programming statements that control other commands or actions. An example is the 'wait' command that pauses a sequence for a specific period of time.
Homework Level 1
Use sequences and control structures to write a program in which one sprite relates a 'Knock Knock' joke to another.
Homework Level 2
- Add a red ball that moves between the dots