Hello everyone,
I have a 2D game with an orthographic camera set at a resolution of 320x180. The camera follows the player with a generic smoothing function. However, when the player stops and the camera is catching up and starts to move more slowly, it begins to move in pixel increments. So the movement ends up looking really jittery.
It doesn’t matter what smoothing function I use, the effect is always the same. Case and point, this “defect” is also noticeable outside of play mode. While in the scene, If I manually place the camera in a subpixel position, the camera position in the game scene appears to be pixel perfect. For example, if I place the camera’s left boundary to be right in the middle of my character’s eye, only half the eye should appear in the game view, but that is not the case. All of the eye is still rendered the game view.
I am hoping to accomplish subpixel movement with the camera. I’m not sure if I’m missing a simple setting, so I am hoping someone can shed some light on this. Thank you!