Summary

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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.