- crwdns1781896:0crwdne1781896:0 - crwdns1781892:0crwdne1781892:0
- crwdns1782010:0crwdne1782010:0 - crwdns1782006:0crwdne1782006:0
- crwdns1782118:0crwdne1782118:0 - crwdns1782114:0crwdne1782114:0
Let's have a dance party!
make a new block into the workspace, and connect it inside the
setup block to create your first dancer.
- You can also click the lightbulb to the left if you want more information or extra challenges.
Let's get this moose dancing!
Drag out the new_dancerFloss-1 block onto the workspace. Connect it underneath the 4"measures" block. Your dancer should start a new move after the fourth measure.
Measures are used to count time in music. In this tutorial, a measure is four beats long.
Now we're grooving!
Add a 6"measures" block to your workspace. Make the dancer start a new move after 6 measures.
This dance needs some flash!
Look for a new block in your toolbox that adds a background effect behind your dancer. Watch the effects change in time with the music!
Use another new block to make the dancer change moves every 2 measures!
(Random)tells the dancer to perform a different move every time the code is run.
We need more dancers!
Create a backup dancer called
backup_dancer1 to dance with the cat.
Every dancer has a set of properties that control what it looks like.
You can make it look like a dancer is in the background by making their size smaller. Can you make both backup dancers the same size?
Dancers have a "tint" property that can add a layer of color. Try changing the tint of one of your dancers. * Tints will mix the color you choose with the colors of the dancer.
Now we know how to change a dancer's properties. We can also make the same properties automatically respond to the music using this block: right_unicorn "scale" "bass"
This program uses the music's "bass" volume (the low sounds) to control one dancer's height. Can you make the other dancer respond to the music too?
The block lets you run code when the up arrow is pressed.
You might change the dance move, change a dancer's properties, or do a quick move just once. Be creative and look out for new blocks!
It's time for a dance-off! The Cat dabs when you press the left arrow key. Make the Robot "drop" once when you press the right arrow key, and "floss" once when you press the up arrow key.
Use the keys to get the Robot to do the drop-floss-drop-floss as fast as you can!
Check out this block:
6 "DUCK" "circle"
Now you can create a bunch of dancers at once!
Try using some of the "all ducks" blocks to write code that will make all of the ducks dance together.
Get your groove on! Create a dance of your own to share with your friends.