Tile-based worlds are a happy incorporation between fully dynamically created worlds and worlds that use a large image for the background. With large images, you create a very detailed and predictable world, but it is very difficult to change. Dynamically created worlds are easy to generate but are often too random. Tile-based worlds let you easily create detailed, predictable worlds in a way such that they are easy to change or modify.
Artists can create amazing images using small pieces of tile or glass. Figure 8 shows a simple tile mosaic. By strategically placing small pieces of colored tiles, you can generate many different types of images.
We will use a similar technique to create a world in Greenfoot, but we will use small actors instead of tiles. Figure 9 demonstrates how we will do this. We will create a set of actors that will...