XNA 4 3D Game Development by Example: Beginner's Guide

Kurt Jaegers

  • 出版商: Packt Publishing
  • 出版日期: 2012-09-25
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 322
  • 裝訂: Paperback
  • ISBN: 1849687080
  • ISBN-13: 9781849687089
  • 下單後立即進貨 (約3~4週)

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

商品描述

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橫向捲軸動作遊戲。
- 學習使用高級著色器語言(HLSL)為3D場景添加照明和多紋理效果。

詳細內容
- 超越基於平面2D的遊戲開發世界,探索如何使用Microsoft XNA 4.0創建令人興奮的3D遊戲。創建一個3D迷宮,向敵方坦克發射砲彈,並在被外星碟形飛船襲擊時在火星表面駕駛一輛探測車。
- 《XNA 4 3D遊戲開發實例:初學者指南》將帶領您逐步創建三個不同的3D視頻遊戲,使用Microsoft XNA 4.0進行學習。通過實踐探索3D圖形和遊戲設計的世界。

本書以逐步教學的方式構建使用Microsoft XNA的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概念有基本了解會有幫助,但不是必需的。