diff --git a/src/player/Player.cpp b/src/player/Player.cpp index f3abf4f..d60cc1d 100644 --- a/src/player/Player.cpp +++ b/src/player/Player.cpp @@ -2,6 +2,7 @@ #include "Event.h" +#include #include #include #include @@ -129,6 +130,8 @@ void alai::player::Player::_physics_process(float delta) WARN_PRINT("Enemies not found!"); dup->queue_free(); }*/ + auto jump_sound = get_parent()->get_node("Sounds/Jump"); + jump_sound->play(); velocity.y = -get_bounce_force(); } else if (collider->is_in_group("enemy") && (collider->is_in_group("rideable") && godot::Vector2::DOWN.dot(collision->get_normal()) > 0))