HTML and CSS Reference
In-Depth Information
First, a Tile Sheet That Contains the Tiles We Want to Paint
to the Screen
We will be using the same tile sheet as in
Chapter 8
(see
Figure 9-12
).
Figure 9-12. The tiles sheet for the scrolling examples
Next, we use the data from a two-dimensional array to paint these tiles to the game screen to
create our game world.