Game Development with SlimDX
Michael Fontanini
- 出版商: Packt Publishing
- 出版日期: 2013-12-27
- 售價: $1,500
- 貴賓價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 150
- 裝訂: Paperback
- ISBN: 1782167382
- ISBN-13: 9781782167389
海外代購書籍(需單獨結帳)
相關主題
商品描述
A fast-paced and practical guide on game development using SlimDX
Overview
- Harness the power of DirectInput and XInput to detect and respond to user input from keyboard, mouse, and joysticks/gamepads while adding the allimportant interactivity to your games
- Make the most of Direct2D, DirectSound, XAudio2, and Direct3D to make your game worlds come to life on the screen
- A practical guide packed with example code and quick instructions on game development with SlimDX
In Detail
Video games have been around for quite some time, but SlimDX has become a big thing in game development in recent years. It is a free open source framework that lets you bring your own virtual world to life using the power of DirectX.
This tutorial gives you a good head start into the world of game development with SlimDX. You will learn everything you need to know to start making your own 2D and 3D games.
This book takes you through some of the most important areas of game design, such as handling user input, 2D graphics, and adding sound and music to your games. You will learn the advanced topic of 3D graphics, which will get you started on making your own games. It will guide you fully in working with 2D game worlds and animated 2D characters by developing a 2D tilebased game world with a goofy, animated robot character for the player to control, and other demos.
By learning the basics of creating 3D graphics, you will be comfortable building 3D worlds in your own game.
What you will learn from this book
- Handle user input from the mouse, keyboard, and gamepad using both DirectInput and XInput
- Draw 2D graphics using Direct2D
- Create a 2D tilebased game world with animated characters
- Add sound effects and music to your game using both DirectSound and XAudio2
- Set up a Direct3D application
- Render basic 3D graphics
- Texture your basic 3D objects
Approach
An easytofollow guide on SlimDX game development with practical exercises in each chapter. Stepbystep instructions and example code put each topic into action in a working demo.
Who this book is written for
If you are a game designer or game developer with a passion for video games and a desire to create your own from scratch, this is the book for you. You will need basic programming experience in C#(C Sharp) to get the most out of this book.
商品描述(中文翻譯)
一本快速且實用的 SlimDX 遊戲開發指南
概述
- 利用 DirectInput 和 XInput 的強大功能,檢測並回應來自鍵盤、滑鼠和搖桿/遊戲手把的使用者輸入,為您的遊戲增添至關重要的互動性
- 充分利用 Direct2D、DirectSound、XAudio2 和 Direct3D,讓您的遊戲世界在螢幕上栩栩如生
- 一本充滿範例程式碼和快速指導的實用指南,專注於 SlimDX 的遊戲開發
詳細內容
視頻遊戲已經存在相當長的時間,但 SlimDX 在近年來已成為遊戲開發中的一個重要工具。這是一個免費的開源框架,讓您能夠利用 DirectX 的力量,將自己的虛擬世界帶入生活。
本教程將為您提供進入 SlimDX 遊戲開發世界的良好起點。您將學習到開始製作自己的 2D 和 3D 遊戲所需的所有知識。
本書將帶您了解遊戲設計中一些最重要的領域,例如處理使用者輸入、2D 圖形以及為您的遊戲添加聲音和音樂。您將學習到 3D 圖形的進階主題,這將幫助您開始製作自己的遊戲。它將全面指導您如何處理 2D 遊戲世界和動畫 2D 角色,通過開發一個以搞笑動畫機器人角色為主的 2D 瓦片遊戲世界,讓玩家進行控制,並提供其他示範。
通過學習創建 3D 圖形的基礎知識,您將能夠在自己的遊戲中輕鬆構建 3D 世界。
您將從本書中學到的內容
- 使用 DirectInput 和 XInput 處理來自滑鼠、鍵盤和遊戲手把的使用者輸入
- 使用 Direct2D 繪製 2D 圖形
- 創建一個帶有動畫角色的 2D 瓦片遊戲世界
- 使用 DirectSound 和 XAudio2 為您的遊戲添加音效和音樂
- 設置一個 Direct3D 應用程式
- 渲染基本的 3D 圖形
- 為您的基本 3D 物件添加材質
方法
一本易於跟隨的 SlimDX 遊戲開發指南,每章都有實用的練習。逐步的指導和範例程式碼將每個主題付諸實踐,並在工作示範中展示。
本書的讀者對象
如果您是一位遊戲設計師或遊戲開發者,對視頻遊戲充滿熱情並希望從零開始創建自己的遊戲,那麼這本書就是為您而寫的。您需要具備基本的 C# (C Sharp) 程式設計經驗,以便充分利用本書的內容。