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
Expert C++
Design and architect real-world scalable C++ applications by exploring advanced techniques in low-level programming, object-oriented programming …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Design Patterns: Elements of Reusable Object-Oriented Software
Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …