Your First Game 2D Tutorial, Need help with the HUD

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By HeartKnee

So I’m just trying to learn the engine and language, it seems fairly intuitive so far. The issue I’m encountering is having the start menu in the tutorial disappear after you hit the start button. That is to say that the button and start menu don’t disappear at all and the game is currently unplayable. I linked the start_game() signal with the new_game function, it confirms it with the green symbol thing. Any help is appreciated :slight_smile:

:bust_in_silhouette: Reply From: LeslieS

Double check that you are getting to that function (_on_start_button_pressed) by putting a print statement in it or a breakpoint.
I don’t see the button in the node tree in the images so its hard to tell anything beyond that.
I am guessing the start button is not signalled to the _on_start_button_pressed() function properly.

Yup I missed signaling the button being pressed to the function _on_start_button_pressed().

Thank you so much! I really appreciate it :slight_smile:

HeartKnee | 2022-12-18 23:16