Level 2: Broadcasting Spells
| Course: Scratch Programming | Level: Level 2 | Project 07 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 "Broadcasting Spells" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/broadcasting-spells)
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
Use broadcast and receive blocks to trigger magical effects between sprites.
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 magical backdrop (castle, forest, night sky).
- Add a wizard sprite and several effect sprites (sparkles, stars, flames).
- When the wizard is clicked:
broadcast [spell1]. - Create separate scripts on each effect sprite:
when I receive [spell1]. - Each effect sprite should react: play a sound, change color, move or grow.
- Add 3 different spells, each with a different broadcast message.
- Add buttons or keyboard triggers for each spell type.
- Use
set [ghost] effect to [50]to make effects fade in/out. - Add a spell name display using a variable.
- Make spells reset after 2 seconds using
wait [2] secsthenclear graphic effects.
Extension Challenges
Try these after completing the main project:
- Chain broadcasts so one spell triggers another automatically.
- Add a spell counter that limits how many times each can be used.
- Create a ‘spell backfire’ that reverses all effects.
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 08 → |