Page 121 - trackpad v5.1 class 5 flipbook
P. 121

ADDING MORE BLOCKS TO ARROW1


                 Step  1    Drag the when I receive New message block from
                           the Events section and choose the SpinningStopped
                           option from the drop-down list.




                                                 Step  2    Drag an if…then block from the Control section and
                                                            place the touching colour block from the Sensing

                                                            section.

                 Step  3    Click the Color Picker tool to pick the exact colour from the wheel.



























                 Step  4    Now,  drag a  set my  variable  to 0 block  from the
                           Variables section and click on the drop-down arrow to
                           open the list.


                     my variable                   Step  5     Select the Winner option from the list and type the
                     Winner                                  name of the colour.

                     Rename variable
                     Delete the "my variable" variable





                 Step  6    Drag a  broadcast  block  and  click on  the  New
                           Message.












                                                                                          Creating Game in Scratch  119
   116   117   118   119   120   121   122   123   124   125   126