Time for action - set up the Flood Control project

  1. Open Visual Studio Express Edition (If it is already open, select Close Solution from the File menu so you are starting with an empty slate).
  2. In the Visual Studio window, open the File menu and select New Project...
  3. Under Project Type, make sure XNA Game Studio 4.0 is selected.
  4. Under Templates, select Windows Game (4.0).
  5. Name the project Flood Control.
  6. Click on OK.
  7. Right-click on Flood ControlContent (Content) in the Solution Explorer window and select Add | New Folder. Name the folder Textures.
  8. Add another folder under Flood ControlContent (Content) and name the folder Fonts.
  9. Download the 0669_02_GRAPHICPACK.zip file from the book's companion website and extract the files to a temporary folder.
  10. Back in Visual Studio, right-click on Textures in the Content project and click on Add | Existing Item. Browse to the folder where you extracted the 0669_02_GRAPHICPACK files and highlight all of them. Click on Add to add them to your project.

What just happened?

You have now set up a workspace for building Flood Control, and created a couple of folders for organizing game content. You have also imported the sample graphics for the Flood Control game into the project.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.141.6