What is GDScript?
A high-level, dynamically typed language made specifically for Godot.
What is the syntax of GDScript similar to?
Python.
What is the purpose of GDScript?
To control nodes, write gameplay logic, and handle interactions.
How do you attach a script to a node in Godot?
Right-click the Node2D scene → Attach Script → pick GDScript.
What does ‘extends Node2D’ do in a GDScript?
It allows the script to inherit the behavior of Node2D.
What is the purpose of the _ready() function?
It runs when the node enters the scene tree.
What does the delta parameter represent in GDScript functions?
Frame time, preventing movement speed from depending on FPS.
What is the purpose of the Input class in Godot?
To handle keyboard or mouse input.
What is a signal in Godot?
A way for nodes to communicate without tightly linking code.
What does the function _on_Button_pressed() do?
It runs when the button is pressed.
What is a simple player controller script’s main function?
_physics_process(delta).
What does the move_and_slide() function do?
It moves the character while considering physics.
What is a variable in coding?
A ‘box’ that stores information.
What are the main data types in GDScript?
What is a function in GDScript?
A set of instructions you can reuse.
What does ‘extends’ mean in GDScript?
It indicates that a script inherits the abilities of another class.
What is a loop in programming?
A structure that repeats something multiple times.
What are the two main kinds of loops?
What is an if statement used for?
To check a condition and run code if true.
What is a signal in the context of game coding?
An event that occurs in the game world.
What does the term ‘frame’ refer to in gaming?
One ‘picture’ of your game.
What does delta represent in game coding?
The time difference since the last frame.
What is a collision in game development?
When two objects bump into each other.
What does physics refer to in game coding?
Rules that simulate movement, gravity, bouncing, friction.