
TS7-Pro 7-inch Touch Screen
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.
5.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
“hit the magic fish” mini game.
Click on the green flag to Start. Press the space bar to launch the Starfish.
Or click
, and then learn online tutorial on the Scratch official website.
Required Components
• A Screen
• Scratch 3 (either online or offline)
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.
164
Chapter 5. PROJECTS AND ACTIVITIES
Summary of Contents for TS7-Pro
Page 1: ...TS7 Pro 7 inch Touch Screen www sunfounder com Jun 30 2022 ...
Page 2: ......
Page 4: ...8 Copyright Notice 231 ii ...
Page 6: ...TS7 Pro 7 inch Touch Screen 2 CONTENTS ...
Page 10: ...TS7 Pro 7 inch Touch Screen 6 Chapter 1 HARDWARE INTRODUCTION ...
Page 12: ...TS7 Pro 7 inch Touch Screen 8 Chapter 2 ASSEMBLY INSTRUCTIONS ...
Page 32: ...TS7 Pro 7 inch Touch Screen 28 Chapter 3 QUICK USER GUIDE ...
Page 40: ...TS7 Pro 7 inch Touch Screen 36 Chapter 4 ADDING PERIPHERAL DEVICES ...
Page 56: ...TS7 Pro 7 inch Touch Screen 3 Insert the USB Bridge 52 Chapter 4 ADDING PERIPHERAL DEVICES ...
Page 59: ...TS7 Pro 7 inch Touch Screen 4 6 Using as Extension Screen for PC 55 ...
Page 60: ...TS7 Pro 7 inch Touch Screen 56 Chapter 4 ADDING PERIPHERAL DEVICES ...
Page 85: ...TS7 Pro 7 inch Touch Screen Select the device type ESP32 for example 5 4 Home Assistant 81 ...
Page 135: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 131 ...
Page 151: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 147 ...
Page 155: ...TS7 Pro 7 inch Touch Screen Set the balloon to a random position 5 7 Scratch Projects 151 ...
Page 161: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 157 ...
Page 162: ...TS7 Pro 7 inch Touch Screen 158 Chapter 5 PROJECTS AND ACTIVITIES ...
Page 167: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 163 ...
Page 180: ...TS7 Pro 7 inch Touch Screen 176 Chapter 5 PROJECTS AND ACTIVITIES ...
Page 186: ...TS7 Pro 7 inch Touch Screen Copy out the second Trees 182 Chapter 5 PROJECTS AND ACTIVITIES ...
Page 187: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 183 ...
Page 193: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 189 ...
Page 197: ...TS7 Pro 7 inch Touch Screen Then we add the Pen extension function 5 7 Scratch Projects 193 ...
Page 207: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 203 ...
Page 209: ...TS7 Pro 7 inch Touch Screen 5 7 Scratch Projects 205 ...
Page 234: ...TS7 Pro 7 inch Touch Screen 230 Chapter 7 FAQ ...