Page 81 - 2616_V iCode_C-5
P. 81

Now, follow the given script:

                 The fish changes colour and size when it touches the colors selected in the touch
                 block.  Similarly, you can  create scripts  with  two  Sprites,  and they change colour
                 when they touch each other.


































                 Creating a Game


                 Let us create a ping-pong game.

                 Create the given script.






























                                       Crystal Sprite                       Crystal Sprite


                                                                           Advanced Blocks & Game Creation    79
   76   77   78   79   80   81   82   83   84   85   86