**Adding Interactive Elements to a Game**
Now that we have set up our game with fish and sharks, it's time to add some interactive elements to make it more engaging. We will start by adding a broadcast message repeat feature. This will allow us to change the color of the shark at regular intervals. To do this, we need to use the "weight" setting in the control panel. So, in the control panel, we will select the weight option and set it to 25 seconds. This means that every 25 seconds, the shark's color will change.
**Color Changing Effect**
Now that we have added the broadcast message repeat feature, let's see how it works. We move back to the big screen and watch as the shark changes color every 25 seconds. This is a simple but effective way to add some visual interest to our game. We can also use different values for this setting to change the frequency of the color change effect.
**Adding a New Character: The Crab**
Next, we want to add a new character to our game - the crab. The crab should be able to move around the screen and bounce off the edges. To do this, we need to use the "forever" setting in the motion control panel. So, we select the foreverse option and set it to 5 steps. This means that the crab will move in a zig-zag pattern across the screen.
**Crab Movement and Bouncing Off Edges**
Now that we have added the crab's movement to our game, let's see how it works. We start the game by clicking on the play button. The crab starts moving across the screen, bouncing off the edges as it goes. This is a fun and challenging element to add to our game.
**Changing the Crab's Direction**
Next, we want to change the direction of the crab's movement. To do this, we need to use the "rotation" setting in the motion control panel. So, we select the rotation option and set it to 40 degrees. This means that the crab will move in a curved path across the screen.
**Crab Movement in All Directions**
Now that we have changed the crab's direction, let's see how it works. We open up the game again and watch as the crab moves across the screen in a curved path. The crab is now moving in all directions - left, right, up, and down.
**Adding Fish Movement**
Next, we want to add movement to our fish. To do this, we need to use the "weight" setting in the motion control panel. So, we select the weight option and set it to 50%. This means that the fish will move at half speed across the screen.
**Fish Movement with Finger Input**
Now that we have added movement to our fish, let's see how it works. We click on the play button again and watch as the fish moves across the screen in response to our finger input. The fish is now moving along with our finger, creating a fun and interactive element to our game.
**Adding Difficulty to the Game**
Next, we want to add difficulty to our game by introducing new challenges for the player. One way to do this is to make the crab more difficult to catch. To do this, we need to use the "forever" setting in the motion control panel and set it to 5 steps. This means that the crab will move in a zig-zag pattern across the screen, making it harder for the player to catch.
**Crab Movement with Random Positions**
Now that we have added difficulty to our game, let's see how it works. We start the game again by clicking on the play button. The crab starts moving across the screen in a zig-zag pattern, but now its position is also random. This adds an extra level of challenge to the game.
**Shark Movement and Catching Fish**
Next, we want to add movement to our shark. To do this, we need to use the "weight" setting in the motion control panel. So, we select the weight option and set it to 25 seconds. This means that every 25 seconds, the shark's color will change.
**Shark Movement with Finger Input**
Now that we have added movement to our shark, let's see how it works. We click on the play button again and watch as the shark moves across the screen in response to our finger input. The shark is now moving along with our finger, creating a fun and interactive element to our game.
**Shark Catching Fish**
Now that we have added movement to our shark, let's see how it works. We click on the play button again and watch as the shark moves across the screen in response to our finger input. The shark is now moving along with our finger, creating a fun and interactive element to our game. When the shark touches the crab, the score resets to zero.
**Final Touches**
Finally, we want to add some final touches to our game. We will use the "rotation" setting in the motion control panel to change the direction of the crab's movement. We select the rotation option and set it to 40 degrees. This means that the crab will move in a curved path across the screen.
**Game Testing**
Now that we have added all the interactive elements to our game, let's test it out. We start the game again by clicking on the play button. The shark moves across the screen in response to our finger input, while the crab bounces off the edges and changes direction randomly. This is a fun and challenging game that will keep players entertained for hours.
**Conclusion**
In this tutorial, we have learned how to add interactive elements to a game using our control panel. We added a broadcast message repeat feature to change the color of the shark at regular intervals, and introduced new challenges by making the crab more difficult to catch. We also added movement to both the fish and shark, and created a fun and interactive element to our game. With these interactive elements in place, we have created a fun and challenging game that will keep players entertained for hours.