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 ...

Get Beginning Android Tablet Games Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.