In this add-on, you’ll learn how to add another sprite to your sports commentary program.
To make room for another athlete, move the sprites in the program closer together.
If any sprites are still too big for your project, shrink them to make them smaller.
Click on the “shrink” tool in the top bar, then on the sprite. You can also usethe “grow” tool to make a sprite bigger.
To add a sprite from the Scratch library to your project, click “choose new sprite fromlibrary.” There are two different types of sprites in Scratch: bitmap and vector.
For this add-on, select a vector sprite so you can move, rotate, or reshape it for aroutine. Once you’ve selected your sprite, click “OK.”
You'll make the new sprite show off its moves. Give it the same code blocks as the othersprites. To copy code from one sprite to another, click the sprite with the code, then dragthe stack on top of the new sprite. Click on the sprite you just selected and you’llsee the copied code. Click the dropdown menu, and select the number 4.
Now, the new sprite also has the code to make it demonstrate its moves when the number 4 is pressed!
Next, click on the sports commentator sprite. Change the “say” block to include allsprites under the “when flag clicked” event. In this example, the text says “Press1, 2, 3, or 4 to see an athlete perform.”
Go to the “costumes” tab to animate your new sprite. Right-click the costume, selectduplicate for as many poses as you want, then use the tools in the costume editor to changethe look of the costume. To draw your own sprite instead of using onefrom the library, click “paint new sprite.” Next, click “convert to vector” to drawa vector sprite instead of a bitmap one. Vector sprites are easier to animate than bitmapsprites. Here's the game plan:Add another athlete to your program, either from the Scratch library or by drawing yourown. Copy the code to the new sprite.
Customize the different poses in the costume editor.
Choose an Add-On
Add music that will play while the athletes showcase their moves.
Showcase your Moves
Program the athletes to get active by moving around the stage.
Make the sprites change colors similar to how athletes wear different jerseys.
In the Zone
Program the sports commentator to give the athletes a performance boost.