O'Reilly logo

Procedural Content Generation for Unity Game Development by Ryan Watkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Generating an Endless World

Our base project is setup and ready to be expanded upon. You received an intro to PRNs and PCG by making a quick Hello World program. However, it is time to develop a fully functional PCG algorithm that can be directly applied to our Roguelike game.

Our game has the base functionality of a player character capable of movement by player input. In this chapter, we will create the tile-based Game Board that the player will explore. This Game Board will expand itself as the player moves, and as there are no bounds, the board is potentially infinite. In this chapter, you can expect:

  • To learn about dynamic data structures
  • To design our first PCG algorithm
  • To set up a scene that allows for an ever expanding game world ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required