Python Programming for the Absolute Beginner, 3rd Edition
In this chapter, you saw how to use the livewires multimedia package to add graphics to your programs. You learned how to create a new graphics window and how to set a background image for it. You saw how to display text on a graphics window. You learned about the sprite, a special graphics object with an image. Specifically, you saw how to place and move a sprite on a graphics screen. You also saw how to test for collisions between graphics objects. You learned how to get input from the mouse. Finally, you saw how to put everything together in a fast-paced, video game, complete with a computer-controlled opponent.