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.

When you find one you like, click on it.

(playful wobbling sound)

You can use any sound you like.

Then, go back to the Scripts tab and open the Swound menu.

Drag out the play sound until done block and check that the sound that 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.

Alright, here's the game plan.

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

Then, figure out where to add the play sound until done block to make your program work.

Choose an Add-On
Keeping Score
Keep track of how long a racer stays alive and display the score.
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!