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

To divide the circle, follow the given steps:




















                    1  Select the       2  Use the Line tool to slice the   3  Click on the Fill tool to fill
                    Line tool.         circle into four sections.          different colours in each section.





                            ADDING ONE MORE SPRITE

                  We need one more sprite in the shape of an arrow that will point to the

                  wheel to show which section has been chosen. To add one more sprite,
                  Click on Add a Sprite button and select Arrow1 sprite from the library.
                                                                                                            Arrow1


                            CODE THE WHEEL SPRITE

                  Now, after adding the sprites and the wheel, we will add the following code for the wheel.

                  To add the code, follow the given steps:
                  Step  1    Click on the Wheel sprite and make it active.

                  Step  2    Click on the Code tab and create the adjoining block stack.































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