In this add-on, you’ll add some cool video game sounds and background music to your project.
Start by clicking on the “sounds” tab. The android sprite from the starter projectcomes with a bunch of sounds. Select one, then click the “play” button to hear whatit sounds like.
Some sounds are short, so they are especially good for sound effects..
Longer sounds make great background music. To add sound effects to your project, clickthe “scripts” tab. Then, open the “sounds” menu, and drag out a “play sound until done”block.
Click the dropdown menu in this block, and choose the name of a sound to add.
Click the block to test it out. Cool! The sound plays.
Add this block to the main code stack in the spot where the sound should play in your program.
This example places the block at the very beginning, right after the “when flag clicked”block. Click the flag to test it out. Great! Thesound plays, then the android starts talking. Add “play sound until done” blocks tothe different places in your code where you’d like a sound effect to happen..
To add background music that plays while the android talks, drag out a “play sound untildone” block, and select a sound. Then, place a “forever” block from the “control”menu around this block. Add a “when flag clicked” block on top.
The two block stacks that start with the same “when flag clicked” event will run atthe same time. Click the flag to test it out. Awesome! Theproject plays some sweet background music. Now, it’s your turn!
Add sound effects to your project using a “play sound until done” block.
Add background music using the “play sound until done,” “forever,” and “whenflag clicked” blocks.
Choose an Add-On
Program an interesting introduction to your project.
Learn about vector graphics, and edit or draw your own costume.
Learn about bitmap graphics and draw your own pixel character.
Add video game sound effects or music to your project.