Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

Transcript

To earn the Bust a Move Badge, you need to add a sprite that dances and plays music when clicked, but stops when the space bar's pressed.

When the sprite is clicked, it should play a sound until the sound is done, and then repeat it.

The music should keep playing until the space bar is pressed.

You will use the next costume block to make the sprite dance.

This means you should only choose a sprite that has multiple costumes.

You'll see a list to choose from at the end of this screen cast.

There are two When This Sprite Clicked blocks here, because you want the sprite to start dancing, and playing music when it is clicked.

So, one block stack starts the dancing, and the other starts the music.

If you put both the play music and next costume blocks under one When This Sprite Clicked block, the sprite will play music, then dance, but you want the sprite to do both of them at the same time.

When the space bar is pressed, all of the blocks or other code scripts for this sprite should stop running.

When the sprite's talent show time is over, it should stop doing anything at all.

You can see some of the code you need to create here, but you have to find some of their blocks.

That's where the scavenger hunt comes in.

As long as your sprite dances and plays music when clicked, and stops on everything when the space bar is pressed, you will earn the Bust a Move Badge.

Remember, it's important to test your code often while your working to make sure it's doing exactly what you want it to.

Now it's your turn.

(upbeat guitar strumming)

Choose an Add-On
Bust a Move
Learn how to earn the "Bust a Move" badge.
Energy Burst
Learn how to earn the "Energy Burst" badge.
Multiple Musicians
Learn how to earn the "Multiple Musicians" badge.
Clone Crazy
Learn how to earn the "Clone Crazy" badge.
Vote on the Talent Show (Advanced)
Modify your project so you can vote for a talent show contestant.
Win the Show! (Advanced)
Make the winning performer celebrate their victory!
arrow_backward Back
Next arrow_forward
Instructions
  1. See the talent show characters you can build.
  2. Find out what badges you can earn.