Transcript file
Dancing on Green Light Project Description • A dancer begins to dance on the stage when the green light is clicked • The dancer stops dancing when the red light is clicked Sprites • The stage should be a spotlight-stage • The sprite should be a ballerina – Use all 4 costumes of the ballerina -a,b,c and d • Create a new circular red sprite • Create a new circular green sprite Change Costumes • Add script to the ballerina sprite so that the ballerina’s costume changes forever when the green flag is clicked • You must add a small delay before the costume changes • Add sound that plays continuously Add Variable • Create a new variable called “dance” • When the green light is clicked, value of dance variable should be set to 1 • The red light has the same script as green light, except that the dance variable is now set to 0 Modify the Dancer • Replace the forever loop with forever-if loop, so that the dancer begins dancing only when dance variable value is 1 Change the picture • Use your pictures instead of the ballerina