Synopses & Reviews
Develop the essential skills you need to take your game ideas from concept to reality! Whether you want to create simple games for your own enjoyment or you are ready to create prototypes that will help you get your foot in the door professionally, Beginning Game Programming, Second Edition contains the techniques to help you reach your goals. If you have a basic understanding of C, this unique guide covers everything you need in order to create your own 2D and 3D games in C and DirectX 9. You'll learn how to develop each element of your game-- from creating your own 3D models and loading them with DirectX 9 code to enhancing the artwork and creating sound for your game. Using the skills you learn within each chapter, you'll develop your own game library-- a tool which reaches far beyond the pages of this book and can be used for future game projects. Put each of your newfound skills to use as you create your own complete, fully functional 3D game, using collision detection, with real 3D models. If you're ready to turn your ideas into actual games, then your journey begins here!
"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.
Table of Contents
PART I: 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 II: 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 Basic of 3D Rendering; Chapter 13: Rendering 3D Model Files; PART III: Game Project; Chapter 14: The Anti-Virus Game; PART IV: Appendices Appendix A: Configuring Visual C++; Appendix B: Resources for Further Study; Appendix C: Chapter Quiz Answers; Appendix D: Additional Examples