Is it necessary to use square images?

Monkey Targets Forums/Desktop/Is it necessary to use square images?

lom(Posted 2015) [#1]
Is it necessary to use square images like 32x32, 64x64, 128x128, etc...? Right now I have a lot of not square images in my game and it works fine on my system. Can it possibly cause a problems on other systems?


dawlane(Posted 2015) [#2]
For best compatibility between platforms all images should be a power of two, e.g 128x128, 128x32. If I remember. Monkey converts all loaded images to power of two, so there is nothing stopping you from using 133x518 image sizes; apart from memory restrictions and the maximum size allowed for an image on the base target device.
For efficiency, you should cram as many images into one image atlas that is the maximum allowed image size for the base target platform, as there is a speed penalty for having to render from separate multiple images.