2. Utiliser les actions pour en savoir plus sur un personnage
In this video, you’ll learn about the main character through its actions, and you willchoose the order in which it will perform those actions.
First, look at the different actions the main character can do. The main character in eachstarter project has a unique set of actions it can perform in response to what the narratorsays. In this example, when the main character receivesthe message “dance,” it switches between two different costumes 10 times. This makesit look like it’s dancing. Click on the code to watch this happen.
The main character’s actions give you an idea of its personality. Is it quick to anger?
Happy-go-lucky? A courageous heroine or hero? Maybe it’s just a having a bad day?
Now, develop the narrator’s story about this character by writing the narrator’sdialogue. Later, you’ll use the main character’s reactions to illustrate the narrator’s story.
But, for this video, use the “say for 2 seconds” blocks you’ve used in previousdays to make the narrator tell a story about the main character. The next video will showyou how to program the narrator to send, or broadcast, messages to the main character.
Now, it’s your turn: Program the narrator to tell a story aboutthe main character. Use the specific character reactions included in the starter projectyou chose to guide what the narrator will say and develop the character in your story.
Test your code often, so you catch bugs along the way.