This project is essentially a summary of what we have learned so far in this chapter. Additionally, it will cover a few other things such as adding sound effects to an animation, showing or hiding certain image sprites while the animation is being played, and so on. In this animation, there will be a stationary cloud image. We will re-use the code from the raindrops animation section to animate falling rain. There will be an image sprite to animate lightning effect. Finally, a car cartoon will be shown passing by from left to right in this heavy rain. The following snapshot is an animation frame that captures all these component images.
Component images of animation drive on a rainy day illustrated in the preceding image.