Summary

In this chapter, we took a step back from creating a game so that you could learn about how LibGDX can help us to make games that are better performing, easier to maintain, and are neater overall. We looked at asset managing and the tools that LibGDX has to help us control and manage our assets throughout the game's life cycle, simplifying the code required to load and dispose of assets. We then looked at how to reduce our game's demand on the hardware it runs on by reducing our textures and transforming them into a single texture asset—a texture atlas. We saw how we can have this as a transparent step in our development so the atlas is always up to date. Then, finally, we looked at using our own fonts and exporting them with the Hiero ...

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.