Unlock Godot's Full Potential with Components ๐Ÿš€

Learn how to create component-like structures in Godot to maximize its capabilities beyond basic GDScript object orientation.

Unlock Godot's Full Potential with Components ๐Ÿš€
Tienne_k
134.9K views โ€ข Mar 28, 2024
Unlock Godot's Full Potential with Components ๐Ÿš€

About this video

In this video, I talk about making component-like structures in Godot, which I feel is often overlooked.
Yes, GDScript is object oriented, but we have such a powerful tool (nodes) at our hands, we might as well use it to its fullest!
Using nodes as components is so much more flexible than rigid OOP inheritance trees.
Of course, if you over-do it, you'll just be shooting yourself in the foot; ideally you'd want a healthy mixture of both. That's why Godot is so great!

Join our discord: https://discord.gg/VTvG7ZQNdQ
Many people have been asking for a demo project. Here it is!
๐Ÿ‘‰https://github.com/WhoStoleMyCoffee/ComponentsDemo

Btw, the plugin you see me use is a fork of Godot-Vim. Still a work in progress tho.
๐Ÿ‘‰ https://github.com/bernardo-bruning/godot-vim

Music ๐ŸŽต โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•
- Los Encinos by Quincas Moreira
- Bossa Sonsa, also by Quincas Moreira

Timestamps โฐ โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•โ€•
0:00 Demo
0:20 The problem with OOP
1:30 FPS analogy
2:08 ECSs
3:10 Godot as an ECS??
4:40 Handling components
5:44 Conclusion

#godot #godotengine

Video Information

Views

134.9K

Likes

7.6K

Duration

6:12

Published

Mar 28, 2024

User Reviews

4.7
(26)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.