Chapter 2. Sprites and 2D Graphics
Now that you have had a brief introduction to what Game Studio is and how to get started, you might as well dive right in and start showing awesome things on screen! Before we get into the more complicated three-dimensional (3D) visuals you see later in this book, we first start with more simple two-dimensional (2D) graphics. In this chapter, you learn the following:
• What 2D means
• Rendering something on screen
• Using the Spritebatch object
• Rendering text
What Does 2D Mean?
What exactly does 2D mean? You can probably guess that it is short for two-dimensional, but what does that mean? Almost all games that you see have visuals on a monitor, a television, or something else that is inherently flat and ...
Get XNA Game Studio 4.0 Programming: Developing for Windows® Phone 7 and Xbox 360® 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.