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 8. Generating Music

In this chapter, we are finishing up our Roguelike game with the final addition of music. There is still plenty of polishing we can do to the game, such as adding stories or quests, other game sounds, and opening/closing screens. However, the extras can be left to you to finish with your newly acquired knowledge of PCG.

Music is one of the more theoretical subjects we can attempt to procedurally generate. We need general knowledge of how to procedurally generate content and we also need knowledge of music theory so that we can construct a coherent melody. Don't worry, though; we will go through the steps that will give us the information that we need to tackle this task. Here's what you will learn in this chapter:

  • Simple ...

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