Atlas – An efficient management of images

When it comes to applications that use many images, it is important to reduce their loading time, especially when they are requested from a remote server.

Note

One strategy to reduce the loading time is to use an Atlas (also known as sprite). An Atlas groups all the application images into one big image, so it reduces the number of necessary requests to the operating system, or online requests.

Here is the image of the Atlas we use for invaders revenge:

Atlas – An efficient management of images

Instead of requesting five images for the invaders revenge, we will just request the Atlas image. We will also need an associated json file that tells us the ...

Get Kivy – Interactive Applications and Games in Python - Second Edition 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.