O'Reilly logo

Sams Teach Yourself, Godot Engine Game Development in 24 Hours: The Official Guide to Godot 3.0 by George Marques, Ariel Manzur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required