#Jittering in the 2D pixel game
13 messages · Page 1 of 1 (latest)
Update: it was camera's fault. After turning Position Smoothing option off, it does not jitter anymore, however it doesn't look good anymore. I'm still trying to fix it
Found this, maybe it helps
Thx, I fixed it using this video: https://www.youtube.com/watch?v=RbE7BKbo6_Q , except i removed .floor() from the end
Part 22 - This tutorial will teach you how to improve jittering in your low-resolution game if you experiencing strange behaviour. A camera script will be developed so that you can interpolate values for your camera for a smoothing distance whilst snapping to pixels. You will also have the option to turn the feature on or off. This tutorial wi...
does this solve artifacts, jittering and tearing?
I think it did. at least i don't see anything wrong with it. I also changed some settings in the Display/Window tab
i cant fully tell from the clip but it doesnt seem so, i can see jittering when your lerping back to zero and from the road, not sure though
Previously i recorded 144 Hz monitor with obs in 60 fps. That's why it tears, i think.
I mean the game was running in 144 fps (because v-sync). Now the max fps is 60, because there was jittery line on 60 Hz monitor
https://streamable.com/jzn58u
I noticed a problem with artifacts visible during movement (only on a 60 Hz monitor). It is most visible under the car when it moves up, or on empty tiles, right below mud (brown) tiles
I don't know why video is tearing, but game is running ok (except artifacts). i have wrong obs setup probably