This might seem obvious to some of you, but how do I know if an image is to the power of 2? What's the easiest method of working out the maths? I know that 2^2 is 2x2 which is 4, but I don't know how to work it out backwards for my images...
Would I divide the number in question by 4, and if the answer is even (with no floating decimals) would that be then to the power of 2? I need to work this out for all of my images so that I can make the game run smoother and scale correctly, and I'm not big on maths.
example: 1080 x 1920
1920 / 4 = 480
1080 / 4 = 270
Therefore 1080 x 1920 is to the power of 2? Is that correct?
Thanks in advance
Simflare








Reply With Quote









