Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Learning GDScript by Developing a Game with Godot 4

Packt via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
This course provides a comprehensive introduction to programming with GDScript 2.0 and game development using the Godot 4 engine. By the end of this course, learners will have developed key programming skills while gaining hands-on experience creating a game from scratch. These skills will help open new opportunities in the rapidly growing gaming industry. The course guides learners step-by-step through the fundamentals of programming and game design, empowering them to create immersive games. With a practical approach, you'll apply what you learn in real-world scenarios to craft an engaging interactive experience. What sets this course apart is its focus on combining theory with hands-on projects. Learners will develop a fully functional game while mastering GDScript and the powerful tools of the Godot 4 engine, which is widely used in game development. This course is perfect for beginners as well as experienced developers or game designers who want to develop games using Godot 4. A basic understanding of programming concepts is recommended, but prior experience with Godot is not necessary.

Syllabus

  • Setting Up the Environment
    • In this section, we introduce Godot Engine and open-source software, guide installation, and create a new project with initial code in GDScript.
  • Getting Familiar with Variables and Control Flow
    • In this section, we explore variables, data types, and control flow to manage game data and make decisions in code. Key concepts include constants, if statements, and improving code readability.
  • Grouping Information in Arrays, Loops, and Dictionaries
    • In this section, we explore arrays, loops, and dictionaries to efficiently store, process, and organize data in programming applications.
  • Bringing Structure with Methods and Classes
    • In this section, we explore functions and classes for code reuse and structure. We cover type hinting and object-oriented programming principles to enhance clarity and efficiency.
  • How and Why to Keep Your Code Clean
    • In this section, we explore clean coding practices including consistent naming, focused functions, and DRY principles to enhance code readability and maintainability.
  • Creating a World of Your Own in Godot
    • In this section, we explore Godot's node-based system, create player characters, reference nodes in scripts, and export variables for dynamic game interactions.
  • Making the Character Move
    • In this section, we explore 2D vector math and Godot's physics engine to implement character movement and debug live game behavior effectively.
  • Splitting and Reusing Scenes
    • In this section, we explore splitting and reusing scenes in Godot to improve scalability and efficiency. Key concepts include saving branches as scenes, instantiating them, and organizing scenes for better project management.
  • Cameras, Collisions, and Collectibles
    • In this section, we implement a camera that follows the player, set up collision systems using RigidBody2D and StaticBody2D, and create collectibles with collision layers and masks for interactive gameplay.
  • Creating Menus, Making Enemies, and Using Autoloads
    • This section covers menus, enemies, and score tracking to enhance gameplay and player interaction.
  • Playing Together with Multiplayer
    • In this section, we explore LAN multiplayer networking, using MultiplayerSynchronizer and MultiplayerSpawner to synchronize player data and ensure consistent game states across devices.
  • Exporting to Multiple Platforms
    • In this section, we explore exporting games for Windows, Mac, and Linux, uploading to Itch.io, and adapting for web and mobile platforms, emphasizing cost-effective distribution and accessibility.
  • OOP Continued and Advanced Topics
    • This section covers advanced OOP techniques like the super keyword, static variables, and lambda functions.
  • Advanced Programming Patterns
    • In this section, we explore programming patterns like event buses, object pooling, and state machines to improve communication, resource management, and behavior control in game development.
  • Using the File System
    • In this section, we explore file system operations and design a save system using user paths and file paths to store and retrieve game data efficiently.
  • What Next?
    • In this section, we explore generating game project ideas, learning new topics through tutorials and documentation, and engaging with the Godot community to enhance practical game development skills.

Taught by

Packt - Course Instructors

Reviews

Start your review of Learning GDScript by Developing a Game with Godot 4

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.