December 2016
Intermediate to advanced
376 pages
9h 5m
English

In Chapters 18 and 19, you learned how to make GUI programs that have graphics and can accept input from the keyboard and mouse. You also learned how to draw different shapes. In this chapter, you’ll learn how to add sounds, music, and images to your games.
A sprite is a single two-dimensional image that is used as part of the graphics on a screen. Figure 20-1 shows some example sprites.
Figure 20-1: Some examples of sprites
The sprite images are drawn ...