"Beginning Game Programming, Third Edition" shows budding game developers how to take their game ideas from concept to reality. Requiring only a basic understanding of the C++ language, this unique guide covers all the skills needed to create 2D and 3D games using code written in DirectX. Each element of a game is taught step-by-step, from learning how to create a simple Windows program, to using the key DirectX components to render 2D and 3D, to adding sound to your game. Using the skills taught within each chapter, readers will develop their own game library, which they can build upon for future game projects. And this updated, new edition includes end-of-chapter quizzes and projects to help you practice your new skills! At the end of the book, newfound skills will be put to use as you create your own complete, fully functional game.
Part 1: Introduction to Game Programming with Windows and DirectX
Chapter 1: Getting Started With Windows
Chapter 2: Listening To Windows Messages
Chapter 3: Initializing Direct3D
Part 2: The Game Programming Toolbox
Chapter 4: Drawing Bitmaps
Chapter 5: Getting Input with the Keyboard, Mouse, and Controller
Chapter 6: Drawing and Animating Sprites
Chapter 7: Transforming Sprites
Chapter 8: Detecting Sprite Collisions
Chapter 9: Printing Text
Chapter 10: Scrolling The Background
Chapter 11: Playing Audio
Chapter 12: Learning The Basics of 3D Rendering
Chapter 13: Rendering 3D Model Files
Part 3: Game Projects
Chapter 14: Anti-Virus The Game
Part 4: Appendices
Appendix A: Configuring Visual C++
Appendix B: Resources For Further Study
Appendix C: Chapter Quiz Answers
Appendix D: Additional Examples
Source code for the projects in this book may be downloaded from these book resource locations:
- jharbour.com/forum (must create a free account first)