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 Crash Sound

Transcript

In this add-on, you will add a sound that plays if the racer crashes with an obstacle.

This video will show you which block to use to play a sound. Then, you’ll use what you’ve learned so far to figure out where to put it in your program.

Select the racer sprite, then open the “sounds” tab. Click the “Choose sound from library” button that looks like a megaphone. Click the play buttons next to a sound to hear it.

When you find one you like, click on it, then click “OK.” This example will use the sound “scream-female,” but you can use any sound you like.

Then, go back to the scripts tab, and open the “sound” menu. Drag out the “play sound until done” block, and check that the sound you just added is selected in the dropdown menu.

It’s up to you to figure out where to place this block to make the sound play if the racer touches an obstacle. Here’s the gameplan!

Find a sound to play if the racer crashes with an obstacle.

Figure out where to add the “play sound until done” block to make your program work.

Choose an Add-On
Start Screen
Add a starting screen with instructions for your game.
Keeping Score
Keep track of how long a racer stays alive and display the score.
Cheer On
Create a sprite that cheers on the racer.
Extreme Tricks
Program your racer to do a cool trick at the press of a button.
Power Ups
Create a power up that shrinks the racer.
Crash Sound
Add a sound that plays when the racer crashes into an obstacle.
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an add-on, and click "Watch" to learn how to customize your project.
  2. When you finish, come back to the add-ons screen and try another add-on!