#Keep getting these errors

4 messages · Page 1 of 1 (latest)

hollow seal
#

I tried following the Your First 2D Game tutorial and I kept getting these errors. The games seems to run fine. Should I just ignore them? What did I do wrong?

#

Sorry just realized a dialog box was blocking some text

worn whale
#

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 connect statement 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.
hollow seal