Page 108 - 2611_SmartGPT Pro V(5.0) C-5
P. 108

CREATING A VARIABLE FOR THE GAME


                  To create a variable, follow the given steps:



                       2  Choose Make
                      a Variable from                                        3  Type Winner in the
                      the Variables                                          New variable name box.
                      section.













                       1  Click on
                      Variables block.



                                                          4  Select For all sprites option and then click on OK button.



                  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.
























                  106   Computer Science (V5.0)-V
   103   104   105   106   107   108   109   110   111   112   113