Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Intro to Programming with Godot & GDScript!
Rating: 4.5 out of 5(112 ratings)
2,543 students

Intro to Programming with Godot & GDScript!

Learn the basics of code in the Godot game engine by writing scripts in GDScript.
Last updated 12/2024
English

What you'll learn

  • Learn how to run scripts in the Godot game engine and write code in GDScript.
  • Use real world examples to frame problems that can be solved through scripts.
  • Discover how GDScript syntax differs from other programming and scripting languages.
  • Apply design patterns that will improve your code in any language or environment.

Course content

1 section12 lectures1h 54m total length
  • Hello, World!8:03

    Learn how easy it is to download, install, and run the Godot game engine. Write and run your very first script in Godot's scripting language; GDScript.

  • Constants & Variables9:11

    What's the difference between a constant and a variable?

    How to manage data while being efficient and providing context to both yourself and the player.

  • If Statements & Conditions9:46

    Learn how to control the flow of scripts using if statements and how different variable types are interpreted as conditions.

  • While Loops & Operators9:23

    Learn how to repeat lines of code, how different operators work and their order of execution.

  • Arrays & For Loops10:32

    Store large amounts of related information in arrays, cast variables to different types, and use loosely-typed variables to store information in different ways.

  • Stacks & Functions10:53

    Use arrays as more dynamic data collections and organize your scripts into smaller functions.

  • Match & Return9:34

    Learn more ways of controlling the flow of your scripts and add return types to your functions.

  • Scene Tree & Inheritance10:21

    Learn how the engine uses the scene tree to run scripts, and use inheritance to give similar nodes common variables and functions.

  • Abstraction & Encapsulation10:41

    Write classes that are easier to use and understand, hiding the complex details of their inner workings. Reference other nodes to access their properties and functions.

  • Polymorphism8:01

    Treat different varieties of similar classes as if they are interchangeable, or check whether or not something belongs to a class.

  • Dictionary8:54

    Discover the differences between Arrays, Dictionaries, and Classes, and how they store information.

  • Debugging9:08

    Learn some different strategies and resources that are available to help you debug your code or provide assistance when you need help.

Requirements

  • No experience necessary, all you need is a computer or mobile device.

Description

Whether you're learning how to use the Godot game engine for the first time, you're used to writing everything in C# and would like to try GDScript, or you've never written a single line of code in your life, you'll learn all of the basics in this course.

We will start by writing our very first script in the Godot Engine using Godot's native scripting language; GDScript.
Then continue writing many more scripts to explore the following programming concepts and practices:

Constants
Variables
If Statements
Conditions
While Loops
Operators
Arrays
For Loops
Functions
Match Statements
Return Types
Scene Tree
Classes
Inheritance
Abstraction
Encapsulation
Polymorphism
Dictionaries
Debugging

You'll be learning both the exact words and how to use them; the syntax of the GDScript language, but also ways to structure your scripts to be flexible, easy to use & understand, by following Object-Oriented Programming (OOP) principles.

If you need any help or would like to ask any questions, we have a discord server you can join by clicking on the website link in my profile, where we discuss game development and help each other on problems that might arise.

After Completing this course, you will have general knowledge of how to use the Godot game engine to write and run scripts written in the GDScript language.  You'll be ready to tackle your first game development course that includes scripting.

Who this course is for:

  • First time programmers or anyone who is new to GDScript.