Images, divisible by 4... even for static images?
ryast
Member Posts: 145
I've been following the "keep it divisible by 4" rule (that I read on the forums) for nearly all my images.
But I've just noticed that I've added a few images(score, lives, high score, pause button, start button etc) that are not divisible by 4 (I got the images by first making the template in PS then using the slice tool to get my individual images)
since none of these images are actual "moving" actors, just static on the screen, I'm wondering is it actually worth the hassle of resizing them and then updating them within the game? There are exactly 10 actors with sizes not divisible by 4...
What do you think?
Comments
Hi @ryast those images not divisible by 4 (when using RI) will show a very minor decrease in quality but I think it'll be negligible. Still, for optimum image viewing quality, they do need to be divisible by 4 (and the x and y positions as whole numbers). Hope that helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
if they are divisible by 2 then don't worry about it
That's the size you want displayed, divisible by 2. So when making double-sized images for use with Resolution Independence, you make sure they are divisible by 4.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I think you have this the wrong way around (if I understand what you are saying correctly).
Static images are the ones that will show up any lack of image fidelity - moving images are less of a concern.
With moving images you can get away with a lot more, for example if you have an asteroid flying around the screen you're not going to be able tell that is a 80 x 80 pixel image on a 120 x 120 pixel actor.
And as for the whole divisible by 2 / 4 issue, it's absolutely irrelevant to moving images, it only really applies to static images (and even here they need to be sat on whole pixel value coordinates) . . . once an image starts moving the idea of making an image divisible by 4 (so that GameSalad's convention of measuring dimensions from an actor's centre point doesn't place an image on a sub pixel position) is entirely irrelevant.