I’ve read the documentation but it’s still not 100% clear for me.
In my project, i have around 1000 single sprites, for around 30 animations.
I’m not sure if i should give a tag to each different set of sprites or not
and if i do, will it even benefit me in any way? or will it just create an overhead of the atlas as well?
what does the atlas actually do?
cause from what i understand, instead of loading each sprite for my animations, it loads the pages from the atlas, and pulls from there
like, instead of loading 300 sprites, it loads 13 atlas pages.
An Atlas is a texture, which simply has many sprites, but what’s powerful about it, is that it comes with a map file (a text file that we don’t see), that tell where each sprite is and how big it is.
So basically, if all your game is using only 1 atlas, only 1 texture will be used, in addition to the map file (which is a text file that tells what goes where), the whole game will run with only 1 texture loaded into memory, which increases both visual rendering (draw calls), and physical memory (loaded assets).