The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

Hi All,

I am verry new to programming and so also new to Godot.
I have followed the tutorial on Godot, but it seems like i cannot get my game to work.
Can someone look over the script of "my game"
It can be downloaded from the following link:

I hope someone can tell me what I did wrong.


in Engine by (29 points)

It's very unlikely that you'll get help with such a non-specific question.

You should include a description of what your problem is. If you are getting an error message, paste it here. If you're stuck on a particular step, describe what's going wrong.

Hi all,

I followed the tutorial on the godot learn page.
But it seems like the start button doesnt want to let the game start.
I get the following error:
"E 0:00:03:0000 Error calling method from signal 'startgame': 'CanvasLayer(': Method not found.
core/object.cpp:1238 @ emitsignal() @ _on

I can not seem to get the start button call the method new game...

1 Answer

0 votes

It's saying there's not a new_game function in This function should be located in your main script. It looks like you didn't connect the button to the right place. When you connect the signal here:

You need to select the "Main" node as the place the signal will be connected.

by (22,191 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.