{% trans 'Watch it here now.' as msg_meta_extra} Choose the Music - Dance Party - CS First Skip to content

Please update your browser

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

arrow_back Choose the Music

Transcript

(upbeat drums)

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?

Great.

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.

(beat box)

Then, select the new sound from the dropdown menu.

Test it out by pressing different keys and see if the new sound plays.

(beat box)

♪ Ya ♪ (beat box)

♪ Ya ♪ (beat box)

♪ 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.

Choose an Add-On
Invite Friends to the Dance Party
Add another sprite to the dance party for Cassy to dance with.
Add and Change the Backdrop
Add new backdrops so that Cassy can dance around the world.
Do the Twist
Add a graphic effect that makes Cassy look like she is twisting.
Tell a Story
Add a story to your dance party using the "say" block.
Choose the Music
Add extra music to your dance party and allow the user to control the song that plays.
Bust a Move
Let the user turn the dancer by pressing different keys.
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!