Jump to content

GDScript

From Simple English Wikipedia, the free encyclopedia
Revision as of 19:08, 13 December 2024 by Marsandy (talk | changes) (I added a short article about GDScript.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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