OverviewThis lab introduces you to XNA Game Studio game development on Windows Phones, as well as to the basics of XNA Game Studio game development. During the lab you will build a simple XNA Game Studio game application that introduces key concepts in XNA Game Studio game development and learn how to use Microsoft Visual 2010 Express for Windows Phone to build and design your XNA Game Studio games for Windows Phones. ObjectivesAt the end of the lab you will have:
PrerequisitesThe following is required in order to complete this hands-on lab:
SetupFor convenience, much of the code used in this hands-on lab is available as Visual Studio code snippets. To install the code snippets:
Using the Code SnippetsWith code snippets, you have all the code you need at your fingertips. The lab document will tell you exactly when you can use them. For example,
Figure 1 Using Visual Studio code snippets to insert code into your project To add this code snippet in Visual Studio, you simply place the cursor where you would like the code to be inserted, start typing the snippet name (without spaces or hyphens), watch as IntelliSense picks up the snippet name, and then press the Tab key twice when the snippet you want is selected. The code will be inserted at the cursor location.
Figure 2 Start typing the snippet name
Figure 3 Press Tab to select the highlighted snippet
Figure 4 Press Tab again to expand the snippet To insert a code snippet using the mouse rather than the keyboard, right-click where you want to insert the code snippet, select Insert Snippet followed by My Code Snippets and then pick the relevant snippet from the list. To learn more about Visual Studio IntelliSense Code Snippets, including how to create your own, see http://msdn.microsoft.com/en-us/library/ms165392.aspx. TasksThis hands-on lab includes the following tasks:
Estimated time to complete this lab: 60 minutes. |
.png)
.png)
.png)
.png)