Skip to content
Transcript

(Instructor) In this video you'll program music in the background to set the mood and make the game more entertaining.

To start, click the stage.

To choose a music loop for your game click the sound tab, add sound from library, test sounds so you can find the sound that works best for your program.

(electronic sounds play)

Program the sound to play by clicking the sounds tab.

Add a play sound until done block.

Program the music to play continuously once the game starts with one flag clicked and forever blocks.

This now reads, when the flag is clicked, play the whole sound until it's done then repeat forever.

Click the flag to test.

(tranquil music)

Great, the music loop plays in the background.

(tranquil music)

Now it's your turn.

Choose a music loop for your game and make the sound play forever using forever, play sound until done, and when flag clicked blocks.

Experiment with different sounds and add more block stacks to play different sounds at the same time.

Choose an Add-On

Time to Celebrate!

Create a wild winning celebration using some of these ideas.

Moving Platforms

Make your game more challenging by creating moving platforms.

Shrinking Platforms

Create a shrinking platform to increase your game's difficulty.

Splash! You Lose

Create a way for the player to lose in your game.

Add Some Tunes

Add some background music to your game.

Bug Fix: Land on Your Feet...or Not

Fix the bug that allows things other than a sprite's feet to keep it on a platform.

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!
Attributions
  • The song “Magic Marker” is © YouTube-- CC-BY-SA 4.0 does not apply.