Please update your browser
Your browser version is not supported by this site. CS First may not work properly.
It can be fun to imagine
how different characters would look in different settings.
This add-on will show you how to change
the background of the painting by clicking on it.
The program will switch paintings
by going through different costumes
on the full painting sprite.
First you will need to give
the full painting sprite different costumes.
To obtain one, download it from the images link.
The images will be different costumes
for the full painting sprite.
Click on the costumes tab for that sprite
and add to the costume,
whichever way works for you.
Now your painting sprite has several possible costumes.
To program the project to go
through those different costumes
use the next costume block,
just like you did to create the animation on day two.
Test it by clicking on the block.
To make the scene change,
the user will click on the background sprite.
To make that possible,
place the when this sprite is clicked block
above the next costume block.
Test this code by clicking on the painting.
It should change to a different painting.
Now it's you turn.
Choose costumes from the famous paintings project
to add as costumes to the painting in your project.
Use a when this sprite is clicked and next costume blocks
to allow the user to switch between these costumes.