Hour 3. Printing Text

This hour takes the next logical step in programming the WP7 with XNA 4.0. You have learned how to create a new Windows Phone project in Visual C# 2010. We will touch on that subject again in this hour while learning about fonts and text drawing code. There are actually quite a lot of interesting features available to us for working with text and fonts in an XNA program. There are several royalty-free fonts included with XNA, which can each be used to draw text in any font point size with special effects such as italic and bold. We will explore the runtime capabilities of the font system to render text in different colors (including alpha blending), color animation, and even scaling.

What You’ll Learn in This Hour:

Creating ...

Get Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.