Page 89 - Computer Genius Class 05
P. 89

No    ollo  the gi en script
                 The fish changes color and si e  hen it touches the colors selected in the touch  loc .

                 Similarly, you can create scripts with two sprites, and they change color 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    87
   84   85   86   87   88   89   90   91   92   93   94