Forum begins after the advertisement:


[Part 2] Coyote time with adaptive frame rate

Home Forums Video Game Tutorial Series Creating a Metroidvania in Unity [Part 2] Coyote time with adaptive frame rate

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15285
    Terence
    Level 30
    Keymaster
    Helpful?
    Up
    0
    ::

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: