I'm not overly familiar with the tutorial but it looks like you've attempted to connect the hit
signal on the Player
node to a non-existent game_over()
function in the Player.gd
script.
Instead, I think you want to connect that signal to the EXISTING game_over()
function found in the Main.gd
script.
You can fix that by right-clicking the errant signal (in the Signals tab), selecting Edit
, and selecting the Main
node in the dialog that opens.