Chapter 6. Platformer – Bob, Beeps, and Bumps
Now that our basic game engine is set up, we can start making some fast progress. In this chapter, we will quickly add a SoundManager
class that we will use to make a noise wherever and whenever we please. After that, we will put some meat on the bones of Bob and implement the core functionality we require in the Player
class. Then, we can handle the second phase (after clipping) of our multiphase collision detection and give Bob the useful skill of being able to stand on a platform.
After we have achieved this significant feat, we will hand over control of Bob to the player by implementing the InputController
class. Bob will at last be able to run around and jump. At the end of this chapter, we will ...
Get Android Game Programming: A Developer’s Guide 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.