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

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.

主站蜘蛛池模板: 襄城县| 瑞安市| 阿尔山市| 无为县| 鲁甸县| 萝北县| 米泉市| 新丰县| 南投县| 临城县| 泰顺县| 滦平县| 武平县| 西乌珠穆沁旗| 巴青县| 博白县| 滨州市| 山西省| 乐山市| 阿巴嘎旗| 伊吾县| 会东县| 抚宁县| 富蕴县| 磴口县| 台江县| 搜索| 灯塔市| 新河县| 西丰县| 清河县| 阿合奇县| 敖汉旗| 泽普县| 安西县| 佛坪县| 鹤山市| 怀宁县| 石河子市| 阿坝县| 昌黎县|