Page 88 - 2403_Trackpad_V5.1_C6_Fb
P. 88
1. Which block is used to ask questions in Scratch?
______________________________________________________
uiz Bee 2. Write the Repeat command to draw a pentagon in Scratch.
______________________________________________________
CREATING GAMES IN SCRATCH
Now, let's create a project using Scratch blocks.
CHASE THE STARFISH
when clicked
forever
glide 1 secs to random position
when clicked
forever
if touching starfish ? then
play sound pop until done
glide 1 secs to random position
COLLECT THE BANANAS IN THE BOWL
when clicked when clicked
go to x: –1 y: 103 forever
set Score to go x to mouse x
forever if touching Bananas ? then
if touching Bowl ? then play sound water drop until done
change Score by 1
go to x: pick random –235 to 235 y: 103
change y by -5
if y position < –149 then
say Game Over! for 2 secs
stop all
86 Premium Edition-VI

