The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1

(^90) THE OFFICIAL RASPBERRY PI BEGINNER'S GUIDE
touching color? Sensing block in its diamond-shaped gap. To choose the correct colour, click
on the coloured box at the end of the Sensing block, then click on the yellow bull’s-eye of your
target on the stage.
when clicked
broadcast new arrow
whenIreceive new arrow
gotox: -150y: -150
setsizeto 400 %
forever
glide pickrandom -150 to 150 y: pickrandom -150to 150
when space keypressed
stop other scripts in sprite
repeat^50
changesizeby -10
if touchingcolor then
0.5secstox:

Free download pdf