In this add on, you will add extra music
to your dance party so that the user can play
different sound effects similar to a DJ.
To get started, select the stage in your project,
and go to the sounds tab.
You should already have one sound uploaded to your project.
Now you can choose another sound to play
from the audio library.
♪ Ya ♪
Once you've found a sound that you like,
click to add it to your project.
Click on the events menu and drag out a,
when key pressed event block into your scripts area.
Set it to any key you like.
For example, the space key is probably a good key to use.
From the sound menu, pull out a, play sound block,
and connect it to your key press event.
Select the new sound that you just uploaded to your project
from the drop down menu.
Test it out.
♪ Ya ya ♪
Does it play the sound when you press the space key?
You can save a lot of time by duplicating your block stack
and changing the sounds that are played
rather than recreating the entire block stack again.
Right click on the top of your block stack
and select duplicate.
Place the copy of your blocks next to the original stack.
Now, all you have to do is select the different key
from the dropdown menu, go to the sounds tab,
and choose another sound to play from the audio library.
Then, select the new sound from the dropdown menu.
Test it out by pressing different keys
and see if the new sound plays.
♪ Ya ♪
♪ Ya ya ♪
Now it's your turn.
Choose at least one more sound from the audio library.
Use the key press event and the play sound block
to play different sounds when different keys are pressed.
Add another sprite to the dance party for Cassy to dance with.
Add new backdrops so that Cassy can dance around the world.
Add a graphic effect that makes Cassy look like she is twisting.
Add a story to your dance party using the "say" block.
Add extra music to your dance party and allow the user to control the song that plays.
Let the user turn the dancer by pressing different keys.
Sign in to track your progress and earn badges