Book: Programming Windows Games With Borland C++/Book and Disk
Publisher: Sams Publishing
Computer games are by far the most popular type of software. The market forgame software is huge—practically anyone with a PC can use games. If youare like me, you probably play your share of computer games and have yourown favorite categories. And because you are a programmer, you might havethought of many ideas that could be the basis of a game—if only you knewhow to get started on the project. As you will see after reading this book, writinga computer game is not as difficult as you might have imagined. In fact,once you see how a game is written, you have a number of well-defined stepsthat you can follow to create your own game. After you have had some funwriting your own game, it may even become a source of income for you.The basic premise of Programming Windows Games with Borland C++ is thatwhether entertaining or educational, all computer games have certain commonelements: graphics, sound, and a mouse- or keyboard-based user interface.Thus, any programmer (with some imagination) who masters the basic techniquesof manipulating images, generating sound, and controlling the mouseor keyboard can write a computer game. The best way to learn how to programgames is to see working examples that illustrate how an imaginative ideacan come alive in a computer game with graphics and sound.Programming Windows Games with Borland C++ teaches intermediate to advancedlevel C++ programmers how to use object-oriented programming techniquesto write computer games. Borland C++ offers exceptional support forMicrosoft Windows programming, includes the ObjectWindows Library(OWL)—a comprehensive C function library—and provides a full set of programmingtools such as MAKE, TLINK, TLIB, and the Turbo Debugger. Thegames presented in this book are meant to run under Microsoft Windows 3.1because Windows offers a rich graphical user interface for the games and, moreimportantly, because there is a shortage of games that run under Windows.