We learned how to create boundaries for our game and also created our explosion effect file with the required components needed along with its constructor. 

We now have a proper upper and lower boundary in our game and we also have created our foundation for adding explosions in our game after our player collides with rocks. 

In the next chapter, we will spawn the explosion on the screen after our player collides with the rock and display our score on the screen as a User Interface component.

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.