Learn Computer Game Programming with DirectX 7.0
Product Description: Another addition to the Wordware Game Developer’s Library, Learn Computer Game Programming with DirectX 7.0 provides beginning programmers with the foundations of computer game programming using Microsoft’s DirectX 7.0 software. Computer science professor Ian Parberry details the construction of a game demo in 14 easy stages using DirectDraw, DirectSound, the Windows API, and the Windows registry, including a detailed explanation of the program’s C++ code. With this book, learn how to: Create a primary surface in DirectDraw and display a background image. Implement page flipping to produce smooth transitions between frames. Rgulate animation speed using the timer class. Enhance your sprite animation using clipping and transparent blitting. Simulate AI using timers and pseudorandom number generators. Wrap a game shell around your game engine. Set up DirectSound for playing and mixing sounds. Manage user input from the mouse, buttons, or joystick.