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 Jumping Silhouette

Transcript

In this add-on, you will program an audience for your fashion show that will appear at the end, and celebrate! First, you will need a crowd image. To obtain one, download it from the "images" link or copy it to your backpack from the "Additional Images Project" link on the add-on page. To learn how to add images to your Scratch project, watch the "Upload Images" video by clicking on its link on the add-on page.

You may need to use the shrink tool on Scratch to make the new image fit on your screen.

Next, program the sprite to “cheer” or “jump.” Drag the audience sprite to the bottom of the stage where it would start the jump. Then, drag out a “glide” block.

Next, drag the crowd to another space on your stage. Try moving it a bit higher and a little to the right or left. Your crowd should now glide from one x and y coordinate to another every second. Test this out! Cool. Place a forever loop around this code stack to repeat this action. Test it. If your animation is too slow, tinker with the seconds value in the "glide" blocks to make the crowd jump quicker... like 0.3 Make the audience start jumping when your designer enters the stage by receiving a broadcasted a message. The model sprite’s code already has a “broadcast” block at the end of it’s code stack. In this example, the broadcast block sends the message "enter stage".

On your crowd sprite, add a “when I receive” block to the top of your code to make the audience jump when they receive the broadcasted message from the model.

As an added challenge, use “hide” and “show” blocks to program the audience to hide when the green flag is clicked and to show when it receives the message “celebrate.”

Also, try coding your model sprites to do a little celebration of their own when they receive the “Enter Stage” message. Remember to use the “when I receive” block to prompt the code to start when you want it to. Write instructions for how to use your project, and show appreciation for anyone who helped you create it on the Project Page.

Now it’s your turn! Download the “crowd” sprite from the CS First image library. Then, program your crowd to jump using the forever loop and two glide blocks. Lastly, and a “when I receive” event to make your crowd cheer when the designer sprite enters the stage. Ask your neighbor if you need any help, or put up your sticky note to get the attention of your CS First Guru.

Choose an Add-On
play_circle_filled
Snazzy Models
Program an opening curtain for your awards show.
arrow_forward
play_circle_filled
Models Talk
Create a list that your crowd sprites will use whenever they come on stage.
arrow_forward
play_circle_filled
Jumping Silhouette
Program an audience for your fashion show that will appear at the end and celebrate!
arrow_forward
play_circle_filled
Animate Trophy (Challenge)
Code your trophy to do an animation during your program.
arrow_forward
play_circle_filled
Applause and Music (Challenge)
Add a music loop or applause to your program.
arrow_forward
play_circle_filled
Glimmering Backdrop (Challenge)
Make your backdrop flash!
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!