Introduction to signals in the Godot game engine
Watch the new and updated tutorial: https://youtu.be/NK_SYVO7lMA
Learn how to use the powerful Signals in Godot, and what signals and the observer pattern are.
Make Professional 2d Games (Kickstarter): https://gdquest.mavenseed.com/courses
----
Signals are one of those features that are extremely useful. Once you know how it, you will use it all the time. It is Godot’s implementation of the Observer pattern, an extremely common one that limits the coupling in your code. Instead of having if statements everywhere, you let your script emits a message and another object, registered as the Observer listens it. Godot calls that signals: a node emits a signal, and if another one is connected to it, it will react in consequence.
Daily tutorials series! 26/30
The playlist: https://youtube.com/playlist?list=PLhqJJNjsQ7KEr_YlibZ3SBuzfw9xwGduK
Project sources on Github: https://github.com/GDQuest/Godot-30-days-tutorial-challenge-2017
This tutorial is supported by:
- Gamblify: https://www.gamblify.com/
- Pineapple Works: http://pineapple.works/
Subscribe for more tutorials! https://youtube.com/c/Gdquest?sub_confirmation=1
Twitter ► https://twitter.com/NathanGDquest
This video is licensed under the CC-By 4.0 license: https://creativecommons.org/licenses/by/4.0/
You can attribute it to "GDQuest and contributors - https://www.gdquest.com/"