Summary


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.




Python Programming for the Absolute Beginner
Python Programming for the Absolute Beginner, 3rd Edition
ISBN: 1435455002
EAN: 2147483647
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net