Plan of Attack

With your game mechanics, design, and assets in place, you can start coding. As usual, create a new project, copy over all of your framework code, ensure that you have a proper manifest and icons, and so on. By now, you should have a pretty good grasp of how to set things up. All the code of Droid Invaders will be placed in the package com.badlogic.androidgames.droidinvaders. The assets are stored in the assets/ directory of the Android project. Use the same general structure used in Super Jumper: a default activity deriving from GLGame, a couple of GLScreen instances implementing the different screens and transitions, as shown in Figure 12–4, classes for loading assets and storing settings, as well as the classes for the game objects, and a rendering class that can draw the game world in 3D. Start with the Assets class.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.131.36.247