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!

Up for a challenge?

Program the other android as well.

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 blocks you use to create the android’s reaction.

Choose an Add-On
play_circle_filled
It's How You Play the Game
Add a winning condition to your game.
arrow_forward
play_circle_filled
Danger Sprite
Add a sprite that causes you to lose points if you or your friend touches it.
arrow_forward
play_circle_filled
Designer
Learn how to design the sprites.
arrow_forward
play_circle_filled
Blocking (Part 1 of 2)
Force the players to jump over each other.
arrow_forward
play_circle_filled
Blocking (Part 2 of 2)
Force the players to jump over each other.
arrow_forward
play_circle_filled
Make Noise
Add sound to your project.
arrow_forward
play_circle_filled
Hello Friend
Make the sprites react when they touch each other.
arrow_forward
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!