#Keep getting these errors
4 messages · Page 1 of 1 (latest)
Those in yellow are warnings, you can ignore them - they're there to warn you in case you did something unintentional, but not necessarily erroneous. Like not using the 'body' variable even though you declared it as one of the parameters.
Those in red are errors, and those you shouldn't be ignoring unless you know what you're doing. In this case, it's saying that it can't find the signal that's supposed to react to the "hit" signal, _on_Player_hit
It could be for the following reasons:
- The function literally does not exist where the
connectstatement happened. The solution is to create it. - The function exists, but the parameters list does not match the signal being emitted, so the version that the signal is searching for "does not exist". The solution is to make sure the function parameters match the signal being emitted.
In the tutorial I renamed _on_Player_hit() to game_over. Is that what it was referring too?