You are currently using an older browser. Please update to the latest browser to ensure features and pages work properly. Learn more
We are currently experiencing issues with new student accounts. If you are unable to create an account, you can still access the activity videos without signing in. We apologize for the inconvenience. Check updates
In this add-on, you'll adda sunrise or sunset to your story.
To start, click on the stage.
If you decide to change your backdrop,note that this add-on works best on backdropsthat appear to be outside.
Next, drag out a change color effect block.
Select brightness from the drop down menu.
Great. If you click on the block,the stage gets brighter.
To make this stage continuously get brighter,drag out a repeat loop.
To make this stage get brighter gradually,like a real life sunrise, tinker with thevalues in the change effect clock andthe repeat loop.
A larger number in the repeat loop and a smallernumber in the change effect block slowsdown the effect while a smaller number in therepeat loop and a larger number in the changeeffect block speeds it up.
This example uses zero.5 in thechange effect block.
Great. To make this stage go from nightto day, add a set brightness effect blockand a one flag click block to the top ofthis code stack.
Try out different values in the set brightnesseffect block, so that your stage won'tbe too dark but it will stilllook like nighttime.
Using a positive number in this block,makes the stage brighter.
Try using a negative number to getyour desired effect.
This example uses negative 80.
Test your code and make sure the loop repeatschanging the brightness effect enough times.
This example uses 150 in the repeat loop.
Awesome. You created a sunrise.
To make this stage appear to have a sunset,change the value in the set brightness effectblock to positive number so that this stagestarts off bright like the daytime.
Then change the value in the brightness effectblock to a negative number like negative zeropoint five so that this stage gets darkerlike the sun is setting.
Tinker with the values in these blocksto adjust the brightness of the stage andthe speed of the sunset.
It's up to you, feel free to add a wait blockbefore the repeat loop so the sunrise or sunsetdoesn't happen so quickly.