Texture Atlas

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:

html5_tutorials_mightyeditor_atlas_1

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:

html5_tutorials_mightyeditor_atlas_2

 

Sample available here.

Free texture atlas generators:

Leave a Reply

Your email address will not be published. Required fields are marked *