Texture atlases at a glance
Texture atlases (also known as sprite sheets) are a method of combining images used in the application into a larger composite texture. There are several advantages of doing so, compared to just loading a bunch of individual images like we did in previous projects:
- The application should open faster; it's usually cheaper to read one large file than several smaller ones. This may sound negligible until you have hundreds of textures, and then it becomes pretty noticeable—even more so over the network: HTTP requests add sizable overhead, which may become a deal breaker on mobile devices with constrained connectivity.
- Rendering is also subtly quicker when there's no need to rebind textures. Using a texture map effectively ...
Get Kivy Blueprints 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.