O'Reilly logo

Beginning Android 4 Games Development by Robert Green, Mario Zechner

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

Creating the Assets

As in the previous games, you have two kinds of graphical assets: UI elements, such as logos or buttons, and the models for the different types of objects in the game.

The UI Assets

Create your UI assets relative to some target resolution. Your game will be run in landscape mode, so simply choose a target resolution of 480×320 pixels. The screens in Figure 12–4 already show the elements in your UI: a logo, different menu items, a couple of buttons, and some text. For the text, reuse the font from Super Jumper. You've already done the compositing for these in previous games, and You've learned that putting them into a texture atlas can be beneficial for performance. The texture atlas for Droid Invaders, containing all the UI ...

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