Level 2: This Sprite Needs You
| Course: Scratch Programming | Level: Level 2 | Project 12 of 35 |
Official Raspberry Pi Project
This lesson is based on the official Raspberry Pi Foundation project. Open it alongside this guide to access the starter project, step-by-step instructions and community remixes.
### [🍓 Open "This Sprite Needs You" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/this-sprite-needs-you)
How to use it: Click the link above, then click See Inside on the Scratch project to explore the finished version. Use Remix to get your own copy to edit.
What You Will Build
Make a companion sprite that responds to events and messages to assist the user.
What You Will Learn
By the end of this project you will be able to:
- Use Events blocks to start scripts and respond to clicks
- Combine Motion, Looks and Sound blocks to create behaviours
- Use variables to track game state and scores
- Apply the specific Scratch concepts introduced in Level 2
You Will Need
| Item | Details |
|---|---|
| 🌐 Browser | Any modern browser — Chrome, Firefox or Edge |
| 🔶 Scratch account | Free at scratch.mit.edu |
| ⏱️ Time | Approximately 30–45 minutes |
| 📋 Starter project | Available via the Raspberry Pi link above |
Step-by-Step Guide
- Create a friendly companion sprite with at least 3 costumes: happy, sad, thinking.
- When the flag is clicked: companion says
Hello! I'm here to help. - Add interactive buttons: Help, Cheer Up, Tell a Joke.
- When Help is clicked: companion switches to thinking costume, says a tip.
- When Cheer Up is clicked: play a happy sound, switch to happy costume, do a dance animation.
- When Tell a Joke is clicked: companion says a two-part joke using two
sayblocks with a wait. - Add a needs meter (0–100). Every 5 seconds the meter drops by 10.
- If the meter reaches 0: companion looks sad and says
I need attention! - Interacting with the companion fills the meter back up.
- Add a name variable so the companion addresses the user by name.
Extension Challenges
Try these after completing the main project:
- Add a daily greeting that changes based on the time variable.
- Build a simple quiz the companion can give the user.
- Add persistence using cloud variables to remember the user between sessions.
Reflection Questions
- Which Scratch blocks did you use most in this project?
- What would you add or change if you had more time?
- How could you reuse the ideas from this project in a different context?
Share Your Work
When your project is complete, click Share in Scratch and post the link to your class or the Techbase community.
| ← Back to Scratch Course | Next: Lesson 13 → |