agersant / tiger

Tiger is a visual tool to author game spritesheets and their metadata.
MIT License
203 stars 8 forks source link

Ability to export the sheet size? #13

Closed Terria-K closed 1 year ago

Terria-K commented 1 year ago

I really love this tool so much, and a templating system is very cool! However, the only thing that is missing is the ability to export a sheet size. I want my exported file to be minimal as possible, but I cannot do it without the sheet size. I know that this project is in under development but I would appreciate if this can be implemented as well.

agersant commented 1 year ago

Thank you for the kind words, I can add this in the next version!

agersant commented 1 year ago

Just to make sure I understood correctly, which of the following do you mean?

Terria-K commented 1 year ago

Just to make sure I understood correctly, which of the following do you mean?

  • Having access to the texture size in the template file
  • Manually specifying the texture size in the export settings

Having an access to the texture size in the template file.

agersant commented 1 year ago

Fixed 72f95c3

The sheet_image field was replaced by atlas_image, which has .path, .width and .height fields.