Full jump bug #1

Closed
opened 2026-06-07 20:37:58 +02:00 by riley · 1 comment
Owner

Pressing and letting go of the space bar very quickly still does a full jump instead of a very tiny / no jump at all.

Tested on Win64D version 0.1.0 "Prerelease 2"

Pressing and letting go of the space bar very quickly still does a full jump instead of a very tiny / no jump at all. Tested on Win64D version 0.1.0 "Prerelease 2"
Author
Owner

Found the bug. Coyote-timing prevented the else block from triggering, so jump cancellation would not detect within ~100ms of intitial jump. Added this codeblock to detect this case in commit 77bc341f9b.

if (!grounded && coyoteGrounded && Input.IsActionJustReleased("jump") && vely < 0) {
    vely *= 1/4f;
}
Found the bug. Coyote-timing prevented the else block from triggering, so jump cancellation would not detect within ~100ms of intitial jump. Added this codeblock to detect this case in commit [77bc341f9b](https://git.main.qwsdcvghyu.com/riley/wrplat-godot/commit/77bc341f9b0f232981309ff0a7d24526a46453f9). ```csharp if (!grounded && coyoteGrounded && Input.IsActionJustReleased("jump") && vely < 0) { vely *= 1/4f; } ```
riley closed this issue 2026-06-08 20:03:31 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: riley/wrplat-godot#1