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 6. Generating Modular Weapons

PCG is a great way to minimize the number of handcrafted art assets that we need to create for our game. However, it is unrealistic to think that we won't need any art assets at all. We can still use our art intelligently, and with the aid of PCG, a little art can go a long way.

In this chapter, we see how we can create small pieces of art that are combined in different ways to generate bigger and randomly unique assets. We will be creating a modular weapon system. Each piece of art is a module that will attach to another module to create a whole weapon. We can then let the pieces combine randomly to give us surprisingly unique assets.

Here is what you will learn in this chapter:

  • Understanding modular art assets ...

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