Daniel Mallett
Member
How do I find out the real width of an individual "sub-image". I currently have a really long script that puts the information in an array. This is not a good solution but so far the only one I have found.
Lets say I have a strip of images "the sprite". Every sub image in the strip is a different size. In order to prevent stretching I have to import the different sized images with an alpha border or go into the options and put the border on in the IDE.
Either way I can't discover the real size of the sub-image. All I can do is effectively find the size of the largest image in the strip.
If anyone can offer a solution other than listing the know variables I would be a very happy bunny.
Lets say I have a strip of images "the sprite". Every sub image in the strip is a different size. In order to prevent stretching I have to import the different sized images with an alpha border or go into the options and put the border on in the IDE.
Either way I can't discover the real size of the sub-image. All I can do is effectively find the size of the largest image in the strip.
If anyone can offer a solution other than listing the know variables I would be a very happy bunny.