Using texture atlas is a neat way to reduce the load time and data usage of your game. In texture atlas, all the images you want, are packed in a single file.
First you need to upload the spritesheet.
Then select the spritesheet and in the ‘Settings’ panel there will be an option for atlas:
Click on it and browse for the atlas data file, currently supported formats (detected automatically) are:
- TEXTURE_ATLAS_JSON_ARRAY
- TEXTURE_ATLAS_JSON_HASH
- TEXTURE_ATLAS_XML_STARLING
And that’s it! Now you can see all of the packed sprites together or separately and use and initialize them as usual:
Sample available here.
Free texture atlas generators: