This will be an interactive Christmas Card.
- A nice background with Snow, Christmas Trees, a house.
- We might use different Sprites for the Trees.
- Flashing lights on the House and the Tree.
- Falling snow.
- Snow building up on the ground.
- An animated Snowman.
To make it even more interesting, we are going to make the snowflakes different sizes and fall at different rates depending on how big they are.
We will use the clone functionality to make the snowflakes.
Each clone will pick a random size and will glide to the bottom of the screen, how fast if glides will be related to how big or small it is.
The snowflake is going to be quite hard to draw as it will be a small white dot on a white background, so we will be careful.
The building up on the ground part, is quite easy, we just pick a random Y value to stop at, as long as it is close to the bottom of the screen we should be ok.
Flashing Lights or Tree Sprites
Again, these might be quite difficult to draw as we have to draw them over the background and get them to be over the Trees?
If we draw the complete Tree in the Sprite I think it is going to be a lot easier.
Flashing light code