8 changes to GDScript in Godot 4 you'll want to know about

Опубликовано: 25 Октябрь 2022
на канале: The Shaggy Dev
34,748
1.5k

Here are five things that are different in GDScript from Godot 3 to Godot 4, along with three new features that you may want to know about. Here's the changes we'll look at: the introduction of Callables, the "await" command, calling functions from a superclass, changing scenes, and annotations. Additionally, we'll look at a few new additions to typing variables in GDScript 2.

Text post and code snippets: https://shaggydev.com/2022/10/24/gdsc...

Doc links:
Callables: https://docs.godotengine.org/en/lates...

Await: https://docs.godotengine.org/en/lates...

Annotations: https://docs.godotengine.org/en/lates...

Exports: https://docs.godotengine.org/en/lates...