coy·o·te time
/kaɪˈoʊ.ti ˌtaɪm/ (kye-OH-tee tyme) noun
- A short grace window after walking off a ledge during which a jump still counts, as if the player were standing on solid ground. A platformer might allow about 0.1 seconds of coyote time so a jump pressed just after leaving the ledge still works.
Origin
Game-developer slang, after Wile E. Coyote, who runs off cliff edges and falls only once he notices.
In practice
The general principle is to honour intent over the exact frame. Input buffers, generous hit areas and debounced handlers apply the same leniency outside games.
Say to your AI
Add coyote time: let the player jump for 0.1 seconds after leaving a ledge. Make the window a named constant so we can tune it.
In plain words
- let players jump a moment after leaving the platform
- jumping feels unfair at ledges
- I pressed jump at the edge and fell anyway
- missed jumps right at the edge of platforms
- jump a little late off a ledge