Page 86 - Trackpad_V1_Book 5_Flipbook
P. 86

Cat displays the message “What’s your age?”












                                                                                          We can enter our age
                                                                                           here (Here, we have
                                                                                         entered the age 12) and
                                                                                         click on the Tick button.






                  After we enter our age, the Cat says “I Know your age is 12”.




                          uiz    Bee       Which block is used to ask questions in Scratch?
                                           _____________________________________________________________




                           PROJECT: CHASE THE STARFISH


                  Now, let's create a project using Scratch blocks.

                  CHASE THE STARFISH

                  Step  1       Choose the Starfish sprite under the Animal category from the
                              Library.




                                      Step  2        Choose the Underwater 1 Backdrop from the Library.

                                                  when  clicked
                                                  forever
                                                    glide 1  secs to x: pick random –240  to  240  y: pick random –180  to  180
                  Step  3       Click on the
                              Starfish sprite

                              to make it         when   clicked
                                                  forever
                              active and
                                                    if  touching starfish  ?  then
                              create the
                                                    play sound  pop  until done
                              block stack as

                              shown.               glide 1  secs to x: pick random –240  to  240  y: pick random –180  to  180





                   84   Trackpad (Version 1.0)-V
   81   82   83   84   85   86   87   88   89   90   91