Chapter 3. From Assets to Entities

We have our draft and it's time to convert the ideas into reality. In the first part of this chapter, we are going to see how assets—images, fonts, sounds, and music—are loaded into the memory. We will go through different ways of loading images based on the desired quality and performance. This chapter will also point out the most common mistakes made when storing and using textures.

In the second part, we will create the entities that will be used throughout the game. This is an important transition from a static image to an interactive object.

Managing resources

In many games written in AndEngine, you will see the ResourceManager class. It's one of the established patterns that you should be using as well.

Get Learning AndEngine 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.