d2dx icon indicating copy to clipboard operation
d2dx copied to clipboard

Characters move crazily fast in main menu with VSync disabled and high FPS

Open tomasz1986 opened this issue 4 years ago • 3 comments

This is with novsync=true and the FPS limited to 200. The character animations in the main menu seem to loop crazily fast, depending on the current FPS.

https://youtu.be/rflTnCppFD8

tomasz1986 avatar May 31 '21 17:05 tomasz1986

Yup, that's a known issue. The characters in the main menu advance one animation frame per frame rendered, unlike the ones in-game which are tied to the fixed 25fps tick.

bolrog avatar May 31 '21 19:05 bolrog

Yup, that's a known issue. The characters in the main menu advance one animation frame per frame rendered, unlike the ones in-game which are tied to the fixed 25fps tick.

Any chance you can add an option to not apply the high fps / motion prediction to the main menu? Or perhaps an option to set a custom framerate cap in the main menu.

fapmilk avatar Jun 04 '21 01:06 fapmilk

That's a good idea. Ideally I would like to find where the frame number is incremented and make it move at the proper rate instead, but I will keep your suggestions in mind as a backup solution.

I'll probably add a frame cap eventually too. Just need to figure out the best way to do that.

bolrog avatar Jun 04 '21 12:06 bolrog