Scratch Programs for Class 5
This document includes step-by-step guides for 10 Scratch programs suitable for Class 5 students.
---
1. Create a Simple Animation
- Objective: Make a sprite move continuously.
- Steps:
1. Add the default cat sprite or choose another sprite.
2. Drag `when green flag clicked` from the "Events" category.
3. Add `forever` from the "Control" category.
4. Inside `forever`, add `move 10 steps` from the "Motion" category.
5. Run the script by clicking the green flag.
2. Say "Hello!" and Change Costume
- Objective: Make a sprite speak and change its costume.
- Steps:
1. Add the cat sprite.
2. Drag `when green flag clicked` from the "Events" category.
3. Add `say [Hello!] for [2] seconds` from the "Looks" category.
4. Add `switch costume to [costume2]` from the "Looks" category.
5. Run the script.
3. Control Movement with Arrow Keys
- Objective: Move a sprite using the arrow keys.
- Steps:
1. Select the player sprite.
2. Drag `when green flag clicked` from "Events".
3. Add four `if` blocks inside a `forever` block to detect key presses and move accordingly.
4. Make a Sprite Bounce
- Objective: Make a sprite bounce when it touches the stage's edge.
- Steps:
1. Add a sprite.
2. Drag `when green flag clicked`.
3. Add `forever` block.
4. Inside `forever`, add `move 10 steps` and `if on edge, bounce`.
5. Draw Shapes with Pen
- Objective: Use the pen tool to draw a square.
- Steps:
1. Add the "Pen" extension.
2. Use `pen down` and set the pen size.
3. Create a loop to draw the square.
6. Create a Conversation
- Objective: Two sprites talk to each other.
- Steps:
1. Add two sprites.
2. Use `say` blocks to create a back-and-forth conversation.
7. Build a Simple Game: Collect Coins
- Objective: Create a game where the sprite collects coins and scores points.
- Steps:
1. Add player and coin sprites.
2. Create a variable `Score`.
3. Use `if <touching [coin]> then` to update the score and reposition the coin.
8. Change Background Automatically
- Objective: Change the background every 5 seconds.
- Steps:
1. Add multiple backdrops.
2. Use a `forever` loop with `next backdrop` and a `wait [5] seconds` block.
9. Create a Maze Game
- Objective: Navigate a sprite through a maze without touching the walls.
- Steps:
1. Create a maze backdrop.
2. Use arrow key movement.
3. Add collision detection to reset position upon touching walls.
10. Add a Touching Starfish Game
- Objective: Collect starfish and score points.
- Steps:
1. Add player and starfish sprites.
2. Create variables `Score` and `Timer` (optional).
3. Use collision detection to update the score and reposition the starfish.
---
How These Programs Work
- These programs use Scratch's basic motion, sensing, variables, control, and looks blocks to teach
game mechanics and animations.
- Follow each program step-by-step to build your Scratch programming skills.