1 / 539
文档名称:

Delphi Graphics and Game Programming Exposed with DirectX 7.0(1).pdf

格式:pdf   页数:539
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Delphi Graphics and Game Programming Exposed with DirectX 7.0(1).pdf

上传人:bolee65 2014/3/9 文件大小:0 KB

下载得到文件列表

Delphi Graphics and Game Programming Exposed with DirectX 7.0(1).pdf

文档介绍

文档介绍:Delphi Graphics and Game Programming Exposed with DirectX
by John Ayres
Wordware Publishing, Inc.
1556226373 12/01/99
ISBN: Pub Date:
Search Tips Search this book:
Advanced Search
Introduction
Foreword
About the Author
CHAPTER 1—The Lure of Game Programming

The Dark Side of the Game Programming Industry
Difficult Learning Curve
Long Hours
Corporate Instability
The Light Side of the Game Programming Industry
Fun and Rewarding
Fame and Fortune
The People
Game Programming, In Delphi?
Delphi as a Games Development Platform
Opportunities
Untapped Markets
Types of Games
Real-Time Strategy
Turn-Based Strategy
First-Person Shooters
Adventure Games
Action Games
Puzzle Games
Sports Games
Board and Card Games
Simulations
Windows, Delphi, and Games
Summary
CHAPTER 2—The Anatomy of a Game
Game Dissection: The ans
Graphics
Sound
User Input
Real-Time Event-Driven Programming
Basic Game Architecture
Initialization
Introduction
Game Startup
The Game Loop
Game Ending
Shutdown and Exit
The Game Loop
Retrieve User Input
Perform Antagonist AI and Other Game Logic
Update Sprite Positions
Check for Collisions
Start Sound Effects
Start Music
Render the Next Frame
Check for Game End
Speed Delay
Game States
The Demo State
The Playing State
The Intermission State
The Paused State
The Game Over State
Case Study
Summary
CHAPTER 3—Basic Graphics Programming
The Graphical Device Interface
Graphical Elements
Pixels
Lines
Polygons
Bitmaps
Graphical Element Classifications
Video Mode Resolutions and Color Depth
Resolution
Color Depth
Video Board Memory
ponents of a Color
Palettized Modes
Non-palettized Modes
Graphics Output Techniques
The Device Context
Painting on the Canvas
Bitmap Essentials
Bitmap Types: DDB and DIB
The TBitmap Object
Raster Operations
Simulating Transparency
Palettes
Logical vs. System Palettes
Usi