O'Reilly logo

3D Game Programming for Teens, Second Edition by Eric Grebler, Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Text

You may be thinking to yourself, This is 3D game programming; why do I need text? Text can actually play a very important role in your 3D games since it allows the game to communicate with the players. If you think about it, text is a part of almost every game that you play. Some examples of how text is used in your games include: your score, the amount of ammunition you have left, your health, your current level, the time you have left, and your position.

Adding text to your game is quite easy in Blitz3D. You simply have to indicate where on the screen you want the text to appear and what you want the text to say. You can also add variables to your text so that changing information can also be displayed.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required