March 2021
Beginner to intermediate
686 pages
13h 6m
English
So far in this book, we have drawn exclusively with primitive shapes and text. In this chapter, 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 an HUD, measure the time, and code a solution to remember the longest (best) time.
In this chapter, we will cover the following topics:
Let's wrap this game ...