Hour 4. Scripting
What You’ll Learn in This Hour:
• The relationship of Objects and Scripts
• Basics of GDScript
• Signals and Groups
Many games shine because of their unique or well-polished game mechanics. Most behaviors need manual programming, which can often be quite complex. Godot features a scripting system with which you can implement those systems and it encourages you to apply many battle-tested patterns of software engineering.
This fourth hour will show you how to use GDScript, Godot’s custom scripting language, to give nodes and objects custom behaviors. It shows how to create scripts, attach them to objects and nodes, and make them interface with other objects. We will see how you can use predefined and custom signals to decouple ...