subhouse07 / jp-pinball

Home&Office Job Performance Pinball
0 stars 0 forks source link

Improve camera smoothing to eliminate sprite jitters #75

Open subhouse07 opened 2 years ago

subhouse07 commented 2 years ago

Recently I changed the project's scaling mode from 2D to Viewport. This has the effect of snapping all screen movement to the scaled pixel grid as opposed to the actual display resolution. However, the camera's movement does not conform to the same pixel-by-pixel movement, so static sprites appear to jitter against the background sprite as the camera's movement slows.

subhouse07 commented 2 years ago

I just turned camera smoothing off for now. I think it might suffice as a solution but we'll see how playable it is as the game progresses.