Sports commentators don’t stop talking when the athletes start performing! In this video,you will make the commentator talk while the athletes perform.
First, write the commentary for the first athlete. Use “say” blocks. This examplesays “Whoa!! Reid starts it off with some crazy moves!”
Next, the commentator should start talking at the same time as the athlete does his orher moves, so add the same event block to make the commentator start talking. From the“events” menu, place a “when key pressed” block above the commentary for the first athlete.
In the example, the first athlete starts with the “one” key, so click the dropdown toselect the "one" key or whichever you chose. Now the commentator and athlete both do somethingwhen the key is pressed. Press the key. The commentator talks and theathlete performs at the same time. Pretty cool!
Do this for each of the other athletes. Add a new "say" block to the commentator's script,write the commentary for the athlete, then add the matching event to start the commentaryand the performance. Each time you add new code, test it to makesure it works. Computer scientists might make mistakes as they create code, so they frequentlytest small pieces of their code to find mistakes and fix them along the way. Mistakes are oneway computer scientists like you learn! Finally, go to the project page to get yourproject ready for the world. Click "see project page." Give the project a creative title,then add instructions so others know how to use your creation. In "notes and credits,"you can thank your teammates or leaders. Then, to share your project with the Scratch community,click "share." Here’s the game plan:Add commentary for each athlete. Start the commentary with the same event thatmakes the athlete perform. Then, complete and share your project on theproject page.
When you are finished with these steps, return to this page and click the "next" arrow tolearn about add-ons you can build for your project.