Upgrading the game engine
All the talk of guards, drones, fire, collectibles, guns, and the implied much larger game world suggests a much more complex system to manage. One of the goals of our game engine will be to make this complexity easily manageable. The other goal will be to separate the level design from the coding. When our game is done, you will be able to sit back and design the most evil, yet rewarding levels, in multiple different environments without touching the code.
The platform activity
First we start off with our Activity
class, which is the entry point into our game. There is not much new here, so let's go ahead and get it built quickly. Create a new project, and in the Application Name field, enter C5 Platform Game
. Choose ...
Get Android Game Programming by Example 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.