Custom Nodes in Godot 3.1: Class Name Keyword (tutorial)

preview_player
Показать описание
You can register a GDScript file as a type in your entire project in Godot 3.1 with the class_name keyword. Learn how in this tutorial.

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

One question. You say "as always this project is available on github" but I don't see any links to github in the description or comments. Can you please add one for folks who may not know it already?

AndrewWooldridge
Автор

HOLLY WOW!?? I WAS JUST SEARCHING FOR THIS, 5MIN YOU UPLOAD

acdc
Автор

This is, in fact really super useful! I'm glad you created this tutorial. It was exactly what I was looking for.

AndrewWooldridge
Автор

Hello GDquest. Thank you very much for taking the time to make these videos. If I may ask, could you possibly make a video on how to spawn things without the need of input from the user? May sound silly, but so far, all tutorials I've come across, the add_child call is always reliant on some sort of key press or mouse press. Thank you! Keep up the great work!

annief
Автор

How do you inherit from an abstract base class like BaseButton and make it a concrete class? (I want to make my own button type which inherits BaseButton's features, but implement all the visual stuff myself as it's different from both the standard Button and TextureButton.)

IndividualFreedomNet
Автор

what is ._shoot() (with the leading dot before the underscore)? I don't think I have seen this before.

arturkarlov
Автор

Got a question
That's fine buuut how to implement a non-inherited class? And furthermore include it to my script?

serge
Автор

What is the benefit of referencing the class name to determine the node type vs using the node Group feature?

Ach
Автор

Nice tutorial. Is there any actual advantage of using this other than type check?

josesena
Автор

Didn't your way of talking changed? it seems different from previous videos ! I really like your work by the way !

Kokounet
Автор

It can be confusion if you are using rudimentary assignments. Nice video anyway 😀

Marvin-te
Автор

hard to understand. video is like a show off that presenter knows things.

yapayzeka