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

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.

主站蜘蛛池模板: 湘乡市| 台湾省| 沾益县| 绥江县| 西乌| 获嘉县| 海原县| 通化市| 乃东县| 盐城市| 巴青县| 永泰县| 于都县| 三河市| 新丰县| 津市市| 紫阳县| 慈溪市| 永春县| 青川县| 茂名市| 茌平县| 池州市| 常宁市| 鱼台县| 康定县| 平昌县| 呼和浩特市| 博野县| 东台市| 安新县| 江口县| 博罗县| 五大连池市| 民和| 高邮市| 洪雅县| 桐城市| 沙湾县| 蓬莱市| 望都县|