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

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.

主站蜘蛛池模板: 正安县| 徐闻县| 南丹县| 原阳县| 山丹县| 师宗县| 姚安县| 红河县| 通许县| 德惠市| 梧州市| 兴国县| 崇左市| 开封县| 开原市| 江城| 九寨沟县| 广安市| 台前县| 汾西县| 宽甸| 米脂县| 衡水市| 洛扎县| 五莲县| 乌鲁木齐县| 城市| 襄樊市| 长兴县| 区。| 安庆市| 罗甸县| 公主岭市| 尼木县| 牙克石市| 凤凰县| 筠连县| 志丹县| 铜川市| 芒康县| 霍城县|