Let's decorate our stage with a fresh coat of paint:
Don't like the current paint job? Feel free to redecorate. It is, after all, your card.
It took us a few tries to get the paint job and effect we wanted, but using the Clear tool made starting over a snap. We were able to try several fill colors including gradients with relative ease until we got the correct effect.
When we shrank the solid color of the stage, we created a white space that we filled with a second color. When we applied the second color, it filled only the white space because the original color formed a boundary that the fill wouldn't cross.
Were you thinking about design as you painted? If not, you may have been surprised by the result when you clicked OK to save the stage background. As we add sprites and designs to our projects, making sure everything integrates well will be one of our challenges.
You may need to change the color of the Happy Birthday sprite, which can be done by editing the sprite's costume, which can be found by clicking the Costumes tab.
When we add a gradient with the Paint Editor, we create a gradual progression from a dark color to a light color. In Scratch, the horizontal gradient starts with the darkest shade at the left and progresses to the lightest shade at the right. With a vertical gradient, the darkest shade is on the right side. You can flip the gradients using the flip tool.
When you place a circle gradient, the center of the circle is where you clicked the mouse. The center is also the darkest shade in the gradient.
When working with gradients, the gradient will fill to a boundary. If the stage is empty, then the gradient will fill the entire space. If you draw a square in the middle of the stage and fill the square with a gradient, the gradient confines itself to the boundary of the square.
Edit the stage background of your birthday card and apply a gradient to the center of the framed background. If you remove the framed background we created, use the Rectangle tool to draw a square. Then fill it with a gradient.
After you're done experimenting, you can cancel the Paint Editor to return to your previous design. Or, click OK to accept the new design.
So far, our project contains exactly one sprite that we created, but we do not want to create all of our sprites in the Paint Editor. Thankfully, Scratch bundles many sprites with the default installation that we can find in the Costumes
folder.
On a typical Windows installation, you can find the sprites at C:Program FilesScratchMediaCostumes
.
A costume gives the sprite its initial look. The default Costumes
folder includes Animals, Fantasy, Letters, People, Things, and Transportation. In our next exercise, we use individual letters to display a message on the screen. This gives us more control over how we can display and animate the text.
3.138.35.255