Page 89 - Dig_CodeAI_V2.1_Class_5
P. 89
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 87

