Hi,
I am using TexturePacker and my images (myImage@2x.png and myImage.png) are not stored in the same pack.
It seems that I have to load myPack.txt or myPack@2x.txt manually for scaling.
How do you know if the current resolution needs
@2x images?
Does a simple helper function exist?
It seems that getScreenDensity would be involved but I am developing on the laptop currently (returns nil).
Thanks
Comments
and still if you want to go with your own method then you can get device width and/or height in pixel and divide that with your logical resolution to find out how much scale is needed
Likes: ar2rsawseen, Mells
My mistake was also that I did not check the project settings (@half and other custom extensions) to make it work as I expected.