O'Reilly logo

Python Multimedia Beginner's Guide by Ninad Sathaye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - a simple bowling animation

Let's develop the code for this application. As mentioned earlier, a big chunk of the code comes from the Single Image Animation section. So we will only discuss the new and modified methods needed to create a bowling animation.

  1. Download the Python source file BowlingAnimation.py from the Packt website. The overall class design is the same as the one developed in the Single Image Animation section. We will only discuss the new and modified methods. You can review the rest of the code from this file.
  2. Also, download the image files used in this project. These files are ball.png and pin.png. Place these files in a sub-directory images. The images directory should be placed in the directory in which the above ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required