Time for action – displaying happy birthday
Can you imagine mom's confusion? She clicks on the green flag, and the screen goes blank. That's like going to a play where all the actors are sitting on the stage in front of the curtain until show time. Then, when the curtain goes up, all the actors disappear. However, we don't go to the theater to watch an empty stage. We want actors. Without further fuss, let's introduce our sprites:
Let's bring out the Happy Birthday sprite first. Select the Happy Birthday sprite from the sprite list.
From the Control palette, add the wait (1) secs block to the existing script to create a bit of delay and to allow the Happy Birthday sprite to display.
Before we show the sprite, let's set the default size, adding the set size to () block. I set the size to 300, but your design may require a different value. The value inside the set to () block is a percentage.
Show the sprite by adding the show block from the Looks palette.
Run the script by clicking on the green...