jakeparmstrong / Project-Ted

WIP - Learning to use Godot by building a 2D platformer
https://youtu.be/w7RYPlxfcF4
1 stars 1 forks source link

Can't jump twice while holding left/right #1

Closed jakeparmstrong closed 4 years ago

jakeparmstrong commented 4 years ago

To recreate:

jakeparmstrong commented 4 years ago

Fixed in most recent commit. Jump condition logic error: if is_on_floor() and Input.is_just_released("player_jump") changed to if is_on_floor() and !Input.is_action_pressed("player_jump")