Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

Transcript

This video will describe how to make your characters talk to each other when they touch.

It's a little harder than most add-ons because it won't tell you exactly where to put the blocks.

Use your courage and persistence!

Computer scientists rarely get things right on their first try.

Click on one of the androids.

To make it check if it is touching the other android, use an If () Then block and a touching condition.

To keep checking over and over again, use a loop.

To start checking from the beginning of the game, place a when flag clicked block above the loop.

Inside of the If () Then, make the blue android react any way you like.

One of the cool things about computer science is it lets you be in control of your own programs.

You get to decide what the android does.

You can make it say yellow to the other android using the say block, make it wave by changing its costume, or anything else you come up with.

Now it's your turn.

Program one android to respond when it's touching the other using the when flag clicked, If () Then, touching, and forever blocks, as well as any other block you used to create the android's reaction.

Choose an Add-On
It's How You Play the Game
Add a winning condition to your game.
Danger Sprite
Add a sprite that causes you to lose points if you or your friend touches it.
Designer
Learn how to design the sprites.
Make Noise
Add sound to your project.
Hello Friend
Make the sprites react when they touch each other.
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!