Forum begins after the advertisement:
-
::VoxBeats from YouTube raises an interesting point about the coyote time in part 2:
It wouldn’t be better on the jump input buffer to do else { jumpBufferCounter = jumpBufferCounter – Time.deltaTime * 10 ; } and make jumpBufferCounter and jumpBufferFrames float, instead of {jumpBufferCounter–) to make it fit the fps of any device ? I find out that problem cause i ran unity with 900 fps, and 8 frames to buffer was too small.
Thx for the tutorial btw ! It teaches me a lot !
The problem he is highlighting is that if we run the game with higher frame rates, the period of time that we have for coyote time is very small, because right now, we are counting frames to track coyote time. By making the jumpBufferCounter
a float, and subtracting the time at every frame, we will make the coyote timer adapt to different frame rates.
Advertisement below: