Before We Begin
As always, you'll write a couple of examples in this chapter. For this, you'll follow the same route as before by having a starter activity showing a list of examples. You'll reuse the entire framework created over the last couple chapters, including the GLGame
, GLScreen
, Texture
, and Vertices
classes.
The starter activity of this chapter is called GL3DBasicsStarter
. You can reuse the code of the GLBasicsStarter
from Chapter 6; you'll just change the package name for the example classes that are going to run to com.badlogic.androidgames.gl3d
. You must also add each of the tests to the manifest in the form of <activity>
elements again. All the tests will be run in fixed landscape orientation, which will be specified per <activity> ...
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.