In this add on you will program
the sprite to celebrate your cause by dancing.
A lot of viral videos include dancing.
Gangnam Style, the Hamster Dance,
and What Does the Fox Say are a few examples.
This video will give you some ideas for how
to program your dance celebration.
To start pick the sprite that will start the celebration.
Choose a sprite that is already in your project
or add a new sprite.
If you add a new sprite,
add a When This Sprite Clicked event
with a Broadcast block under it.
Click the drop down menu, select New Message,
and call the message something like Celebrate.
Add a When I Receive block
and choose the message you just created
from the drop down menu.
Under this, add blocks to make the sprite dance.
You might use Next Costume, Change Costume,
Glide, and Wait blocks.
Experiment with using different blocks
and entering different numbers in the Glide and Wait blocks.
To make the other sprites dance, add When I Receive blocks
to their scripting areas
and add code to make them dance.
You don't have to use
the same dance blocks for every sprite.
Try out different things until you get an effect you like.
Now it's your turn.
Program a sprite to broadcast a message to dance
and code the sprites to dance
when they receive this message.
Customize your video with different backdrops.
Create an exciting video opening.
Add other characters to support your cause.
Add uplifting music that will start when the play button is pressed.
Change your message based on the user's response to a question.
Get the sprites moving!
Sign in to track your progress and earn badges