Godot 4 Crash Course #5 - Custom Signals

preview_player
Показать описание
In this Godot 4 tutorial series, you'll learn how to make games easily using Godot 4.

🚀🥷🏼 Get early access to this entire course now on Net Ninja Pro:

💻🥷🏼 Python Crash Course:

💻🥷🏼 Modern JavaScript Tutorial:

Рекомендации по теме
Комментарии
Автор

This is rather well conceived in term of Engine workflow. Had some experience with Unity and I find it far more convulated, less clear for me so a win for Godot.

MathieuCruzel
Автор

thank you for the tutorial, I understood built-in signals like area/body enter or timeout but had trouble with custom ones, your video really helped me ❤

bubblegum_lord
Автор

YOU
ARE
GREAT
AT
DOING
THIS
This is exactly what i needed, thank you

topminator
Автор

"it doesn't feel particularly elegant"
what a line :))

bookofzed
Автор

2:23 come on man, the correct term is "pew pew"

slenkhar
Автор

Very nice videos! Thanks again for the great content

xplodergr
Автор

At this point I have to rewatch the first couple video again because it's like a couple days later from when I first started this.

NoraNoita
Автор

These videos are good for learning the building blocks.
I'm doing this in C# just because I know it pretty well and vastly prefer statically typed languages, but good god is the documentation for it horrible.
I spend more time trying to find equivalents to some of these things than I do watching the actual video.

jakezepeda
Автор

Lets goo ... From 52 hours of web development to godot i am in 💀🖐💐... Thank u for ur hard work NINJA

FRESHxLEMONxSLICES
Автор

Outstanding Game Development Tutorial.... Any tip for being a quick and good game developer ?

kingshahzad
Автор

Great videos, I'm enjoying following all this guide as it's very clear and I think tackles a lot of beginner frustrations!

One question with regards to the custom signals. In your example, the player scene exists under the Level scene, so when you come to "connect" them in the editor panel it works as they all show in the same node tree. If you also instantiated Player in code and added it to the Level scene via add_child, how would you connect the signal then? If I have a nested scene/node that doesn't appear in the hierarchy in the editor but is added by code I'm struggling to see how I connect the signal, especially when parameters are involved.

thanks

tomtech
Автор

i was expecting to do collision of laser to the outspace stone lol ... nice video though... i am struggling to use custom signal for collision

FateflyYip
Автор

Finally everything is working fine now

the_blue_hole
Автор

i have an issue
Whenever I enter the parameter for position, it shows up as (pos:variant) instead of (pos:var) which then leads it to track the origin of the scene instead of my player character, please help

unspokengamer
Автор

awesome tutorial! I am brand new to any of this but have followed along pretty well. I think I would be happier just making assets then designing the game lol I will leave this comment in hopes someone may help me answer it. When I hit spacebar to shoot the laser it takes me out of the game and says. Invalid type in function "add_child' in base 'NODE2D' cannot convert argument 1 from bool to object. What did I miss? lol Its all way over my head but its been fun

craftycub
Автор

Okay my lasers seem to spawn from the position of the last laser fired. Once that leaves the screen, they're no longer visible..Thoughts?

jbaisden
Автор

if we had to add the meteors as instances in the lever scene, how come we didn't do the same for the player scene? we just added it to the level scene?

sukaina
Автор

I am making a card game where my cards are a scene with Area2D as parent. I instantiate the scene into my game scene through code. The card has mouse_entered signal attached to it in its script, which works when i run the card scene alone. But after i instantiate it to the game scene the signals dont work. Any idea what is causing this?

alexanderouseph
Автор

I used
position += Vector2.UP * speed * delta;
for the laser

rootbindev
Автор

Not sure if someone can help me, for some reason after I make the laser script, for some reason the spawn point of the laser start to go up, If I move the laser still moves with me, except that start to shoot from the new starting point (x always follow my player, but I start to go up). I used print and the laser start to move even if i don't press anything, and when I press it only works for instantiate the laser sprite...

jacobmartin