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

Building your first game

XNA attempts to simplify many of the basic elements of game development by automatically handling things, such as the game update loop and presenting the current frame of graphical information to the display. To illustrate just how much of the background work is integrated into the XNA project templates, let's jump in straight away and create your first game within a few minutes of finishing the installation.

Tip

Visual Basic versus C# - tutorials and samples on the web

With a five-year headstart on Visual Basic developers, there are a host of XNA tutorials, code samples, and forum posts written for C# out on the Internet. In the interest of being able to utilize these resources, I will occasionally point out topics or sections of code and their equivalent in C# notation.

In SquareChase, we will generate randomly positioned squares of different colors while the user attempts to catch them with their mouse pointer before they disappear. While building the project, we will discuss each of the major code sections pre-defined by the XNA templates.

主站蜘蛛池模板: 阿荣旗| 武陟县| 阳西县| 宁化县| 日喀则市| 吴堡县| 名山县| 神池县| 吴堡县| 三明市| 延川县| 普宁市| 宜黄县| 靖安县| 桐乡市| 开阳县| 武宁县| 柳江县| 密山市| 年辖:市辖区| 宾阳县| 镇沅| 宝鸡市| 徐州市| 东辽县| 合作市| 于都县| 宽甸| 新化县| 沁源县| 宜都市| 龙山县| 延边| 桐柏县| 英德市| 南阳市| 同江市| 阜城县| 姚安县| 项城市| 泰顺县|