Тёмный

Inheritance and Class Names - Godot Tutorials 

Arith metic
Подписаться 1,5 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@defective_shotz7035
@defective_shotz7035 Год назад
Normally don't comment much, but this tutorial really helped me get a quick grasp on what I wanted to understand about inheritance so I can use it how I want to use it for my game project. Instant Subscription. I'll be coming back for more tutorials :)
@arithmetic1938
@arithmetic1938 Год назад
I'm glad I was able to help
@VojtechLacina
@VojtechLacina 3 года назад
This is great tutorial, crucial, something , as a beginner, I would understand after some long research. Thank you
@arithmetic1938
@arithmetic1938 3 года назад
I'm glad you liked it.
@ScottiStudios
@ScottiStudios 3 года назад
Thanks for this. Very helpful, quick, and too the point!
@arithmetic1938
@arithmetic1938 3 года назад
I'm glad you liked it. I always try to make the kid of tutorial I would like to watch.
@paulosullivan3472
@paulosullivan3472 3 года назад
Hey thanks your tutorials are great! I know you dont have a huge number of subs but I hope you keep doing these great tutorials it is really helpful! Subbed!!!
@arithmetic1938
@arithmetic1938 3 года назад
Thanks, I'm glad I was able to help.
@LEGnewTube
@LEGnewTube 3 месяца назад
Much thanks for the quick and easy explination
@TheOGRizzlyBear
@TheOGRizzlyBear Год назад
Super helpful, thank you!
@NoirPhoenix
@NoirPhoenix Год назад
This is a great tutorial! Thank you. Very informative. I'm wanting to learn a new engine for the course I'm taking at uni just to make me more "T-Shaped" I guess ahaha. I love inheritance in Unity for character controllers so this is perfect.
@arithmetic1938
@arithmetic1938 10 месяцев назад
I'm glad I was able to help 😄
@WouterLockefeer
@WouterLockefeer 2 месяца назад
Update: in Godot 4.3 (I suppose from 4.0 onwards) the _ready function can be overwritten like any other function. In order to still call it, first call super._ready() in your child's _ready() function.
@lksxxtodin5292
@lksxxtodin5292 Год назад
Thank you!
@arithmetic1938
@arithmetic1938 10 месяцев назад
You're welcome!
@MrBrigadierArchived
@MrBrigadierArchived 9 месяцев назад
thanks for the tutorial!
@arithmetic1938
@arithmetic1938 9 месяцев назад
You're welcome
@Zara-c2t8b
@Zara-c2t8b 2 месяца назад
un video muy util :) gracias por hacerlo!
@Roro-Zoro
@Roro-Zoro Год назад
Thank you
@arithmetic1938
@arithmetic1938 10 месяцев назад
You're welcome 😁
@NOPerative
@NOPerative 3 года назад
YOU are a nerd! Good job. Keep the vids coming; I saw stack frames in your debugger view
@arithmetic1938
@arithmetic1938 3 года назад
I'm glad you like the videos. I'm always trying my best to improve and have professional code, so it's great to here that. As far as GDNative, I haven't really done much with it at the moment, but it's definitely something I'll be looking into in the future. Maybe once I get a good grasp on it I'll try to see if I can do any good tutorial. Thanks for the feedback.
@IndividualFreedomNet
@IndividualFreedomNet 3 года назад
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.)
@arithmetic1938
@arithmetic1938 3 года назад
Just in case anyone else has the same question. You can't. At least not without doing some stuff with c++ that I don't know how to do.
@IndividualFreedomNet
@IndividualFreedomNet 3 года назад
As Arith metic already said, it is not possible with GDScript. (Thanks for your kind help in finding my way to a solution! :-) ) There seem to be 3 possibilities if you ever run into a situation like the one I had: 1. If the Button type you want to create is one that the world was waiting for - or if you're working on a complex project where it might be beneficial for other team members - you can create your Button type in C++ as a first class Godot citizen living besides all the other like TextureButton, ToolButton, etc. But for most types of projects this is overkill, including mine. 2. You can make a scene whose root is a regular Button, disable all the Godot default stuff by making it "flat", set a minimum size, etc., but still use the Button features you need like pressed and draw events, but implement the visual stuff yourself with other child nodes/controls. This is what I did for my current project and it worked great for my purposes. 3. If you want to avoid more of the default Button behavior or if your button type differs significantly, you could also base the new button type on Control and implement it entirely yourself.
@Dorbys_
@Dorbys_ 10 месяцев назад
Thanks👍
@arithmetic1938
@arithmetic1938 10 месяцев назад
Welcome 👍
@Frostbyte-Game-Studio
@Frostbyte-Game-Studio 6 месяцев назад
godot community is the fucking best
@Lost-wu1fp
@Lost-wu1fp 8 месяцев назад
You know that F5 runs the project.. right?
@arithmetic1938
@arithmetic1938 8 месяцев назад
I do now. Thanks 👍
@charliecharliewhiskey9403
@charliecharliewhiskey9403 3 месяца назад
I swear everyone pronounces "godot" differently. Here, go-doT. Elsewhere, goh-doh, goh-doT, gedough, yedough, yedot.
Далее
Button Prompts - Godot Tutorial
5:05
Просмотров 2,9 тыс.
Class Inheritance | Godot GDScript Tutorial | Ep 17
15:16
КВН Случай на физ-ре #shorts
00:31
Просмотров 21 тыс.
🎙А НЕ СПЕТЬ ли мне ПЕСНЮ?🕺🏼
3:06:10
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
How to Use CLASSES in Godot 4 (everything to know)
12:51
Unity Architecture - Composition or Inheritance?
16:24
Get This DIALOGUE System For Your Godot GAME Now
42:50
How to program in Godot - GDScript Tutorial
58:10
Просмотров 737 тыс.
The Future of Game Development
8:58
Просмотров 1,3 млн
C# is BETTER than GDScript but...
5:13
Просмотров 29 тыс.
Do THIS Before You Publish Your Godot Game
3:33
Просмотров 180 тыс.
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 404 тыс.
КВН Случай на физ-ре #shorts
00:31
Просмотров 21 тыс.