I downloaded the 2D Platformer Demo (KinematicBody) Version 3.4-b0d4a7c from the Asset Library. I ran the project, and while overall it ran very well, I soon encountered a bug. While the player character is moving left and jumping, they cannot shoot. The character can shoot just fine while moving left, while moving right, and while moving right and jumping. This issue occurs regardless of whether I am using WASD or ↑←↓→.
I went into Player.gd and edited line 84, changing
if Input.is_action_just_pressed("shoot" + action_suffix):
to
if Input.is_action_just_pressed("shoot" + action_suffix, false):
This fixed the issue, However, I'm uncertain exactly how this fixed the issue or whether this is even the proper fix. I'm still learning Godot, but it doesn't seem as though anything in the Input Map should be causing this problem in only this instance.
Could someone else verify this issue in the demo occurring on their machine? I'd also appreciate if someone could help me get a better understanding of the issue. And if it is a bug in the 2D Platformer Demo project, should I submit it to the github repo for demo projects?