O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Asset Management

In this chapter, we will cover the following recipes:

  • Getting to know AssetManager
  • Asynchronous asset loading
  • Creating custom asset loaders
  • Managing groups of assets for bigger games

Introduction

Assets are an intrinsic part of games in the sense that their mixture defines the final game experience and highly contributes to players' opinions.

Most modern and successful games make use of a variety of assets such as textures, fonts, music, sound effects, skins, particle effects, maps, physics, and so on. The asset ecosystem can be very demanding of memory resources.

In this chapter, we will learn how to efficiently manage any kind of asset in your Libgdx applications through the built-in AssetManager class, even when the amount ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required