Programming 2D Games
 
作者: Charles Kelly 
分類: 2D graphics: games programming  
書城編號: 517832


售價: $1100.00

購買後立即進貨, 約需 18-25 天

 
 
出版社: Taylor & Francis
出版日期: 2012/06
尺寸: 243x198x27mm
重量: 945 grams
ISBN: 9781466508682
 
>> 相關電子書

商品簡介


A First Course in Game Programming

Most of today’s commercial games are written in C++ and are created using a game engine. Addressing both of these key elements, Programming 2D Games provides a complete, up-to-date introduction to game programming. All of the code in the book was carefully crafted using C++. As game programming techniques are introduced, students learn how to incorporate them into their own game engine and discover how to use the game engine to create a complete game.

Enables Students to Create 2D Games

The text covers sprites, animation, collision detection, sound, text display, game dashboards, special graphic effects, tiled games, and network programming. It systematically explains how to program DirectX applications and emphasizes proper software engineering techniques. Every topic is explained theoretically and with working code examples. The example programs for each chapter are available at www.programming2dgames.com.

Contents

Getting Started

Overview

The Development Environment

What Is DirectX?

Why C++?

Naming Conventions

Game Engine

Tips and Tools

Windows Programming Fundamentals

Windows Programming Fundamentals

"Hello World" Windows Style

Device Context

Keyboard Input with Windows API

Using a Mutex to Prevent Multiple Instances

Multitasking in Windows

Introduction to DirectX

Introduction to DirectX

Initializing DirectX

Creating a Device

Clearing a Display Buffer

Page Flipping

A Clean Exit

The Graphics Class

Our First DirectX Program

Fullscreen or Windowed

Debug vs. Retail DLLs

Determining Device Capabilities

The Game Engine

The Game Engine, Part 1

The Game Class

The Input Class

The Spacewar Class

Sprites and Animation

Obtaining Game Graphics

The Graphics Pipeline

Drawing with Transpare

The TextureManager Class

The Image Class

Game Engine

Simple Animation

Collisions and Entities

Vectors

Collisions

The Entity Class

Physics for 2D Games

Sound

Obtaining Audio Files

Creating Audio Files

Using XACT

Adding Audio to the Game Engine

Adding Sound to the Game

Adjusting Audio Playback

Text

Sprite Text

Creating Custom Fonts

Text Class Details

DirectX Text

TextDX Class Details

Adding an FPS Display

Adding a Console

Console Class

Incorporating the Console into the Game Engine

Enhanced Appearance

Bitmap Scrolling

Painter's Algorithm

Parallax Scrolling

Shadows and Reflections

Message Dialog

Input Dialog

Windows Dialogs in Fullscreen DirectX Applications

Dashboard

Tiled Games

Why Tiled?

Creating a Tile Set

Creating Levels

Displa...

Charles Kelly 作者作品表

eBook: Five Circles: Church Growth Through Music (DRM EPUB)

eBook: Cowboy Way To Text Girls (DRM EPUB)

eBook: Pay Here (DRM PDF)

eBook: Pay Here (DRM EPUB)

eBook: Next Stop, Eternity (DRM EPUB)

eBook: Programming 2D Games (DRM PDF)

Programming 2D Games

eBook: Interesting Physics (DRM EPUB)

eBook: Mathematics of Sudoku and Magic Squares (DRM EPUB)

* 以上資料僅供參考之用, 香港書城並不保證以上資料的準確性及完整性。
* 如送貨地址在香港以外, 當書籍/產品入口時, 顧客須自行繳付入口關稅和其他入口銷售稅項。

 

 

 

  我的賬戶 |  購物車 |  出版社 |  團購優惠
加入供應商 |  廣告刊登 |  公司簡介 |  條款及細則

香港書城 版權所有 私隱政策聲明

顯示模式: 電腦版 (改為: 手機版)