SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.49k stars 470 forks source link

Several flaws with the Game's Camera #2529

Open Rusty-Box opened 1 year ago

Rusty-Box commented 1 year ago

This issue serves to collect several aspects of our current camera system that really need a touch up or two.

Should there be more things found, they will also be mentioned in here!

HybridDog commented 1 year ago

The camera jitters a lot because it is synchronized to the "physical fps" (50 Hz) instead of the screen refresh rate (often 60 Hz). In addition to jittering, this synchronisation prevents players to avoid motion blur even on a high-refresh-rate display. If frames were generated synchronous to the display refresh rate, it would be possible to use a high-refresh-rate display with strobing backlights, which strongly reduces motion blur.

910

Rusty-Box commented 10 months ago

With d5ca4bf at least the camera zoom in manual mode has been solved. A great improvement. The issues with camera peeking still remain as of now.