Book description
You can program games in many languages, but C++ remains the key language used by many leading development studios. Since it's the language used in their enormous code bases, it's the language they need to maintain and improve their games, and look for most often when hiring new developers. Game Programming in C++ is today's practical, hands-on approach to programming 3D video games in C++. Drawing on the author's pioneering experience teaching game development at USC, it guides you through all key concepts hands-on, and helps you deepen your expertise through several start-to-finish, in-depth game projects.
Author Sanjay Madhav introduces core concepts one at a time, in an easy-to-digest fashion, paying special attention to the math that professional game developers need to know. Step by step, you'll become increasingly comfortable with real-world C++ game development, and learn how to use C++ in all facets of game programming, including graphics, physics, AI, audio, camera systems, animations, and more.
Table of contents
- Cover Page
- About This E-Book
- Title Page
- Copyright Page
- Dedication Page
- Contents at a Glance
- Contents
- Preface
- Acknowledgments
- About the Author
- Chapter 1: Game Programming Overview
- Chapter 2: Game Objects and 2D Graphics
-
Chapter 3: Vectors and Basic Physics
-
Vectors
- Getting a Vector between Two Points: Subtraction
- Scaling a Vector: Scalar Multiplication
- Combining Two Vectors: Addition
- Determining a Distance: Length
- Determining Directions: Unit Vectors and Normalization
- Converting from an Angle to a Forward Vector
- Converting a Forward Vector to an Angle: Arctangent
- Determining the Angle between Two Vectors: Dot Product
- Calculating a Normal: Cross Product
- Basic Movement
- Newtonian Physics
- Basic Collision Detection
- Game Project
- Summary
- Additional Reading
- Exercises
-
Vectors
- Chapter 4: Artificial Intelligence
- Chapter 5: OpenGL
- Chapter 6: 3D Graphics
- Chapter 7: Audio
- Chapter 8: Input Systems
- Chapter 9: Cameras
- Chapter 10: Collision Detection
- Chapter 11: User Interfaces
- Chapter 12: Skeletal Animation
- Chapter 13: Intermediate Graphics
- Chapter 14: Level Files and Binary Data
- Appendix A: Intermediate C++ Review
- Index
Product information
- Title: Game Programming in C++: Creating 3D Games, First Edition
- Author(s):
- Release date: March 2018
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134598185
You might also like
book
SDL Game Development
If you’re good with C++ and object oriented programming, this book utilizes your skills to create …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
AI for Games, Third Edition, 3rd Edition
AI is an integral part of every video game. This book helps professionals keep up with …