Page 88 - TP-Play_V-2.0_Book-5
P. 88

Now, follow the given script:































              The butterfly changes colour and size when it touches the colours 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 game in which when we touch the sprite with the mouse pointer, it
            begins rotating.

            Create the given script:
































             88       Play (Ver. 2.0)-V
   83   84   85   86   87   88   89   90   91   92   93