Skip to content

Please update your browser

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

Choose an Add-On
play_circle_filled
It's How You Play the Game
Add a winning condition to your game.
arrow_forward
play_circle_filled
Danger Sprite
Add a sprite that causes you to lose points if you or your friend touches it.
arrow_forward
play_circle_filled
Designer
Learn how to design the sprites.
arrow_forward
play_circle_filled
Blocking (Part 1 of 2)
Force the players to jump over each other.
arrow_forward
play_circle_filled
Blocking (Part 2 of 2)
Force the players to jump over each other.
arrow_forward
play_circle_filled
Make Noise
Add sound to your project.
arrow_forward
play_circle_filled
Hello Friend
Make the sprites react when they touch each other.
arrow_forward
  • 1. Variables Are Everywhere!
  • 2. Let's Move!
  • 3. One Falling Object
  • 4. Many Falling Objects
  • 5. Keeping Score
  • 6. Shared Score
  • 7. Add-Ons
  • 8. Reflection
  • 9. Wrap-up: Work Together to Win
  • 10. Wrap-up: Share Your Project
  • 11. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Transcript

This video introduces adding sound to your project.

It won’t tell you exactly where to put the blocks, however, so use your courage and persistence!

If you need help, ask a neighbor.

If you can’t figure it out together, put up your sticky and ask a Guru!

To program your project to play a sound, you will first need to add that sound to your project.

To do that, click on the “sounds” tab, then “choose sound from library.”

To hear the sound, click on the play button next to it.

When you find a sound that you like, click on the sound, then click “OK.”

Click back on the “scripts” tab to go back to programming.

Click on the “sounds” tab.

There, you will find the “play sound” and “play sound until done” blocks.

The “play sound” block starts playing the sound, then immediately runs the code after it.

The “play sound until done” block waits until the sound finishes playing before continuing on to the next block.

To make the sound play continuously inside a loop, use the “play sound until done” block.

Play sounds when players catch objects, when objects appear, or constantly during the game.

You can even add different sounds for different objects!

The cool thing about computer science is that you have the power to create anything in your program.

Now it’s your turn: Add sound effects to your project using the “play sound” or “play sound until done” blocks.

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!