I’m new to godot engine. I’m taking the lesson “My first 2D Game”
I wrote the entire code - from beginning to end, and I did not have any problems with any part of it, but specifically with TIMERS - everything went downhill
I followed everything written in the tutorial:
Called a signal via {timeout()}, connected it to the “Mane” Node
I wrote the code, and everything works fine for me except the timers. NONE of the timers are working. Maybe I don’t understand something, or missed something???
I wrote myself an easy code example to check if the Timer actually works and if it doesn’t. And the code does not cause any error - the TIMER does not turn on silently
Did you connect the OnTimerTimeout() function to the timeout signal of the Timer? You can select the Timer node, click on the Node dock on the right and in the Signals tab you double click on the timeout signal and choose your function to connect to.
Also, if you are using C# you have to specify the type of the Timer node when you get it GetNode<Timer>("Timer").Start();
This is the problem. You need to connect to OnStartTimerTimeout. It won’t auto convert the name of the function you’re connecting to from snake case to PascalCase.