Welcome to the Course

Welcome to PCG Secrets!

PCG Stands for Procedural Content Generation. It’s the process of letting the computer generate data and, in this case, content for our games.

We can use algorithms to create levels, terrains, and entire worlds and anything else: characters, weapons, quests, or even conversations. Some are easier than others to do well.

With this course, you will learn a range of techniques you can use to generate parts of your games procedurally.

How to apply what you’ll learn

Random generation is always tailored to a game and its gameplay mechanics. There are no one-size-fits-them-all algorithms that you can directly copy and paste into your projects. Instead, you want to understand the algorithms well and mix or adapt them to fit your game design.

You can see an example with DevDuck’s devlog #7 for his game Dauphin. He took our random walker code for Godot and adapted it to reuse it in his project.

How to use this series

To follow along these lessons, extract the provided Godot project zip file. Alternatively navigate to our open source Godot Procedural Generation project and clone the repository.

Each lesson you’ll be given instructions for copying necessary files and folders from the provided Godot project. Because the way Godot stores file path information, please keep in mind that you have to preserve the same folder structure.