Dodging incoming rocks

The very first thing we would need before we proceed with anything is a nice looking piece of rock. Not kidding, really! We need an image of a toony-looking rock, which would fit with the theme of our game. So, let's get a rock for ourselves. For the purpose of this chapter, we will be using this rock:

This is our basic rock

As we had done in our previous part, we will need animation for the rock and so we will create a sprite sheet of the rock we have. Then, we will simply name it as rock.png and get started with it. It would be cool to have a rolling rock since that would make more sense in the game, and so we will ...

Get Learning Android Game Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.