Godot Components: Structuring Your Game Efficiently
Learn how to organize nodes and scenes in Godot for manageable game development, suitable for beginners and intermediates. ๐ฎ

Godotneers
219.3K views โข Oct 3, 2023

About this video
Hello Godotneers! When you are creating game in Godot, it is often hard to decide how to structure all your nodes and scenes. Which nodes should go into which scene? Which nodes should talk to each other and when? This video explores ways in which you can create self-contained components in Godot and shows techniques that allow components to access other components and communicate with them while still keeping them usable independently.
Contents
===========
00:00 Introduction
01:07 The setup
06:00 Defining components
08:19 Creating components at runtime
10:46 Signals
13:35 Detection with Areas
19:31 Contracts
24:22 Re-use of components
31:12 Detection with slide collisions
35:25 Groups as classifier
41:17 Combining components
47:45 Autoloads
51:53 Custom signals
53:40 Signal relays
58:48 Component access with groups
1:03:05 Call propagation
1:06:22 Configurable node paths
1:10:01 Conclusion
Useful links
===========
Godot Signals - https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html
Godot Physics Introduction - https://docs.godotengine.org/en/stable/tutorials/physics/physics_introduction.html#collision-layers-and-masks
Godot Areas - https://docs.godotengine.org/en/stable/tutorials/physics/using_area_2d.html
Godot Groups - https://docs.godotengine.org/en/stable/tutorials/scripting/groups.html
Godot Autoloads - https://docs.godotengine.org/en/stable/tutorials/scripting/singletons_autoload.html
Contents
===========
00:00 Introduction
01:07 The setup
06:00 Defining components
08:19 Creating components at runtime
10:46 Signals
13:35 Detection with Areas
19:31 Contracts
24:22 Re-use of components
31:12 Detection with slide collisions
35:25 Groups as classifier
41:17 Combining components
47:45 Autoloads
51:53 Custom signals
53:40 Signal relays
58:48 Component access with groups
1:03:05 Call propagation
1:06:22 Configurable node paths
1:10:01 Conclusion
Useful links
===========
Godot Signals - https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html
Godot Physics Introduction - https://docs.godotengine.org/en/stable/tutorials/physics/physics_introduction.html#collision-layers-and-masks
Godot Areas - https://docs.godotengine.org/en/stable/tutorials/physics/using_area_2d.html
Godot Groups - https://docs.godotengine.org/en/stable/tutorials/scripting/groups.html
Godot Autoloads - https://docs.godotengine.org/en/stable/tutorials/scripting/singletons_autoload.html
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
219.3K
Likes
8.5K
Duration
01:12:34
Published
Oct 3, 2023
User Reviews
4.7
(43) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.