Chapter 7. Extending the Platform

In the previous chapter, we looked at how to create a simple platform game, where we used a new tool, Tiled, that allowed us to create a level and used the Tiled Maps API of LibGDX to bring it to life. However, our game was confined to a single screen. As most of you will be aware, to really take our game to the next level, the level itself should usually be bigger than the screen.

In this chapter, we are going to look at how to extend the level and how to move the camera with Pete as he traverses through our new world. Once we have that, we can then move on to the next topic, which is adding sounds. In this, we will introduce you to the use of music and sound effects. We will cover the following topics in this ...

Get LibGDX Game Development By Example 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.