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)
Learn how to earn the "Bust a Move" badge.
Learn how to earn the "Energy Burst" badge.
Learn how to earn the "Multiple Musicians" badge.
Learn how to earn the "Clone Crazy" badge.
Modify your project so you can vote for a talent show contestant.
Make the winning performer celebrate their victory!
Sign in to track your progress and earn badges