Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Thanks!

Mouse look is using frame delta (btw your 240Hz would lead to faster look thanks to more frames) but it is tied to resolution in a way, I assume you have a 4k display whereas I tested on 1080p? So your mouse travels over more pixels for the motion? I should use resolution in look calculation in some way. I am also using bevy_enhanced_input and I am not sure what it actually does with the cursor delta before passing it to me.

I did include a mouse sensitivity setting in the escape menu but I am not sure what range to offer here or what defaults is best to have (it can be set to (EDIT its only 2x max) faster in the menu than it is by default, but maybe that’s not enough?).

Thanks for playing!

(+1)

That’s really bizarre, I can reproduce it reliably - if I have it on 240hz, it’s definitely slower (and it also skips on occasion) - if I set it to 60hz, it’s faster, and doesn’t exhibit the skipping behaviour. I’m just playing with whatever the default web page viewport is.

(+1)

Thanks for that detail! It seems it is indeed tied to framerate after all but inversely.. I’m using the frame delta but my rotate function runs in the FixedUpdate, ouch. So in your case the delta is very small but the update still runs at 64Hz (the default rate). Not sure why I’ve put it in Fixed to begin with but I’ll unfix this when we can update the game, thanks!