@TheShaggyDev
  @TheShaggyDev
The Shaggy Dev | 8 changes to GDScript in Godot 4 you'll want to know about @TheShaggyDev | Uploaded October 2022 | Updated October 2024, 3 hours ago.
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: shaggydev.com/2022/10/24/gdscript1-to-gdscript2

Doc links:
Callables: docs.godotengine.org/en/latest/classes/class_callable.html

Await: docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#awaiting-for-signals

Annotations: docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_basics.html#annotations

Exports: docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_exports.html
8 changes to GDScript in Godot 4 youll want to know aboutDeveloping a tactics engine in GodotAn introduction to procedural lock and key dungeon generationImplementing the state pattern in Godot 35 tips for better platformer controlsPixel-perfect collisions on sprites in GodotConfiguring Godots built-in code editor5 more changes to GDScript 2 in Godot 4 youll want to know aboutBuilding a more advanced state machine in Godot 3How to write more flexible game codeAnimating a hardware cursor in Godot - An experimentFixing menu transparency issues in Godot 4

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER