my game resolution is 512-288 , my sprites art 32-32 .problem is when I move my character I notice some pixel is missing or shrink , I think line of pixel. ( without camera center player)
When I make camera follow player this problem disappear. ( Camera center X position )
And I watch youtube tutorial to make camera movement smooth, pixel line shrinking on screen. ( learp(CameraX, player.X(), 0.05) )
How to solve this problem please, and I like camera movement smooth. Is there has setting to change.
I’ve also ran into this several times. I’m pretty sure it happens because it’s trying to move objects fractions of a pixel which causes pixel tearing. An easy fix is to round the camera lerp equation Ex: round(lerp(CameraX , player.X(), 0.05))