Jump to content

GDScript

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
An overview of the language.

GDScript is a programming language that is used for the game engine Godot. This language is similar to Python, with syntax and arguments alike.

Example

Here is an example of the GDScript Language:

extends Sprite2d

# This code is going to print Hello World.

func _ready():
    print("Hello World!")

Reference

https://docs.godotengine.org/en/stable/getting_started/introduction/index.html