O'Reilly logo

Beginning Android Tablet Games Programming by Jeremy Kerfs

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

Getting Started

Let’s begin by gathering the images and other resources you will use in the paddle game, and then open a new project for your work.

Gathering Game Resources

Because a pong-style game uses fairly generic shapes and objects, you shouldn’t have a lot of trouble making the graphics. The most important consideration, of course, is the relative scale and size of each of the elements. The paddle must be large enough to hit the ball consistently, yet small enough to make it a challenge for the player. You see as you go that other images can be added if you want to allow power-ups and bonuses to fall onscreen.

Figure 6-1 shows the images and dimensions of the graphics you use for this game. Notice that each of them is a different .png ...

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