Signals in Godot 4: Everything You Need to Know as Beginner

preview_player
Показать описание
In this video we cover the basics in using Signals in Godot. This video should help you understand better how to trigger events and pass information between scenes by using signals and get insights into how they work together with other nodes to convey the message to another node.

00:00 Intro
01:01 Short Setup
02:10 Connect Signal by Editor
03:56 Connect Signal through Code
05:56 Customized Signals
06:15 Emitting Customized Signals
07:30 Connect Customized Signals
Рекомендации по теме
Комментарии
Автор

Leave an emote in the chat if you liked the video! Get notified upon new tutorial releases by subscribing and hitting the notification bell! 🙂
Thank you so much for your support! ❤

LioGoesIndie
Автор

You answered a big question I had about how to connect signals with any node!!!

Joao-bqys
Автор

There are many videos with the same topic, i watched many of them, but the simplicty and clarity of that one make it my favorite.

cyrilduchange
Автор

I think this finally got signals to make sense to my brain. Thank your for the breakdown on emitting and connecting signals.

fevryslea
Автор

Thank you so much! Great explanation video :D

taufan
Автор

Pretty good, made easy to understand.
But it is still confusing how it works.
You had to duplicate a code (checking value when editing and when receiving).
I think slso when there is dozens of nodes interacting with each other, sending, receiving. You have to go in both, abd for each interaction create fx for sending and emitting, and create a third scene that contains both to manage the signals.

Anyway, it might have a better way to implement signals. I think I'm going to see what people think about it on godot forums.

marverickbin
Автор

One suggestion. Just have your player emit a health_changed event in all cases with the new value. Then have your HurtFrame handle the calculation logic for the overlay. If you decide to use 25% instead of 50%, for example, then you only have to change the logic in one place.

JayDellinger
Автор

Thank you for this tutorial. Signals simplified. Can you please show how can we connect signals in scenes which are neither the child or sibling of each other.

rhibhu
Автор

Great video, good tutorial! just try zooming in more; it's hard to read the letters.

leonardogomes
Автор

I have a question:
Is there a way to make two scene communicate if the scene that need to receive the signal is being instanciate in the other one (instead of being there from the beginning)?

bababonzio
Автор

I wish you did area3d signals instead of button signals.

lvredchocobo