Chapter 13. Bitmap Graphics and Measuring Time
So far in this book, we have drawn exclusively with primitive shapes and text. In this section, we will see how we can use the Canvas
class to draw Bitmap graphics- after all Bob is so much more than just a block or a line. We will also code Bob and implement his teleportation feature, shield and collision detection. To finish the game off, we will add a HUD, measure the time, and code a solution to remember the longest (best) time.
In this chapter we will:
- Learn how to use bitmap graphics in Android
- Implement our teleporting superhero, Bob
- Finish all the other features of the game including the HUD and timing
Let's wrap this game up.