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

Summary

As a quick-fire introduction to a number of essential XNA topics, Speller covers quite a bit of ground. We have a functional game that accepts player input, draws graphics and text to the screen, generates a random playfield of letters, and detects player collision with them. We got an overview of the structure of an XNA game and the basic Update()/Draw() game loop.

As we will see, many of these concepts translate into a 3D environment with very little need for modification, other than the need to keep track of positions and movement with an extra dimension attached. We will utilize the Vector3 objects instead of the Vector2 objects, and we will still rely on a 2D plane for much of the layout of our game world.

Additionally, although much of the work in the following chapters will take place with 3D drawing commands and constructs, we will still be returning to the 2D SpriteBatch and SpriteFont classes to construct interface elements and convey textual information to the player.

主站蜘蛛池模板: 凉城县| 宁城县| 玉环县| 贞丰县| 昌宁县| 小金县| 潢川县| 忻城县| 东山县| 灵石县| 庄浪县| 芦山县| 东安县| 锦屏县| 大宁县| 沙坪坝区| 凤台县| 镇宁| 盐边县| 英超| 长春市| 聊城市| 韩城市| 北安市| 南康市| 绵阳市| 康乐县| 丰宁| 峨眉山市| 林口县| 蓬溪县| 沾益县| 陵水| 中阳县| 达拉特旗| 都昌县| 上饶市| 吉水县| 高淳县| 海盐县| 太湖县|