
Explore G.D. script programming language by building games and software, using particle effects, retro or hd exports, and map tools for ground painting, landmarks, rivers, paths, mountains, trees, and villages.
Explore the Godot IDE and GDScript with real-world templates and examples, from games to software and mobile apps, and learn how to export your projects.
Learn to print to the console in Godot using GDScript by creating a new project, attaching a script to a control node, and writing messages with print, quotes, and concatenation.
Master GDScript arithmetic by using print to evaluate addition, subtraction, multiplication, division, and advanced operations like power and square root, including integer vs floating division and expression chaining.
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.
Declare and manipulate variables in GDScript by assigning integers, floats, strings, and booleans, enforce types with colon annotations, and print results while respecting case sensitivity and naming conventions.
Learn how constants differ from variables in GDScript: assign a fixed value (like gravity) with a specific type, print and use it in calculations, but never change it.
Explore object methods for strings and other types, and apply length, to upper, to lower, capitalized, and trim prefix or suffix.
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.
Learn how to interpolate text in GDScript using string concatenation and percent formatting, and display the result on screen by binding variables to a text node.
Learn to round integers and floats in GDScript with round, convert between types, and apply .5 or higher to round up.
Learn to convert between integers, floats, and strings in GDScript, including converting numbers to strings for display and parsing strings back to numbers.
Learn how booleans work and master equality and inequality operators in GDScript, including numeric and string comparisons, case sensitivity, and simple techniques for case-insensitive checks.
Master the greater than and less than operators in GDScript, returning booleans to compare floats and integers, including greater than or equal to and less than or equal to.
Learn to define methods in GDScript as reusable bundles of statements using func and a name without spaces. Call methods from ready to avoid repeating code and keep scripts clean.
Learn how local variables exist only within a method, overshadow global variables with the same name, and how scope affects printing and access in GDScript.
Demonstrate how parameters and arguments feed methods by passing strings, numbers, and variables, then format and print joined results to customize output.
Learn to use if statements to control code flow by testing conditions like age >= 13, character length, and string comparisons; execute code when true and skip when false.
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.
Explore nested if statements and calling functions within functions in GDScript, using time of day with weekday and weekend branches, and refactor into weekday and weekend methods for cleaner code.
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 to implement a while loop in GDScript, print numbers 1 to 10, increment the counter, and use yield with a timer to pause two seconds between iterations.
Explore ranges in GDScript by creating numeric ranges, iterating with for loops, printing as arrays, counting by steps, computing size, and generating random ranges and random integers with randomize.
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 how to manipulate arrays in GDScript with methods like append, clear, count, empty, insert, remove, and invert, including printing and checking emptiness.
Learn how to convert a string into an array in GDScript by using split with space or comma delimiters, control the number of pieces, and handle missing delimiters.
Explore dictionaries in GDScript, defined with curly braces for key‑value pairs and multiple data types. Learn to access, modify, and append entries, including arrays as values.
Explore practical GDScript techniques for string to number conversions, such as int and float, hashing with sha256, and using built-in docs, while identifying redundant patterns.
Learn to capture keyboard input in GDScript using the _input(event) function, filter for input events, and map keys like KEY_0 or KP_0 to trigger actions or print.
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 query the operating system in GDScript, obtain the OS name, date, time, and screen size, and adapt UI by enabling features or locking the window to the screen.
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.
In this exercise, collect input from a line edit, convert it to a float, compute pi times r squared to find the circle area, and display the result.
Practice a hands-on exercise in GDScript by using a button and display text or a function with parameters to determine if a number is odd or even.
Practice taking keyboard input in GDScript, detect the esky key press, and print a five-line star pattern from 1 to 5 using either multiple prints or newline escapes.
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.
Create a new GDScript project by using the project setup screen, naming and locating your folder, choosing a renderer, and enabling git version control while exploring asset library templates.
Learn how to set up a GDScript script on a control node, run project, and print to console with hello world, including tab between objects and print raw for logs.
Learn how to declare and use variables in GDScript, assign and update values, and print results, while following naming rules, avoiding reserved keywords, and ensuring clear, descriptive names.
Master strings in GDScript by declaring with quotes, annotating types with colon or walrus, and using methods like capitalize, upper, lower, and percent placeholders.
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 to manage dynamic lists in GDScript using append to add, insert at a position, remove by index, and pop front or back to return the removed item.
Learn the push front and push back methods in GDScript, then sort lists and measure their size, including handling numbers versus strings and mixed content.
Learn how to use a for loop in GDScript to automate actions on list items, print each item, and manage indentation and scope.
Explore using range with for loops to repeat actions and generate number sequences between bounds. Start from zero; the upper bound is exclusive, and you can build lists like squares.
Master how if statements and equality checks guide decisions in GDScript, using double equals, true or false, not equal, and comparisons like greater than and less than.
Master if, elif, and else chains in GDScript, employing comparison operators, logical conditions, and membership checks to control program flow. Apply real-world examples like age-based pricing and stock status.
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.
Learn to receive user input in GDScript by detecting key presses and line edits, using the process loop and input map actions to drive flow and exit.
Explore while loops in GDScript, counting up with a condition, using break to exit, and manipulating lists and dictionaries by popping items and removing duplicates.
Explore how to define and call functions in GDScript, use arguments and type hints, defaults, and proper parameter order to keep code clean and modular.
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.
Define and instantiate classes in GDScript, extend Node, and call new to create instances; use init to set name, age, and type and provide change methods.
Explore regular expressions and pattern matching in GDScript, learn to compile patterns, search and extract prices, validate emails and passwords, and replace text.
Learn to save and load text files using a user file path, open files for writing, store strings, and read data back with existence checks to handle missing files.
Save and load JSON files in GDScript by encoding nested dictionaries, using the store method to write data, and parsing with JSON, including checks for file existence and error handling.
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.
Learn how to build a random word guessing game in gdscript 2.0, using word lists or dictionaries, display underscores, manage lives, and track guesses.
Implement win and lose conditions in a GDScript project by checking the word display, updating the result text, managing lives, and enabling play again.
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.