Before We Begin
As with the previous “theoretical” chapters, you are going to create a couple of examples to get a feel for what's happening. For this chapter, you can reuse what you developed in the last chapter, mainly the GLGame
, GLGraphics
, Texture
, and Vertices
classes, along with the rest of the framework classes.
Your demo project consists of a starter called GameDev2DStarter
, which presents a list of tests to run. Reuse the code of the GLBasicsStarter
and simply replace the class names of the tests. Add each of the tests to the manifest in the form of <activity>
elements.
Each of the tests is again an instance of the Game
interface, and the actual test logic is implemented in the form of a Screen
contained in the Game
implementation of ...
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.