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
Learn C++ for Game Development
" If you're new to C++ but understand some basic programming, then Learn C++ for Game …
book
Programming: Principles and Practice Using C++, 2nd Edition
An Introduction to Programming by the Inventor of C++ Preparation for Programming in the Real World …
book
Game Engine Architecture, Third Edition, 3rd Edition
In this new and improved third edition of the highly popular Game Engine Architecture, Jason Gregory …
book
3D Math Primer for Graphics and Game Development, 2nd Edition
This engaging book presents the essential mathematics needed to describe, simulate, and render a 3D world. …