bibendovsky / bstone

Unofficial source port for Blake Stone series
Other
296 stars 34 forks source link

Run Key Speeds Up Player Turn Speed #474

Closed sudobbq closed 5 months ago

sudobbq commented 5 months ago

Very simple bug I found here. As the title states when holding down the sprint key, my mouse look sensitivity scales with the value the sprint key sends.

I found this out when testing bstone on the steam deck using the latest stable proton api. My right joystick is sending mouse inputs to the program, bstone.exe. When holding the stick at max output, this produces a constant mouse movement, which in turn eliminates the human error produced when manually moving an actual mouse. This validates next-to-zero variability of the mouse inputs.

To reproduce: Hold the right analog stick that's assigned to the mouse input either right or left and then press the sprint key on/off and observe the difference in the change of turning speed.

sudobbq commented 5 months ago

I did some more testing, this time in DOS box. The sprint key behavior is exactly the same, so I guess this is original intention, however when modifying the movements in your source port to meet up with WASD standards, this philosophy should be upheld in the mouse movement speed, as well. It shouldn't increase in scale when holding the run key.

When I tested this in DOSbox, I just held the left or the right arrow key and ran the test, and can confirm that player movement speed does increase. The same is true with the normal mouse, as well.

I'm going to rename this bug from "Sprint Key Speeds Up Mouse Look" to "Run Key Speeds Up Player Turn Speed"

bibendovsky commented 5 months ago

Fixed. bstone_windows_x64_v1_2_13-wip-eaf4cb517a0534c3e234b0084f4fa410ed917698.zip bstone_windows_x86_v1_2_13-wip-eaf4cb517a0534c3e234b0084f4fa410ed917698.zip