Hi! I have a problem with a game I am making. When the sprite size is not a whole number, it seems to warp in a way that makes it look weird. I am using a CRT filter, but even then I don’t think that’s the problem. Here is a picture:
What do you mean with your earlier comment that by changing it with whole numbers it’s either too big or too small? Too big or small for the screen or the other objects around it? Or something else?
If the sprite’s resolution is being scaled to non-integer numbers (8.6x8.6 pixels instead of 9x9 or 8x8), you will always have distortion.
This is called subpixel rendering, and is due to how graphic scaling works. Too few pixels at too small resolutions, or non-integer/full pixels at small resolutions, will create a shimmer effect as it moves.
You can change the viewport size easily enough in the project settings.
And you can alter the other srpite’s sizes. Or, ideally, correct the size of the images on disk, so when they are used for sprites they don’t need further resizing.