Lets create a simple animation of a 'bouncing ball'. We will use a single image file,
ball.png, which can be downloaded from the Packt website. The dimensions of this image in pixels are 200x200, created on a transparent background. The following screenshot shows this image opened in GIMP image editor. The three dots on the ball identify its side. We will see why this is needed. Imagine this as a ball used in a bowling game.
The image of a ball opened in GIMP appears as shown in the preceding image. The ball size in pixels is 200x200.
ball.pngfrom the Packt ...