Before We Begin

As always, we'll create a couple of simple example programs in this chapter. To do that, we just create a new project and copy over all of the source code of the framework we've developed so far.

As In previous chapters, we'll have a single test starter activity that presents us with the tests in the form of a list. We'll call it GLAdvancedStarter and make it our default activity. Simply copy over the GL3DBasicsStarter, and replace the class names of the tests. We also need to add each of the test activities to the manifest with a proper <activity>element.

Each of the tests will extend GLGame as usual; the actual code will be implemented as a GLScreen that we'll hook up with the GLGame instance. To conserve space, we'll only present ...

Get Beginning Android 4 Games Development 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.