Table of ContentsConclusionA New World

Chapter 11. The World

Most action and adventure games need levels (or worlds) in which the hero can roam. In this chapter, you'll walk through how to add a level system to the game, including support for multiple layers (backgrounds), and rendering, as well as how to generate level content using either code (such as a random level generator) or map editors. You'll also look at how to improve performance by better managing your objects.

    Table of ContentsConclusionA New World