The Godot editor
- Game Development course
- Beginner
- Lesson 61/83
- 4 min
Learn the main windows of the Godot editor.
The windows of the Godot editor
The Godot editor lives in a single window, and in its middle sits the viewport area where you visually edit the scene. With the tabs at the top you switch between the 2D, 3D, Script and AssetLib views. The Scene panel on the left lists the pieces of the scene, the Inspector on the right gives the properties of the selected piece; FileSystem at the bottom left shows the project files and the Output panel at the very bottom shows messages.
func _ready():
print("Editör hazır")You open code files in the Script view; the small GDScript above runs when you start the game and you see its message in the Output panel.
Play mode and the Output panel
You start the game with the Play button at the top right; Godot runs the scene and the resulting messages are listed in the Output panel. In GDScript you use the print function to write output, and print can write both text and numbers. The _ready function runs once as soon as the scene starts, just like Start in Unity.
func _ready():
print("Merhaba Godot!")
print(2 + 3) # 5These two calls produce two separate lines in the Output panel.
Practice Your first output
Inside _ready, print two lines: first the text Godot editörü, then the result of the 40 + 2 expression. Send both with print.
Starter code
func _ready():
# 1) "Godot editörü" metnini print ile yazdır
# 2) 40 + 2 işleminin sonucunu print ile yazdır
passSample solution
func _ready():
print("Godot editörü")
print(40 + 2)Expected output
Godot editörü 42
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Which central area of the Godot editor holds the 2D and 3D views where you visually edit the scene?
- Inspector
- Viewport Correct answer
- Output
- FileSystem
Explanation: The central view area is the viewport. The Inspector shows the properties of the selected object and the Output shows run messages.
2 The output function
func _ready():
____("Merhaba Godot!")
func _ready():
print("Merhaba Godot!")
Explanation: The function that writes output in GDScript is print; the text inside its parentheses appears in the Output panel.
3 Editor panels
| Term | Meaning |
|---|---|
Viewport |
Central area to edit scene visually |
Scene paneli |
Lists all scene parts |
Inspector |
Shows selected item's properties |
Output |
Shows messages and errors |