Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | gio_exe |
So I’m kind of new to Godot and programming in general so I tried making a jump sound for when the player presses space, but I’m not sure why it doesn’t work. Here’s my code:
if Input.is_action_pressed("jump") and is_on_floor():
AudioStreamPlayer.play(JumpSound)