|Topic was automatically imported from the old Question2Answer platform.
I’m doing the beginners tutorial here:
I was following it fine, but about 3/4 of the way in, everything becomes very confusing and it stops specifying what scene to put code into. It’s the part that starts with “Next, select the Player node in the Scene dock, and access the Node dock on the sidebar. Make sure to have the Signals tab selected in the Node dock.” (I can’t link it but you can Ctrl+F it)
It’s saying to make a game_over function and a new_game function, but making those in the Player.gd script doesn’t work, the IDE says “The identifier “score” isn’t declared in the current scope.” I thought I would try moving these functions to the Main.gd script, but that didn’t work either.
In any case I’m at the “Testing the scene” part and it won’t even run. Any ideas? Also any recommendations for better tutorials to use, this is just what I’m seeing on the website.