Skip to content

Please update your browser

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

arrow_back Ajouter un autre lutin

Transcript

In this video, you will learn how to add another character to your story.

First, go to “choose sprite from library” to pick a second character. This example uses a crab, but you can choose any character you like.

Now, think about how that character might react to the same message received by the dinosaur. In this example, the crab doesn’t like the dancing, so a sad costume was added.

To start, program the other character’s reaction to one of the messages. In this example, the crab switches to a sad costume and says “stop dancing!” Test the code to make sure it does what you want it to do.

Next, make that reaction happen when the narrator sends the message. In this example, the crab should be sad and say “stop dancing!” when it receives the message “Dancing.”

Test your code by clicking on the green flag to make sure the right reaction happens in response to the message.

Finally, make your new character respond to the other messages. In this example, when the main character breathes fire, the crab walks away because it doesn't want to be cooked.

Make sure to test the code for the reaction, then add the “when I receive” block to test the whole program.

Now, it’s your turn: Add another sprite.

Program the sprite’s reaction to the narrator’s messages.

Add “when I receive” blocks to receive the messages.

Make the new character start on stage when the flag is clicked.

Choisir une extension
Changement de décor
Dans cette extension, tu vas changer le décor de ton histoire.
Boîte mystérieuse (Part 1 of 2)
Anime l'apparition d'une boîte mystère !
Boîte mystérieuse (Part 2 of 2)
Anime l'apparition d'une boîte mystère !
Animer le narrateur (Part 1 of 2)
Anime le narrateur pour qu’il parle !
Animer le narrateur (Part 2 of 2)
Anime le narrateur pour qu’il parle !
Jouer une chanson
Cette extension va te montrer comment utiliser Scratch pour créer ta propre chanson.
Ajouter un autre lutin
Dans cette extension, tu vas Ajouter un autre lutin à ton histoire pour la pimenter !
arrow_backward Retour
Suivant arrow_forward
Instructions
  1. Choisis une extension, et clique sur "Regarder" pour découvrir comment la créer.
  2. Une fois que tu as terminé une extension, essayes-en une autre !