EasyManua.ls Logo

SunFounder TS-10 - Page 147

Default Icon
213 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder TS-10 10.1-inch Touch Screen
The y coordinate we set for Fish is 120) and then return.
NowIt looks better.
Fish hit by a Star.
After the Star rises, before returning to the bottom, you need to use a touch. . . block to determine whether it hits the
Fish.
When the Star sprite hits the Fish sprite, we need to tell the Fish sprite about this and let it do the corresponding
behavior-change its shape.
We set up a “Hit” broadcast. This broadcast will tell the entire program that something called “Hit” has happened. All
sprite and even the backdrop can hear this broadcast and respond accordingly.
5.7. Scratch Projects 143

Related product manuals