官术网_书友最值得收藏!

Time for action – setting up the Flood Control project

  1. Open Visual Studio Express Edition (if it is already open, select Close Solution from the File menu so that 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 2403_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 2403_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.

主站蜘蛛池模板: 甘洛县| 西青区| 沐川县| 勃利县| 肇州县| 桐乡市| 延吉市| 全南县| 霍林郭勒市| 沙田区| 广元市| 常山县| 沧州市| 达日县| 太康县| 共和县| 驻马店市| 江城| 中方县| 孟村| 德州市| 玉屏| 枣庄市| 三台县| 伊金霍洛旗| 昌乐县| 姚安县| 隆德县| 观塘区| 博乐市| 临沭县| 枣庄市| 沁阳市| 德州市| 日照市| 崇明县| 章丘市| 祁阳县| 南江县| 蓬安县| 连城县|