ABSTRACT

There are several ways we may add text to our games. One simple technique that we used in earlier examples is to display a picture that contains prerendered text. Displaying text as part of a picture works just fine for an opening screen, a winning or losing message, or simple dialogs. In this chapter, we will examine two different techniques for displaying text. The first technique we will examine uses sprites to display individual letters from a larger texture image.