Why is it not showing "Game Over!" and letting me start back?

Godot Version

Godot 4

Question

so am following the make your first 2d game documents and I run in to an issue where it does not show “Game Over!” when I get hit can someone help.

Just a guess but you on_player_hit() function is empty. Shouldn’t that call the game_over() function?

I found the problem, i forgot to connect the signal hit() to the function game_over.
Not bc it didn’t have some lines of code in it.

Also remove the func_on_player_hit()

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.