SunFounder RasPad 3
Challenge
I believe that you will be smart enough to program and implement this game soon. Next, we will add some challenges
to enrich our game content.
• In a game, you can shoot three rounds and then calculate the total score.
7.7.6 Hit the Magic Fish
Description
Before the project Starts, I will tell you the story of a magic fish. In the vast underwater world, there is a magical
magic fish. When you hit it with a Starfish, it will become another fish.
Today we use the scratch stage to simulate an underwater world, and then add the Star sprite and fish sprite to make a
â ˘
AIJhit the magic fishâ ˘
A˙I mini game.
Click on the green flag to Start. Press the space bar to launch the Starfish.
Or click Hit the magic fish, and then learn online tutorial on the Scratch official website.
Required Components
• A RasPad 3
• Scratch 3 (either¢aonline¢aor¢aoffline)
You Will Learn
• Let the sprite bounce when it hits the edge of the stage.
• Change the coordinates to make the sprite move.
• Make a timer.
• Use the broadcast to tell the sprite what happened.
Lesson Guide
This fish is swimming.
Added
Fish
sprite,
Star
sprite and
Underwater1
backdrop image.
7.7. Scratch Projects
159
Summary of Contents for RasPad 3
Page 1: ...SunFounder RasPad 3 www sunfounder com May 10 2022 ...
Page 2: ......
Page 6: ...SunFounder RasPad 3 2 Contents ...
Page 8: ...SunFounder RasPad 3 4 Chapter 1 SAFETY NOTICES ...
Page 9: ...5 ...
Page 10: ...SunFounder RasPad 3 Chapter 2 COMPONENTS LIST 6 Chapter 2 COMPONENTS LIST ...
Page 16: ...SunFounder RasPad 3 Connect the USB C cable 12 Chapter 3 ASSEMBLY INSTRUCTIONS ...
Page 23: ...SunFounder RasPad 3 19 ...
Page 24: ...SunFounder RasPad 3 20 Chapter 3 ASSEMBLY INSTRUCTIONS ...
Page 38: ...SunFounder RasPad 3 34 Chapter 4 QUICK USER GUIDE ...
Page 50: ...SunFounder RasPad 3 46 Chapter 6 INTERFACES INTRODCTION ...
Page 51: ...SunFounder RasPad 3 6 3 Connect Headphones or Other Screens 47 ...
Page 52: ...SunFounder RasPad 3 48 Chapter 6 INTERFACES INTRODCTION ...
Page 77: ...SunFounder RasPad 3 Select the device type ESP32 for example 7 4 Home Assistant 73 ...
Page 129: ...SunFounder RasPad 3 7 7 Scratch Projects 125 ...
Page 143: ...SunFounder RasPad 3 Also let it appear at the right time 7 7 Scratch Projects 139 ...
Page 146: ...SunFounder RasPad 3 142 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 151: ...SunFounder RasPad 3 Let it change the color and size randomly 7 7 Scratch Projects 147 ...
Page 156: ...SunFounder RasPad 3 152 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 157: ...SunFounder RasPad 3 7 7 Scratch Projects 153 ...
Page 162: ...SunFounder RasPad 3 158 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 175: ...SunFounder RasPad 3 7 7 Scratch Projects 171 ...
Page 181: ...SunFounder RasPad 3 Copy out the second Trees 7 7 Scratch Projects 177 ...
Page 182: ...SunFounder RasPad 3 178 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 188: ...SunFounder RasPad 3 184 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 202: ...SunFounder RasPad 3 198 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 204: ...SunFounder RasPad 3 200 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...
Page 222: ...SunFounder RasPad 3 218 Chapter 7 RASPAD PROJECTS AND ACTIVITIES ...