weatherfactory / cultistsimulator-visible

Read-only preview builds of Cultist Simulator for the convenience of modders and the curious.
https://weatherfactory.biz/cultist-simulator/
36 stars 6 forks source link

Mouse movement feel issue (on high refresh rate monitor?) #220

Open alexiskennedy opened 1 year ago

alexiskennedy commented 1 year ago

(hs 7050, 2022.10.k.3)

It's great to see cultist simulator slowly becoming playable again and being restored back to its former glory and maybe even beyond, I appreciate it very much!

But there is one very annoying issue right now (tested on the beta branch): Moving around the camera by dragging the mouse around has some very weird behavior. At low speeds, the screen actually moves much slower than it should be moved and there seems to be a threshold for this because at a certain speed it suddenly starts moving the way it should.

But this threshold seems far too high because I actually need to move my mouse faster than my natural movement in order to move the camera by any significant distance.

It might also be related to the frame rate because when I move the game from my 240 Hz monitor to the 60 Hz one, it feels better (but still weird at low speeds).

I can see 3 ways to fix this, ordered by increasing implementation complexity:

rn it on or off

Thanks a lot for reading through this. If yo

https://user-images.githubusercontent.com/228608/196935369-7c78fe07-25f2-4655-ad45-c8bff60ca274.mp4

u need any clarification on the issue of maybe a recording of the behavior at 240 Hz, please contact me! (I swear I'm not exaggerating, it feels quite bad as it is right now with my setup.)

+++ DxDiag.txt

In the video, notice that at lower speeds, the camera moves much less far per mouse distance moved. Above a certain speed, the "speed ratio" changes to something more natural where the mouse movement and the camera movement seem about the same.

(I've never let go of the left mouse button at all during the video.)

Thanks for taking the time to have a look at this! :)

+++

files:

Cultist Simulator.zip

alexiskennedy commented 1 year ago

DxDiag.txt