
Master the purpose and syntax of comments in GDScript, using the hashtag to mark text that won't be part of the code, helping you note ideas and keep scripts organized.
Capture player input with a line edit, connect a button press signal to a script, assign the input to a variable, and print it to the console.
Demonstrate how parameters and arguments feed methods by passing strings, numbers, and variables, then format and print joined results to customize output.
Demonstrate how if and elif statements work in GDScript, showing how only the first true branch runs, the difference between multiple if statements and elif, and impact of case sensitivity.
Learn the else statement as the end-all catch-all in GDScript, using if and elif before else to handle unmatched cases and convert inputs to lowercase when needed.
Explore how or statements in GDScript handle multiple conditions, showing that only one true check suffices, and demonstrate writing or with both the || operator and the word or.
Demonstrate converting a simple if-else into a one-line ternary operation in GDScript, printing age wins or age loses based on age compared to gravity.
Set a default parameter in the schedule function to time of week and time of day, letting calls without arguments use default values and enabling overrides as needed.
Learn how the in operator checks if one string contains another, with examples like 'wi' in 'kiwi'. Convert numbers to strings using str to use the in operator.
Learn how arrays in GDScript are defined with square brackets, behave as lists or collections, and can hold strings, integers, or mixed types, including empty arrays.
Learn zero-based array indexing in GDScript by accessing and printing items at a position, including the first item at zero and using find and find last.
Learn to build a safe settings system in GDScript that uses a dictionary with sections and keys, saving to and loading from a config file with save and load functions.
Learn to create and emit a custom signal, connect it to a target node or to itself, and implement a response function triggered by text field changes.
Acquire the Godot engine for this course by downloading the standard 64-bit version from the official Godot website, or via itch or steam, with beta releases ahead of stable.
Explore integers and floats in GDScript by declaring variables, performing arithmetic, and using exponents and square roots, with attention to order of operations and converting between int and float.
Learn how constants differ from variables, why a constant cannot change once set and triggers an error if reassigned, and how comments with a hashtag help explain and skip code.
Explore lists (arrays) in GDScript, which store mixed types in order. Access items by zero-based index, use front or back for first and last, and optionally type arrays for performance.
Learn how to use a for loop in GDScript to automate actions on list items, print each item, and manage indentation and scope.
Explore dictionaries in GDScript by building key value pairs inside curly braces, accessing data with brackets or dot notation, nesting dictionaries, adding and overwriting keys, and looping through entries.
Create a new function named process text, pass inputs, and call it via a short alias to shorten code and boost reuse. Explore callable aliases for cross-script functions.
Explore regular expressions and pattern matching in GDScript, learn to compile patterns, search and extract prices, validate emails and passwords, and replace text.
Explore how to structure and save a config file with headings and sections like general, display, and audio, using nested dictionaries and save and load loops.
Build a hangman game UI in GDScript 2.0 with lives and word labels, a guess line edit, and a play again button, plus signal connections and inspector setup.
A comprehensive course on the GDScript programming language. This language is a great starting point being easy enough for a new person wanting to learn to program without any of the intimidation! Whether you've never written a line of code before or are looking to learn a brand new language, this course covers all bases!
Lessons include:
Installation and configuration
Common Programming Concepts and Terms
Objects and Methods
Strings, Numbers, Booleans
Ranges
Arrays
Methods
Functions
and more!
GDScript is a high level, dynamically typed programming language used to create content. It uses a syntax similar to Python (blocks are indent-based and many keywords are similar). Its goal is to be optimized for and tightly integrated with Godot Engine, allowing great flexibility for content creation and integration for software and video game development.