Learn the tricks of simple procedural generation and how various genres, such as racing simulators, platformers, and roguelikes, can all benefit from these techniques.

In this book, you'll learn how to combine hand-crafted content with algorithms to create immersive and beautiful environments. You'll learn how to create a seeding system, so that you can replay great levels with your friends. We'll cover how to create good tilesets, how to use the tilemap editor effectively, and how to inject just the right amount of logic into an otherwise automated machine that is your own personal procedural content generation engine.

We will use 2D examples to demonstrate the concepts covered throughout the book. By the time you complete this book, you’ll have a good handle on how to add procedural generation to your games.

What You Will Learn

  • Learn to set up the perfect content generation system 
  • Master the tools for randomization and repeatability
  • Understand how much content to craft versus how much to generate

Who This Book Is For

Basic familiarity with the Godot engine and GDScript is essential. While all concepts are explained in the book, it can be overwhelming learning these techniques at the same time as learning the engine.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Hand-Crafted Content vs. Procedural Content
  4. 2. Generating with Nodes
  5. 3. Generating with Tiles
  6. 4. Recreating Sokoban
  7. 5. Designing Levels in Pixel Art
  8. 6. Creating a Seeding System
  9. 7. Recreating Bouncy Cars
  10. 8. Navigating in Generated Levels
  11. 9. Collective Nodes in Generated Maps
  12. 10. Recreating Invasion
  13. 11. Paths and Path Followers
  14. 12. Interaction Systems
  15. 13. Recreating This War of Mine
  16. Back Matter