Comment Comment by csdreamer7 GDScript is just Python that has some tweaks.For example to preload a child node you put this in a node's member space.onready var enemy = $EnemyVariables needing to be declared with the var keyword is the biggest change in the language.var flag = some_function_result()Other changes include expanding Python with more keywords useful for the editor and game programming.It is very nice for prototyping. Still looking forward to that C# AOT support in later releases. parent csdreamer7 6 years ago
For example to preload a child node you put this in a node's member space.
onready var enemy = $Enemy
Variables needing to be declared with the var keyword is the biggest change in the language.
var flag = some_function_result()
Other changes include expanding Python with more keywords useful for the editor and game programming.
It is very nice for prototyping. Still looking forward to that C# AOT support in later releases.