In this add-on, you will program the sprite
to change its profile picture.
If you click on the profile image sprite,
you will see different costumes
that came with the starter project.
As you click through the different costumes
the sprite on your starter project also changes its costume.
It doesn't make sense for the user
to click through the costumes to change them,
but you can program this to happen using a keypress event.
To start, drag out a Next Costume block from the Looks menu.
Click it to test it out.
This block changes the look of the sprite
by changing its costume.
To keep the user from having to keep clicking the block
to change the costume, add a When Space Key Pressed event.
Click the triangle to change the keypress event.
This example uses the right arrow key,
but use any event that works with your program.
When you test it by clicking the right arrow key,
the sprite changes its costume.
Users are now able to customize the profile page
by changing the look of the Profile sprite.
Now it's your turn.
Click on the Profile sprite,
and program it to change its look
using the Next Costume block
and the When Key Pressed event.
Program a "plus 1" button so users can express that they liked your page.
Add music to your profile page.
Code your profile android to change its look
Program your friend's sprites to respond to your favorite stuff!
Code a surprising action on your profile page!
Sign in to track your progress and earn badges