XNA 4 3D Game Development by Example: Beginner's Guide
暫譯: XNA 4 3D 遊戲開發實例:初學者指南

Kurt Jaegers

  • 出版商: Packt Publishing
  • 出版日期: 2012-09-25
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 322
  • 裝訂: Paperback
  • ISBN: 1849687080
  • ISBN-13: 9781849687089
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Create action-packed 3D games with the Microsoft XNA Framework

Overview

  • Learn the structure of a 3D world and how to implement a variety of 3D techniques including terrain generation and 3D model rendering.
  • Build three different types of 3D games step-by-step, including a first-person maze game, a battlefield tank game, and a 3D sidescrolling action game on the surface of Mars.
  • Learn to utilize High Level Shader Language (HLSL) to add lighting and multi-texturing effects to your 3D scenes.

In Detail

Move beyond the world of flat 2D-based game development and discover how to create your own exciting 3D games with Microsoft XNA 4.0. Create a 3D maze, fire shells at enemy tanks, and drive a rover on the surface of Mars while being attacked by alien saucers.

"XNA 4 3D Game Development by Example: Beginner's Guide" takes you step-by-step through the creation of three different 3D video games with Microsoft XNA 4.0. Learn by doing as you explore the worlds of 3D graphics and game design.

This book takes a step-by-step approach to building 3D games with Microsoft XNA, describing each section of code in depth and explaining the topics and concepts covered in detail.

From the basics of a 3D camera system to an introduction to writing DirectX shader code, the games in this book cover a wide variety of both 3D graphics and game design topics. Generate random mazes, load and animate 3D models, create particle-based explosions, and combine 2D and 3D techniques to build a user interface.

"XNA 4 3D Game Development by Example: Beginner's Guide" will give you the knowledge to bring your own 3D game creations to life.

What you will learn from this book

  • The core concepts of 3D graphics and how XNA describes the 3D world
  • Build a 3D maze that the player can explore in search of the mysterious spinning cube
  • Create 3D terrain based on a 2D height map image, adding texturing and lighting to the terrain's surface
  • Load, display and animate 3D models
  • Build a button-based user interface overlay for your 3D game
  • Create a billboard particle system to produce dynamic explosions
  • Build a skybox to give your worlds full 3D backgrounds
  • Detect collisions between 3D objects and have your game react accordingly

Approach

This book is a step-by-step tutorial that includes complete source code for all of the games covered. It adopts an engaging style to teach all the game development concepts. Each block of code is explained, and game development concepts are diagrammed and covered in detail. Each game begins with a concept description and concludes with suggestions for expanding on the finished game.

Who this book is written for

This book is intended for readers who want to create 3D games using the XNA Framework. Basic knowledge of the C# programming language and 2D XNA concepts are helpful, but not required.

商品描述(中文翻譯)

使用 Microsoft XNA Framework 創建動作滿滿的 3D 遊戲

概述

  • 了解 3D 世界的結構以及如何實現各種 3D 技術,包括地形生成和 3D 模型渲染。
  • 逐步構建三種不同類型的 3D 遊戲,包括第一人稱迷宮遊戲、戰場坦克遊戲,以及在火星表面上的 3D 橫向捲軸動作遊戲。
  • 學習如何利用高階著色器語言 (High Level Shader Language, HLSL) 為您的 3D 場景添加光照和多重紋理效果。

詳細內容

超越平面 2D 遊戲開發的世界,發現如何使用 Microsoft XNA 4.0 創建您自己的刺激 3D 遊戲。創建一個 3D 迷宮,向敵方坦克發射炮彈,並在火星表面駕駛探測車,同時受到外星飛碟的攻擊。

《XNA 4 3D 遊戲開發實例:初學者指南》將逐步帶您創建三款不同的 3D 電子遊戲,使用 Microsoft XNA 4.0。通過實踐學習,探索 3D 圖形和遊戲設計的世界。

本書採取逐步的方法來構建 3D 遊戲,詳細描述每一段代碼,並深入解釋所涵蓋的主題和概念。

從 3D 相機系統的基本原理到撰寫 DirectX 著色器代碼的介紹,本書中的遊戲涵蓋了各種 3D 圖形和遊戲設計主題。生成隨機迷宮,載入和動畫 3D 模型,創建基於粒子的爆炸效果,並結合 2D 和 3D 技術來構建用戶界面。

《XNA 4 3D 遊戲開發實例:初學者指南》將為您提供知識,讓您的 3D 遊戲創作變為現實。

您將從本書中學到什麼

  • 3D 圖形的核心概念以及 XNA 如何描述 3D 世界
  • 構建一個 3D 迷宮,讓玩家探索以尋找神秘的旋轉立方體
  • 根據 2D 高度圖像創建 3D 地形,為地形表面添加紋理和光照
  • 載入、顯示和動畫 3D 模型
  • 為您的 3D 遊戲構建基於按鈕的用戶界面覆蓋
  • 創建一個廣告牌粒子系統以產生動態爆炸效果
  • 構建一個天空盒,為您的世界提供完整的 3D 背景
  • 檢測 3D 物體之間的碰撞,並讓您的遊戲做出相應反應

方法

本書是一個逐步的教程,包含所有涵蓋遊戲的完整源代碼。它採用引人入勝的風格來教授所有遊戲開發概念。每一段代碼都會進行解釋,並詳細說明遊戲開發概念的圖示。每個遊戲都以概念描述開始,並以擴展完成遊戲的建議結束。

本書的讀者對象

本書適合希望使用 XNA Framework 創建 3D 遊戲的讀者。對 C# 程式語言和 2D XNA 概念的基本知識是有幫助的,但不是必需的。