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 Hidden Feature

Choose an Add-On
play_circle_filled
+1 Button
Program a "plus 1" button so users can express that they liked your page.
arrow_forward
play_circle_filled
Post a Shoutout
Code your program so that users can give a shoutout or share a post.
arrow_forward
play_circle_filled
Pump the Jams
Add music to your profile page.
arrow_forward
play_circle_filled
Change Profile Picture
Code your profile android to change its look
arrow_forward
play_circle_filled
Ping
Program your friend's sprites to respond to your favorite stuff!
arrow_forward
play_circle_filled
Hidden Feature
Code a surprising action on your profile page!
arrow_forward
  • 1. Profile Page Introduction
  • 2. Code a Question
  • 3. Store Variables
  • 4. Ask Questions
  • 5. Add-Ons
  • 6. Reflection
  • 7. Wrap-up: Profile Page
  • 8. Wrap-up: Share Your Project
  • 9. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Transcript

In this add on, you’ll program a hidden surprise on your profile page.

This video won’t tell you exactly what your surprise should do, but it will give you some ideas for how to program it.

In this example, the hidden surprise code is for the icon sprite in the top right corner of your profile page.

When you click on the costumes tab for this sprite, you will see some preloaded costumes that you can use.

In the scripts editor, the "switch costume to" blocks will change the Android to a specific costume.

This example also has the sprite repeat changing its size and costume.

The repeat loops are found in the control menu, and the "change size" blocks are found in the looks menu.

Try out other blocks from the motion and looks menus to move the sprite across the page, and reset your project at the end using the “go to,” "switch costume," and "set size to" blocks.

Now it’s your turn.

Choose a sprite that will have the hidden surprise code.

Use different blocks from the motion menu to move the sprite, the looks menu to change the sprite’s costume or appearance, and the control menu to make the sprite repeat an action.

To reset the sprite so that it goes back to its original costume, size, and location, use a “switch costume” and “set size to” blocks from the looks menu, and a "go to" block from the motion menu.

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!