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

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.

Choose an Add-On
+1 Button
Program a "plus 1" button so users can express that they liked your page.
Post a Shoutout
Code your program so that users can give a shoutout or share a post.
Pump the Jams
Add music to your profile page.
Change Profile Picture
Code your profile android to change its look
Ping
Program your friend's sprites to respond to your favorite stuff!
Hidden Feature
Code a surprising action on your profile page!
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!