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 ...
Get Sams Teach Yourself, Godot Engine Game Development in 24 Hours: The Official Guide to Godot 3.0, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.