Summary

For this chapter, we couldn't avoid adding in some art assets, but we were able to take those assets and multiply them. We figured out a good way to randomly place Items by implementing some health Items. Then, we expanded on that by spawning Chests that contain random armor Items. We only used two sprites for our armor Items but turned them into essentially eight different items.

You learned how to take some elements in our game environment and use them to our advantage, such as the wall tile yielding food items. You learned how to take a more subtle approach to randomly spawning assets into the game. We used highly guided PRNs to determine types of Items. You learned how to use something such as color to change the look of an item enough ...

Get Procedural Content Generation for Unity Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.