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.
BowlingAnimation.pyfrom 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.
pin.png. Place these files in a sub-directory
imagesdirectory should be placed in the directory in which the above ...