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

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.

主站蜘蛛池模板: 五大连池市| 额敏县| 勐海县| 彭州市| 阳朔县| 伊春市| 贺州市| 宜都市| 且末县| 镇宁| 浦北县| 建德市| 灵川县| 灵武市| 京山县| 南涧| 井冈山市| 特克斯县| 枣阳市| 城固县| 铁力市| 河东区| 浦北县| 册亨县| 台北县| 乐都县| 临洮县| 马公市| 泰安市| 平顶山市| 英吉沙县| 武鸣县| 海城市| 罗定市| 财经| 九江县| 全州县| 东明县| 高平市| 嘉鱼县| 长白|