This sample code is associated with a series of articles that shows how to write a simple three-dimensional game for Windows Phone 7. The articles are titled Building 3D Games for Windows Phone. The final Marvelous Maze game lets the user explore a simple maze looking for treasures and overcoming obstacles to reach a final goal. This article explains how to create objects in three-dimensional space. It explains how to transform those objects and use projections to display them in a Windows Phone 7 game. It explains a simple 3-D example and how culling lets XNA draw closed solids more efficiently.

Building the Sample

This article is intended for .NET developers who are familiar with the C# programming language and the basics of Windows Phone 7 application development. It assumes you have the necessary hardware to run the Windows Phone 7 emulator, that you have installed Visual Studio 2010 Express for Windows Phone (or some more powerful version), and that you have installed Microsoft XNA Game Studio 4.0.

This article also assumes you have basic knowledge of displaying two-dimensional objects in Windows Phone. You can still read the articles and learn about the three-dimensional aspects of that information without knowing how to display two-dimensional objects but a few of the display features will not make as much sense. For an introduction to displaying two-dimensional objects in Windows Phone, see “How to: Create Your First XNA Framework Application for Windows Phone” at

More Information

For more information, see the articles at Building 3D Games for Windows Phone.