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 Time to Celebrate!

Transcript

Today, you programmed a winning condition for your game. Now, take your project a step further by adding a crazy winner celebration. This video will give you a few ideas for a winning celebration, but feel free to come up with your own ideas.

To make the sprite cheer, use a “say” block.

Make the sprite change colors when it wins with a “change color effect” block. Click the blockstack to test. Cool! The sprite says the cheer and changes color.

Program the sprite to repeatedly change colors with a repeat loop. Click the blockstack to test. Awesome. Tinker with the value in the repeat loop.

Make the sprite jump to random places on the screen with "go to" and "pick random" blocks.

Test your code often so you can find and fix any bugs early.

Create a stamp of the sprite with a "stamp" block.

If the sprite has multiple costumes, make it look like it’s dancing using a “repeat block,” “next costume,” and a “wait” block.

These are just a few ideas to get you started. Feel free to come up with your own winner celebrations. Now, it’s your turn: Program the sprite to celebrate if it wins the game.

Consider programming the sprite to cheer, repeatedly change colors, jump to random places, or stamp. Use your creativity to create your own unique winning celebration!

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.
arrow_backward Back
Next arrow_forward
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!