Chapter 11: Graphics: The Pizza Panic Game


Download CD Content

Overview

The majority of programs you've seen so far have focused on presenting text. But today, people expect rich, visual content from their programs, regardless of the application. So in this chapter, you'll learn how to use graphics with the help of a few multimedia modules designed for writing games in Python. Specifically, you'll learn to do the following:

  • Create a graphics window

  • Display text in a graphics window

  • Create and manipulate sprites

  • Test for collisions between graphics objects

  • Handle mouse input

  • Control a computer 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