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

Adaptive difficulty

Adaptive difficulty can be a content generation solution by having enemies carry improved equipment or changing enemy properties such as color and textures. It can also be an Artificial Intelligence question. This is similar to choosing the hard mode at the beginning of a game except, you, the game creator, determine when to engage the hard mode based on some gameplay aspect.

We have already done things such as swapping sprites and changing colors based on strength, so we will be exploring the AI route. We will determine what it takes to adapt the difficulty to the player by changing the AI of the enemy. Eventually, the player will become so strong that one hit from the player will destroy an enemy. So, we want the enemies to ...

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