single godot

PCG Secrets: The Art of Procedural Generation in Godot 3


Create rich procedural worlds

This intermediate-level Godot course will teach you fundamental techniques of Procedural Content Generation (PCG).

Tutorials on procedural generation tend to only cover levels and dungeons. In PCG Secrets, we go further than procedurally generating levels and dungeons.

We cover shader-based texture generation and procedural gameplay: generating weapons with modifiers that shoot lasers, homing bullets, and have other random properties as seen in games like Enter the Gungeon.

How the course works

Learning code works best with text. PCG Secrets is a text-based course which means you can search the page, copy and paste code snippets in case you have a typo, and read at your own pace.

It's composed of project-based tutorial series where we introduce fundamental concepts as needed.

This gives you the necessary background to understand each new technique while giving you a concrete goal and result.

We made this course for people who already have some experience with Godot and want to add procedural generation techniques to their arsenal.

Each chapter is laser-focused on the procedural algorithms so you won't waste time re-implementing basic mechanics you already know.

After purchasing the course, you'll get lifetime free updates. All content releases will come at no extra cost.

The course is also available in the Godot Secrets combo bundle with VFX Secrets, Shader Secrets, and PCG Secrets.

What you will learn

You will learn to:

  • Design and layer algorithms to create unique game worlds with code.
  • Use a virtual grid to generate infinite and deterministic worlds.
  • Create weapon modifiers you can combine in any way you want to produce different gameplay.
  • Use great programming practices to keep your code short and easy to read.

And more, all that using Godot's GDScript programming language.

While GDScript is specific to Godot, the techniques you'll learn, like noise generation or the random walker algorithm, are general and apply to any game engine.

We want to help you learn fundamentals you can reuse anywhere.

Perks of this course

With a course like this one, you get more than just tutorials.

You can ask questions and get answers under every lesson on the website. Whether you want to go past the topic or you got stuck, we're happy to help.

We want the content and the code to be yours. That's why all our courses come with DRM-free downloadable lessons. You can take them with you and follow them even off-line, whenever is most comfortable for you.

In most programming courses, the license doesn't allow you to reuse the code you get. Our code is entirely open-source so you can reuse it even in commercial projects.

First, it can be scary to buy a course and realize it is not for you. That's why we offer a 60-day "no questions asked" refund warranty.

If the course doesn't match your expectations and you want your money back, it's as easy as dropping us a quick message.


The course comes with six project-based tutorial series.

Together, we'll explore exciting algorithms such as:

  • Random walker, a popular technique used in games like Spelunky.
  • Deterministic infinite world generation.
  • Guiding randomness with layered blue noise.
  • Generating procedural weapons as in Enter the Gungeon.
  • Shader-based world map generation with rivers and biomes.
  • Powerful dungeon generator based on physics and sparse trees.


To follow this course, you should be comfortable reading and writing code.


  • You should know how to work with Godot’s editor. Things such as adding nodes, resources inside of nodes, and using the Inspector.
  • You should have strong GDScript foundations. We will not cover the basics of the GDScript language in this course.

If you have no experience with Godot, we wrote a complete Free Godot guide for beginners to get you up to speed.

Free and Open-Source

The code from this project is available under Free Software licenses. In short, you can use it and modify it freely, even in commercial projects.

By buying this course, you support GDQuest and the creation of Free Software.

Pay with PayPal

If you would like to pay with PayPal, that is possible.

To do so, please:

  1. Create an account
  2. Send me an email at nathan [at] with the following information:
  • The course or list of courses you want to buy
  • Your Mavenseed account's email
  • Your country of residence

I will send you a payment request via PayPal. Once paid, you will get access to the course within two business days.

If you need an invoice, please tell me and send me your full details.

60 days refund warranty

If you don’t like the course or you didn’t learn anything, send us a message within 60 days after your purchase to get an instant refund!

Just send us your purchase receipt and your account’s email to nathan [at] No questions asked.

Get in touch

If you have questions or need anything, you can:

Course Curriculum
1 Review
  • N
    Natey214 ·

    I have to re-read this one a lot because it is complex and takes time and practice to fully understand. Even with a partial understanding, it has vastly improved the visual appeal of my games and made the RNG world a lot less daunting.