Udemy Course Day 8
By GameScribe
Todays goal is Section 4 subsection 33 Signals & 34 Spawning.
Per the Godot documentation, “Signals are a delegation mechanism built into Godot that allows one game object to react to a change in another without them referencing one another. Using signals limits coupling and keeps your code flexible.” Now, do I understand that? Nope, not really. I mean, I understand the idea of it, but until I use them a couple of times and get an idea of their uses, I will probably just be confused about them. But there was a premade signal called screen_exited()
that was used for this lesson. And as the name suggests, it is a premade signal that is activated on screen exit. Cool concept, if you ask me.