In this video, you will create the message that tells the main character to start walking.
Click on the narrator sprite to make sure you’re programming it. Drag out the “broadcastand wait” block. Click on the dropdown. There’s no message for “walking,” soclick on “new message” to create one. Name the message. It will broadcast when themain character should walk, so name it something that describes that action, like “Walking.”
Next, program the main character to receive the message. Click on the main character.
Go to the events menu, and find the “when I receive” block. When the main characterreceives the walking message, it should run the code you just wrote and start walking.
Place the “when I receive” block above the code that makes the main character walk.
To make sure the main character is responding to the right message, check that “Walking”is selected in the dropdown menu. Click the green flag to test the code.
When the narrator tells the main character to walk, it should start moving. Great job!
Finally, program the narrator to say something to explain why the main character is walking.
Decide where the character is going. The character could even meet someone along the way.
Now, its your turn: Add a “broadcast” block with a new messageto the narrator’s code. Place a “when I receive” block with thatmessage at the top of the code to make the main character walk.
Make the narrator explain why the main character is walking.
On the next page you’ll find some add-ons to help spice up your characterization story.