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 Add Another Athlete

Transcript

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 use the “grow” tool to make a sprite bigger.

To add a sprite from the Scratch library to your project, click “choose new sprite from library.” 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 a routine. 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 other sprites. To copy code from one sprite to another, click the sprite with the code, then drag the stack on top of the new sprite. Click on the sprite you just selected and you’ll see 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 all sprites under the “when flag clicked” event. In this example, the text says “Press 1, 2, 3, or 4 to see an athlete perform.”

Go to the “costumes” tab to animate your new sprite. Right-click the costume, select duplicate for as many poses as you want, then use the tools in the costume editor to change the look of the costume. To draw your own sprite instead of using one from the library, click “paint new sprite.” Next, click “convert to vector” to draw a vector sprite instead of a bitmap one. Vector sprites are easier to animate than bitmap sprites. Here's the game plan: Add another athlete to your program, either from the Scratch library or by drawing your own. Copy the code to the new sprite.

Customize the different poses in the costume editor.

Choose an Add-On
play_circle_filled
Music
Add music that will play while the athletes showcase their moves.
arrow_forward
play_circle_filled
Showcase your Moves
Program the athletes to get active by moving around the stage.
arrow_forward
play_circle_filled
Changing Colors
Make the sprites change colors similar to how athletes wear different jerseys.
arrow_forward
play_circle_filled
In the Zone
Program the sports commentator to give the athletes a performance boost.
arrow_forward
play_circle_filled
Compliment Competitors
Have the sprites admire one another's moves.
arrow_forward
play_circle_filled
Add Another Athlete
Add another athlete to the project.
arrow_forward
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!